The Research on the TCP Message Reverting and Application in the Broadband Network

Author
DengYueHua
Advisor
LiuJiaYong
School
Sichuan University
Major
Signal and Information Processing
Classification
TP309 Security and confidentiality
Degree
Master's thesis
Year
2006
Downloads
233
Citations
2

Request the full text

Abstract

Modern network communications to broadband development, leading to a sharp rise in the amount of data in the network, this growth has brought more valuable information, but also put forward higher requirements for real-time network security protection. At present, the vast majority of network security products at home and abroad to face slow user network can only complete the following data processing of hundreds of megabytes, can not cope with the increasingly high network speed. In the TCP packet reduction and analysis techniques based on the study, we design and realize a TCP packet based broadband networks in real-time reduction and analysis system, the completion of the IP packet from the data access real-time analysis of real-time reduction, TCP packet, TCP mainstream application layer protocol analysis and data screening. Due to the high rate of broadband data, system capacity demanding, This article focuses on the following three aspects were studied, optimized design, enabling the system to complete the real-time reduction of more than 300 trillion Ethernet data analysis and processing. 1) high-speed packet computer capture interface optimized design. Under Linux to achieve a zero-COPY-sniff to 600Mbps packet capture speed; under Windows to use WinPcap packet capture speed up to 300Mbps; performance testing, quantitative analysis of the two capture modes for different lengths packet capture rate, CPU occupancy rate; 2) the use of appropriate algorithms manage complex connections, and quickly find. I practice three different hash algorithm, confirmed by experiment than CRC32 algorithm is the most suitable for connecting maintenance and search, and using this algorithm, the reduction rate of more than 300Mbps TCP packet. 3) memory management. In this paper, the optimal design of the memory buffer to ensure high-speed data caching and queuing theory theory, demonstrated that the memory allocation and IP packet types of relationships, theoretically proved that the the TCP data processing speeds increase queue length can quickly reduce TCP data processing speed is the main factor affecting the queue length; TCP quoted text reduction mainstream protocol of the application layer analysis: SMTP the protocol parsing spam filter way; parse the protocol for FTP, control terminal, the data side of the The pairing, username, password, download the file name, and download content access to information; HTTP protocol analysis. Finally, from system architecture to optimize CPU instruction set CPU hyper-threading applications discussed further tap the potential of the program processing speed, maximize the use of the computer, in order to reduce costs.

Table of contents

Abstract 2-3 Abstract 3-7 1 Introduction 7-10 1.1 research status and development trend 7 -8 1.2 this research 8-10 2 -based broadband network to restore the TCP packet analysis system 10-23 2.1 related technical principles 10-15 2.1.1 broadband characteristics of the data 10-11 2.1.2 broadband IP communications business development 11-12 2.1. 3 TCP communication mechanism 12-15 2.2 -based broadband network TCP packet reduction and analysis system architecture design 15-16 2.3 process Design 16-18 2.3.1 IP packet capture modules 17 2.3.2 IP packet analysis module 17-18 2.3.3 packet reassembly module 18 2.4 for real-time related design 18-23 2.4.1 memory Management 18-22 2.4.2 timeout handling 22 <br / > 2.4.3 -based network card driver package intercepted 22 2.4.4 HASH algorithm optimization 22-23 3 NIC driver -based packet capture mechanism 23-41 3.1 SNIFF principle 23-25 ?? 3.2 affect the efficiency of packet capture key factor 25 3.3 LINUX based network card driver under ZERO-COPY- SNIFF 25-28 3.3.1 ZERO-COPY-SNIFF goal 25-27 3.3.2 LINUX under ZERO-COPY-SNIFF structure 27 -28 3.4 WINDOWS application under WINPCAP 28-38 3.4.1 WINPCAP capture system model 29-30 3.4.2 LAN access control 30 3.4.3 NIC mode 30-31 3.4.4 WinPcap supported card types 31 3.4.5 buffer Problems 31-32 3.4.6 main functions and data structures 32-38 3.5 way of comparing two kinds Ethereal 38-41 4 connection Maintenance HASH algorithm selects 41-47 4.1 select HASH algorithm purpose 41-42 4.2 several effective HASH algorithm 42-45 4.2. 1 CRC32 checksum method 42-44 4.2.2 48bit hash polynomial arithmetic 44-45 4.2.3 simple HASH algorithm 45 4.3 HASH algorithm performance comparison 45-47 4.3.1 CRC_32 test results 45-46 4.3.2 IXP2400 algorithm test results 46 4.3 .3 a simple algorithm test results 46 4.3.4 comparison of three algorithms 46-47 5 buffer management analysis 47-58 5.1 source of the problem 47 5.2 mathematical model 47-56 5.2.1 service time distribution is negative exponential distribution 48-51 5.2 .2 service time distribution is normal 51-56 5.3 analysis 56-57 5.4 Conclusion 57-58 6 TCP newspaper text analysis 58-69 6.1 SMTP data processing 58-62 6.1.1 SMTP protocol analysis 58-60 6.1.2 garbage Mail filtering method of 60-62 6.1.3 SMTP data processing 62 6.2 FTP data processing 62-64 6.3 HTTP data processing 64-69 6.3.1 HTTP protocol 64-65 6.3.2 HTTP commands and status response code 65-66 6.3. 3 HTTP header fields 66-68 6.3.4 of the HTTP data processing 68-69 7 Summary and technology foresight 69-71 Acknowledgements 71-72 References 72-74 papers published during the reading of the situation 74-75

Related dissertations

  1. Design and Implementation of A Network Access Monitoring System for User
    LiuQiao ·Northeastern University ·2012 ·Master's thesis
  2. Design and Implementation of Open Remote Monitoring Protocol
    ZhaoZhengWei ·Hunan University of Technology ·2013 ·Master's thesis
  3. Research and Design on Intrusion Detection Methods for Industry Control System
    LuoYaoFeng ·Zhejiang University ·2013 ·Master's thesis
  4. Research and Application of BP Neural Network Optimization Based on Improved Ant Colony Algorithm
    ZhangYanRui ·Northeastern University ·2013 ·Master's thesis
  5. The Application of Load Balance for E-business Website
    JieZhen ·Tianjin University ·2012 ·Master's thesis
  6. Design and Implementation of Trojan Detection System Based on Network Transmission Content
    WangYanYan ·Northeastern University ·2011 ·Master's thesis
  7. Research and Implement of Ipman XP Software Based on WinPcap
    GaoLi ·Northeastern University ·2011 ·Master's thesis
  8. Research and Application of Network Monitor
    YuJiLai ·Hunan University ·2012 ·Master's thesis
  9. The Research and Implementation of Distributed Intrusion Detection System Based on Libnids
    XuPingJun ·Central South University ·2012 ·Master's thesis
  10. Design and Optimization of Deep Packet Inspection System in Multicore Environment
    AiZuo ·Harbin Institute of Technology ·2013 ·Master's thesis
  11. The Design and Implementation of Intelligent Information Retrieval System
  12. Research of Database Incremental Extraction Based on MD5and HASH Algorithm and Its Application
    GuoLiang ·Hunan University ·2013 ·Master's thesis
  13. Design and Implementation of Monitoring System of Instant Messaging Based on Protocol Buffer
  14. The Security Research of Web Application and Its Application in PC Software
    LiXingWang ·Minnan Normal University ·2013 ·Master's thesis
  15. Based on Protocol Analysis of Network Security Audit System Design and Implementation
  16. Matrix Model for Strand Space Theory
    SunJianYan ·Dalian Jiaotong University ·2013 ·Master's thesis
  17. Design and implementation of network service quality monitoring system based on C/S structure
  18. The Hardware Design of64-channel Bus Analyzer Module
  19. The Software Design of64Channels Bus Analyzer Mosule
  20. The Design and Implementation of Information Content Monitoring System for Instant Messageing