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

Request the full text

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

  1. Research and Implementation of a High-performance Packet Capture System
    LiuBaoChen ·Shanghai Jiaotong University ·2013 ·Master's thesis
  2. Research on Universal Packet Capture Technology Based on Multi-Core CPU
  3. The Research and Implementation of Bt-Packet Capture and Inspection System in the High-Speed Network
  4. Research and Implementation of a Zero-Copy-Based Packet Capture Mechanism under High_speed Network Environment
  5. The Design and Implementation of Gigabit Network Packet Capture Platform
  6. Research and Implementation of Network Packet Capture System in 10 Gigabit Network
  7. The Research and Implementation of Packet Capture Platform Based on Real-time Linux
    DuanChenSheng ·Hefei University of Technology ·2009 ·Master's thesis
  8. VoIP Voice Auditing Based on Speaker Recognition in Gigabit High-speed Network Environment
    NieLiMin ·Harbin Institute of Technology ·2010 ·Master's thesis
  9. Based on embedded network packet capture key technology research and
  10. High-speed Network Data Capture and Parallel Processing on Multi-Core Platform
    GaoXiaoDong ·Harbin Institute of Technology ·2010 ·Master's thesis
  11. PCI-E interface -based data acquisition system software design and implementation
  12. Design of distributed control system based on embedded platform
    JieZhouKai ·Xi'an Optics and Fine Mechanics ·2010 ·Master's thesis
  13. Design and Implementation of an Efficient Method for FCoE Target Software
  14. Design and Implementation of Server End in Network Performance Tester Based on PowerPC Platform
    CaiYu ·Wuhan University of Technology ·2013 ·Master's thesis
  15. The Research of USB2.0to Gigabit Ethernet Interface
    WangZuo ·Xi'an Optics and Fine Mechanics ·2013 ·Master's thesis
  16. Optimized Multiprocessor Implementation of LTE-Advanced User-Plane Protocol
  17. Research on Key Technologies for Channel Sounder Based on Universal PC
    SunXuXu ·Beijing Jiaotong University ·2014 ·Master's thesis
  18. Research on Technology of Video Real-Time Encryption and Transmission
  19. Design and Implementation of Audio and Video Synchronously Transmitted Full-color LED Large Screen Sending Card
  20. Design of Battery Formation Test System Based on Internet of Things
    WuLePing ·Wuhan University of Technology ·2013 ·Master's thesis