Research and Implementation of Protocol Identification Based on Regular Expression
- Author
- FanHuiPing
- Advisor
- XuanLei , ChenShuZuo
- School
- National University of Defense Science and Technology
- Major
- Computer Science and Technology
- Classification
- TP393.08 Computer Network Security
- Degree
- Master's thesis
- Year
- 2007
- Downloads
- 304
- Citations
- 3
- Network Security
- Protocol Identification
- Non-deterministic finite automata (NFA)
- Deterministic finite automata (DFA)
- Regex
- State transition table
Abstract
Current , high - speed network content auditing , intrusion detection and other security technology generally requires content analysis of network traffic in order to reach the level of the application layer protocol identification . The emergence of more and more new network protocol , making traditional the port identification methods have been unable to ensure the correctness of the identification . For this reason , the current protocol identification research turned statistics with model - based method and the based on reported stylistic detection method , and the correctness of these two methods than the port identification method has been greatly improved , but its recognition speed can not meet the backbone the requirements of the link . Therefore, the protocol identification based on regular expressions , a combination of hardware and software systems , to improve the correctness of the protocol identification and processing speed . Papers to complete the work : 1) In order to improve the correctness of the protocol identification , in the L7-filter regular expression based on the analysis of actual traffic agreement Edonkey, BT and QQ expression were modify , experiments show that the modified regular expressions are better able to meet the actual needs ; 2) DFA regular expression matching and improve the matching speed . Thompson algorithm based on the classic regular expressions compiled into NFA basis through the compression ε constructor algorithm for the empty side of NFA , compression , and then the use of classical subset construction algorithm , the NFA converted to DFA , the tests show that the method not only speed up the NFA compiled into a DFA speed , but also improves the matching speed protocol identification ; 3 ) One-Pass matching algorithm the DFA matching scan algorithm , and L7-filter , the agreement matching speed ; 4) the matching engine algorithms implemented in hardware design , the DFA transformed into state transition table stored in the SRAM , and proposed based on a regular expression protocol identification of single packets matching simulation tests show that the algorithm improves the protocol identification matching speed . The method proposed in this paper in the accuracy and performance of the protocol identification than currently popular L7-filter has been greatly improved . The research results have been used in the actual project and interim acceptance testing the correctness and handling performance to achieve the requirements of the project indicators .
Table of contents
Abstract 9-10
ABSTRACT 10-11
The first chapter 11-15
§ 1.1 project background 11
§ 1.2 Research 11-12
§ 1.3 main job 12-13
§ 1.4 key technology 13
§ 1.5 This organizational structure 13-15
Chapter II protocol to identify relevant studies 15-27
§ 2.1 port-based protocol identification 15-16
§ 2.2 of the agreement with the model based on statistical recognition method 16-18
§ 2.3 protocol based Payload feature recognition method 18-24
2.3.1 keyword recognition 19-20
2.3.2 regex identification 20-22
2.3.3 Rules identification 22-24
2.3.4 identification technology analysis and comparison 24
§ 2.4 protocol identification of the evaluation criteria 24-25
§ 2.5 Chapter Summary 25-27
Chapter protocol identification model architecture research 27-34
§ 3.1 protocol to identify relevant structure is 27-31
§ 3.2 based on regular expressions protocol identification Structure 31-33
§ 3.3 Chapter Summary 33-34
Chapter protocol identification system key technology 34-46
§ 4.1 Regular expressions compiled into the NFA construction algorithm 34-36
4.1.1 Thompson construction algorithm 34-35
4.1.2 NFA of tectonic compression ε 35-36
§ 4.2 NFA converted to DFA construction algorithm 36-39
§ 4.3 packets matching research 39-41
4.3.1 single packet matching 39-40
4.3.2 multiple packet overlay matching 40
4.3.3 disposable multi-packet matching 40-41
§ 4.4 One-Pass scanning algorithms 41-42
§ 4.5 dynamic contextual recognition 42-44
§ 4.6 software simulation testing and evaluation 44-45
§ 4.7 Chapter Summary 45-46
Chapter regular expression based protocol identification system to achieve 46-63
§ 5.1 protocol identification system overall structure 46-47
§ 5.2 protocol identification hardware module structure 47-54
5.2.1 Input Control Module 47-48
5.2.2 Flow Management module 48-50
5.2.3 packet buffer management module 50-51
5.2.4 protocol identification module 51-53
5.2.5 Output Control Module 53-54
§ 5.3 protocol identification software module design and implementation 54-61
5.3.1 hardware drivers 54-57
5.3.2 protocol identification control module 57-61
§ 5.4 protocol identification system test and evaluation 61
§ 5.5 Chapter Summary 61-63
Chapter Summary and Outlook 63-65
§ 6.1 This article summarizes 63-64
§ 6.2 Prospects 64-65
Thanks 65-66
References 66-69
papers published during the school 69-70
During the school to participate in a research project 70
Related dissertations
- Research of Multi-Pattern Matching Algorithm in the Mobile Internet Protocol Identiifcation
- Research on Technique of Application-Layer Protocol Identification Based on Regular Expressions
- Research and Realization of High Speed Protocol Identification Based on Regular Expression
- Algorithms to Speeding up Multiple Regular Expressions Matching for Application Traffic Classification
- Research on Technique of Regular Expression Marching Based on FPGA
- Design and Implementation of A Network Access Monitoring System for User
- Security Module Based on Command Code for Resource Constrained Wireless Sensor Networks
- Design and Application of Higher Vocational Colleges and Universities Campus Network
- Campus intelligent network construction
- Study of Fujian Business School Campus Network Based on Engineering Design
- Research and Design of University Network Construction
- The Design of Fiber Ethernet Intelligent Splitter Based on FPGA
- Research and Implemention of IP Packet Reinstall System Based on VPN
- Research on Intrusion Detection Based on Clustering Algorithm
- Study the Technology of Extraction Situation Factor for Network Security Situation Awareness
- The Electronic Reading Room ARP Virus Detection and Localization System Research
- Study and Deployment on Communication Security and Optimizations for VPN Networks
- Research on Key Technologies of Network Traffic Analysis and System Implementation
- A Network Security Risk Computation Approach Based on Attack Graphs
- University Network Security Problems and Countermeasures