Researching of Regular Expressions Matching Technology for Network Flow Identification
- Author
- ZhangHui
- Advisor
- LiuJinGang , TanJianLong
- School
- Capital Normal University
- Major
- Applied Computer Technology
- Classification
- TP393.08 Computer Network Security
- Degree
- Master's thesis
- Year
- 2011
- Downloads
- 87
- Citations
- 1
Abstract
With the computer and Internet applications continues to expand and further, network flow identification has attracted more and more people to research. Identifying classification of network flow quickly and accurately has great practical significance on network security, business accounting, purification networks, network operation and management.This paper studies regular expression matching technology for network flow identification. Because the current application system is mainly using NFA-based matching technology which matching slowly, people focus more on the DFA-based matching technology. DFA has the O (1) time in the state transition, but at the same time it has a defect that storage space of DFA has brought a rapid expansion. The current solution is to compress state transition table of DFA in order to achieve faster matching speed and with less storage space.Specifically, this work includes:Researching regular expression matching technology and the classical protocol identification system named L7filter. The principle and implementation of L7filter is described. L7filter is based on iptables extension module mechanism.It’s regular expression template which described characteristic of network protocol is a foundation of application system.Researching construction of a large multi-DFA from regular expressions and compression method.Proposed a dynamic compression algorithm based on Run-length encoding which can compress DFA to less than 10% of original space, and applied in network flow identification system.Designed and implemented the network flow identification system based on DFA. It used regular expressions matching technology to ensure the accuracy and ease of scalability.It’s matching engineer base one DFA makes a highly processing speed.
Table of contents
Directory 4-6
Figures 6-7
Table of Contents 7-8
Summary 8-9
Abstract 9-10
Chapter Introduction 10-16
1.1 Background and Significance 10-14
1.1.1 network traffic identification 10-12
1.1.2 regex matching technology in DPl application 12-13
1.1.3 regex matching technology challenges 13-14
1.2 content of this study and arrangements 14-16
Chapter related work and status 16-32
2.1 network traffic identification 16-19
2.1.1 traditional network traffic identification method 17
2.1.2 existing network traffic identification method 17-19
2.2 protocol identification system L7-filter 19-24
2.2.1 Netfilter framework Introduction 20-21
2.2.2 L7filter Principle 21-24
2.2.3 L7filter systematic review 24
2.3 regex matching technology 24-30
2.3.1 regular expression matching definitions 25-26
2.3.2 regular expression matching the classic methods and theory 26-28
2.3.3 regular expression matching recent progress 28-30
2.4 Summary 30-32
Chapter DFA dynamic compression technology 32-42
3.1 Problem Definition 32-33
3.2 run-length encoding 33
3.3 based on improved RLE state transition method 33-35
3.4 state transition table based on improved RLE compression algorithm 35-37
3.5 performance test 37-41
3.6 Summary 41-42
Chapter DFA-based network traffic identification system design and implementation 42-56
4.1 System Architecture 42-43
4.2 system design 43-48
4.2.1 system function module 43-44
4.2.2 system workflow 44-45
4.2.3 regex processing module 45-46
4.2.4 L7filter based connection management module 46-47
4.2.5 regex matching module 47-48
4.3 kernel module 48-53
4.3.1 regex processing module 49-51
4.3.2 connection management module 51-52
4.3.3 regex matching module 52-53
4.4 Summary 53-56
Chapter V system function test 56-62
5.1 experimental environment 56-57
5.2 traffic identification experiment 57-60
5.3 Chapter Summary 60-62
Chapter VI Conclusion 62-64
6.1 This work summarizes 62
6.2 further research directions 62-64
References 64-68
Thanks 68-70
Author Biography 70
Related dissertations
- Research and Implementation Based on Multiple-characteristics of Application-layer Protocol Identification Method
- Research on Regular Expression Based Deep Packet Inspection
- Research and Implement of Network Content Audit System
- Design and Implementation of FPGA-Based Regular Expressions
- Research of Earthquake Insurance Pricing Model Based on DFA
- Research on Key Technologies of Network Traffic Analysis and System Implementation
- Research on the Detection Technology for Vulnerability in Java Web Program Based on Regular Expression
- Design and Realization of P2P Traffic Identification Based on DPI
- An Algorithm for Matching Strings with Wildcards
- Research and Implementation on Efficient String Match for Ten Millions of Patterns
- Regular-Expression Matching and Optimization Techniques Using Negative Factors
- The Tailoring of Linux Kernel Based on Testing Coverage
- Design and Implementation of VB Computer Examination System
- Design and Implementation of the System of the Coal Market Information Analysis Based on Silverlight
- Improved L7-Filter’s Pattern Matching Algorithm Based on Multi-core Processors
- Research on Multi-pattern Matching Algorithms Based on Regular Expressions and Hardware Implementation
- The Research of Multi-Pattern Matching Algorithms Based on Regular Expressions
- The Analysis and Design of Protocol Classification and Restoring System Based on Distributed
- Design and Implementation of Ng Firewall System Based on Flow Identification Technology
- Research and Implementation of Network Application Audit