Gigabit Ethernet environment, packet capture technology research
- Author
- HanRuBing
- Advisor
- LiHanJu
- School
- Huazhong University of Science and Technology
- Major
- Information Security
- Classification
- TP393.08 Computer Network Security
- Degree
- Master's thesis
- Year
- 2009
- Downloads
- 84
- Citations
- 5
Abstract
With the continuous growth of Internet bandwidth , network security technology is facing increasingly heavy data monitoring tasks . The passive packet capture technology in the field of network security is the basis for all monitoring applications , such as network testing software , a variety of intrusion detection systems, firewalls, and network debugging and other applications , are required packet capture technology . Due to the current popular operating system defects (Linux , etc. ) , in a Gigabit Ethernet environment packet capture applications tend to perform poorly , packet loss rate is quite serious . A method of receiving and processing data packets NIC way by the interrupt mode to device polling mode methods have been proposed to solve the Gigabit Ethernet packet capture environment issues . Based on this idea , NAPI ( based on polling mechanism of network data processing mechanisms ) techniques have been proposed to achieve this improvement: the technology through a hardware interrupt to start polling mechanism , makes the CPU processing interrupt respect greatly reduced the burden . On this basis , Luca Deri et al proposed a new method : PF_RING technology, which combines the device polling mechanism , NAPI technology and zero-copy technology . By PF_RING technology, even a conventional PC, but also in Gigabit Ethernet environments to capture all the data without packet loss . PF_RING to versatility as the goal, through the package makes use of Socket ( Socket ) function and the libpcap ( packet capture library dedicated ) function application can directly use the technology . But the technology exists PF_RING large memory and data copying and other issues. Because PF_RING applicability requirements, so that the program did not really achieve zero-copy . To solve this problem, a modification in PF_RING made ??on the basis of the program : including cancellation ring buffer memory mapped directly via DMA (direct memory access ) caching . Modified PF_RING although not as good as the hardware versatility original PF_RING, but the true zero copy . Experiments show that the modified PF_RING, under the high-speed network packet capture application , the performance is further improved, with better efficiency of resource use . Modification program is also proposed for the future in this area better high-speed network packet capture program to make preparations.
Table of contents
Abstract 4-5
Abstract 5-6
directory 6-8
1 Introduction 8-13
1.1 Introduction 8
1.2 research status 8-11
1.3 the main contents 11-12
1.4 thesis organization 12 -13
2 Linux network architecture overview 13-25
2.1 Linux kernel Module Programming Introduction 13-16
2.2 Linux kernel network structure 16 - 19
2.3 NIC driver works analyzed 19-24
2.4 Summary 24-25
3 PF_RING packet capture technical analysis 25-36
3.1 packet capture basic process analysis 25-26
3.2 NAPI technology and zero-copy technology research 26-29
3.3 PF_RING technology 29 -34
3.4 PF_RING analyze their problems 34-35
3.5 Summary 35-36
4 improved PF_ING design and Implementation 36 -46
4.1 PF_RING problems 36-38
4.2 proposed improvement program 38-40
4.3 NIC driver to modify the realization 40 - 42
4.4 PF_RING partially modified to achieve 42-44
4.5 modified PF_RING 44-45
4.6 chapter Summary 45-46 <br / > 5 experimental results and analysis 46-51
5.1 system test environment 46
5.2 experimental Methods 46-47
5.3 experimental data and results 47-50
5.4 Summary 50-51
6 Summary and Outlook 51-53
6.1 Summary 51 <br / > 6.2 Prospects 51-53
Thanks 53-54
References 54-56
Related dissertations
- Research and Implementation of a High-performance Packet Capture System
- Research on Universal Packet Capture Technology Based on Multi-Core CPU
- The Research and Implementation of Bt-Packet Capture and Inspection System in the High-Speed Network
- Research and Implementation of a Zero-Copy-Based Packet Capture Mechanism under High_speed Network Environment
- The Design and Implementation of Gigabit Network Packet Capture Platform
- Research and Implementation of Network Packet Capture System in 10 Gigabit Network
- The Research and Implementation of Packet Capture Platform Based on Real-time Linux
- VoIP Voice Auditing Based on Speaker Recognition in Gigabit High-speed Network Environment
- Based on embedded network packet capture key technology research and
- High-speed Network Data Capture and Parallel Processing on Multi-Core Platform
- PCI-E interface -based data acquisition system software design and implementation
- Design of distributed control system based on embedded platform
- Design and Implementation of an Efficient Method for FCoE Target Software
- Design and Implementation of Server End in Network Performance Tester Based on PowerPC Platform
- The Research of USB2.0to Gigabit Ethernet Interface
- Optimized Multiprocessor Implementation of LTE-Advanced User-Plane Protocol
- Research on Key Technologies for Channel Sounder Based on Universal PC
- Research on Technology of Video Real-Time Encryption and Transmission
- Design and Implementation of Audio and Video Synchronously Transmitted Full-color LED Large Screen Sending Card
- Design of Battery Formation Test System Based on Internet of Things