Netinfo Security ›› 2019, Vol. 19 ›› Issue (11): 82-90.doi: 10.3969/j.issn.1671-1122.2019.11.011

Previous Articles     Next Articles

A High-speed Network Flow Reassembly Optimized Scheme for Network Security Analysis

Liangguo CHEN1,2, Shuhua RUAN1,2(), Xingshu CHEN1,2, Yonggang LUO2   

  1. 1. College of Cybersecurity, Sichuan University, Chengdu Sichuan 610065, China
    2. Cybersecurity Research Institute, Sichuan University, Chengdu Sichuan 610065, China
  • Received:2019-08-10 Online:2019-11-10 Published:2020-05-11

Abstract:

In high-speed network environment, network traffic collection and reassembly is an important prerequisite for network security analysis. To meet the need of the accuracy and real-time requirement of network security analysis, a high-speed network flow reassembly optimization scheme is proposed in this paper. Firstly, a parallel mechanism of multi-flow tables is designed in the Hash-based flow table scheme, the load balancing problem of high-speed network flows distributed among multiple flow tables is solved by introducing feedback information into the distribution strategy of high-speed network flows. Secondly, in order to further reduce the overhead of flow aging detection, an active queue is designed in the flow table scheme. Records are arranged in the order of least recent usage, which could avoid full flow table traversal operation and reduce the time complexity of flow aging detection. Finally, a high-speed network flow reassembly system based on flow table optimization scheme is implemented by DPDK, and the accuracy and real-time performance of the flow table optimization scheme are verified. The experimental results show that when the network bandwidth is 10 Gbps, the packet loss rate is 0.002%, which can effectively meet the data requirements of network security analysis in high-speed network environment.

Key words: security analysis, flow reassembly, multi-flow table, active queue, load balancing

CLC Number: