计算机与数字工程2019,Vol.47Issue(3):598-604,7.DOI:10.3969/j.issn.1672-9722.2019.03.023
基于PF RING的高速网络数据捕获方法
Data Capture Method of High Speed Network Based on PF RING
摘要
Abstract
Packet capture technology is the basis of network data processing and analysis. With the increase of network trans?mission rate and the number of network applications,higher requirements for the performance of the technology are put forward. This paper first analyzes the main bottlenecks of the traditional Linux data capture mechanism,and then analyses and compares the advantages and disadvantages of the current high performance capture technology. In order to give full play to the multi core advan?tages of server CPU,this paper designs and implements a high-speed parallel network data packet processing framework with high concurrent and unlocked queues and PF RING,and describes the design and implementation details of the framework in an all-round way. It is proved by preliminary experiment that the packet loss rate is low in the case of different transmission rate and dif?ferent packet length,which can satisfy the server's demand for data processing in high speed network environment.关键词
网络数据包捕获/PF RING/无锁队列Key words
network packet capture/PF RING/lock-free queue分类
信息技术与安全科学引用本文复制引用
吴克河,王冬冬..基于PF RING的高速网络数据捕获方法[J].计算机与数字工程,2019,47(3):598-604,7.基金项目
国家电网总部科技项目"适应源网荷互动的工控系统多层协同防御技术研究及应用"(编号:52100218000U)资助. (编号:52100218000U)