Research on Storage Oriented Regular Expression Matching Algorithms
- Author
- LiuPeng
- Advisor
- YaoYuan
- School
- PLA Information Engineering University
- Major
- Applied Computer Technology
- Classification
- TP393.08 Computer Network Security
- Degree
- Master's thesis
- Year
- 2010
- Downloads
- 110
- Citations
- 1
Abstract
Regular expression matching as a key technology for network security applications , play an increasingly important role . This paper , the regular expression matching algorithm to store , based on deterministic finite automata algorithm , in order to meet the evolving needs of deep packet inspection applications . The main contents are as follows: 1 , the traditional regular expression matching algorithm analysis and comparison of selection algorithms designed for storage architecture advantage . Storage - oriented architecture positive expression matching algorithm research , algorithm design provides a basis for further study of the multi-faceted multi-angle . 2 , the rule set regular expression syntax analysis of regular expression matching criteria and algorithm design , study of the prevalence of state explosion problem , provide an entry point for algorithm design and theoretical basis . Design based on the state of the sparse matrix storage table compression algorithm, compression algorithm combined with the character table of the algorithm optimization strategy . Experimental results show that : the combination of single-character compression the table optimization algorithm in the Linux L7 - filter and Bro rule set of storage space compression rate is generally more than 90% . 4 , given a restriction under the conditions of a default path input delay deterministic finite automata optimization algorithm, using weights priority principle and node priority principle two optimization strategies to optimize . The experimental results show that : in the Linux L7 - filter rules set limit is smaller in diameter , the optimization algorithm can be further compressed storage space . 5 , caused by the binding mode for the single count state explosion problem , the design of an efficient matching single count constraint bitmap mode shift finite automaton . On the basis of the Synthesis of multiple counts of constraint mode , the external state explosion problem , design an efficient matching of multiple counts of constraint mode butterfly automata .
Table of contents
Abstract 10-11
ABSTRACT 11-12
first chapter 12-20
1.1 Background and Significance of topics 12 -14
1.1.1 research background 12-13
1.1.2 topic significance 13-14
1.2 deep packet inspection technology introduction 14-15
1.3 research status 15-17
1.4 research content 17-18
1.5 Thesis Organization 18 - 20
Chapter regex matching algorithm 20-36
2.1 traditional regular expression matching algorithm 20-25
2.1.1 regex 20-21
2.1.2 NFA-based matching algorithm 21-22
2.1.3 DFA-based matching algorithm 22-23
2.1.4 DFA and NFA merits analysis 23-24
2.1.5 Multi regular expression matching algorithm 24-25
2.2 regular expression matching algorithm design architecture 25 -26
2.2.1 FPGA logic architecture deficiencies 25
2.2.2-oriented storage architecture advantage 25-26
2.3 for the storage of a regular expression match algorithm 26-35
2.3.1 Convert compression algorithm 27-29
2.3.2 Status compression algorithm 29-33
2.3.3 Character Table compression algorithm 33-35
2.4 Summary 35-36
Chapter ruleset regular expression syntax 36-44
3.1 ruleset regular expression syntax 36-39
3.1.1 metacharacters and metasequences 36-38
3.1.2 Comparison regular expression library 38 -39
3.2 matching algorithm design standards and the impact of 39-40
3.2.1 matches integrity 39-40
3.2.2 substring search model 40
3.3 state explosion problem 40-42
3.3.1 Kleene closure 41-42
3.3.2 Counting character groups 42
3.4 Summary 42-44
Chapter based on sparse matrix storage status table compression algorithm 44-54
4.1 sparse matrix index State compression table 44-49
4.1.1 Case Study 44-45
4.1.2 The main idea 45-49
4.2 storage space optimization Strategy 49-50
4.3 storage compression effect evaluation 50-53
4.3.1 Experimental environment and rule sets 50
4.3.2 Experimental results and analysis 50-53
4.4 Summary 53-54
Chapter a restriction of D ~ 2FA default path optimization algorithm 54-62 < br /> 5.1 limit of D ~ 2FA default path algorithm 54-55
5.2 Defects and algorithm analysis 55-56
5.3 Optional strategy based optimization algorithm 56-58
5.4 storage compression effect evaluation 58-61
5.4.1 Experimental environment and rule sets 58-59
5.4.2 Results and analysis 59-61
5.5 Chapter Summary 61-62
Chapter efficient pattern matching extensions count constraint automata 62-80
6.1 Counting binding pattern complexity analysis 62-65
6.2 Limitations of existing matching algorithms 65-67
6.2.1 XFA limitations 65-66 < br /> 6.2.2 rewrite rules limitations 66-67
6.3 count constraint pattern classification 67-69
6.4 Bitmap Shift Finite Automata 69-72
6.4.1 Case Study 69-71
6.4.2 Formal Description 71-72
6.5 butterfly automata 72-77
6.5.1 External state explosion 72-74
6.5.2 Problems simplified 74
6.5.3 The main idea 74 - 76
6.5.4 Formal Description 76-77
6.6 storage compression effect evaluation 77-79
6.6.1 BS-FA 77 - 78
6.6.2 butterfly automata 78-79
6.7 Chapter Summary 79-80
Conclusion 80-82
Reference literature 82-85
Author Biography master's degree major work accomplished during 85-86
Thanks 86
Related dissertations
- GPU Based High Speed Regular Expression Matching Engine
- Research on Key Technologies of Network Traffic Analysis and System Implementation
- Researches on Non-exact Deep Packet Inspection
- Research on Deep Packet Inspection Based on Parallel Bloom Filters
- Research on Traffic Classification and Control Based on DPI and Incremental Decision Tree
- Research of Text Flow Recognition System under the Integration of Telecommunications Networks, Cable TV Networks and the Internet
- Analysis of Mechanisms for Mobile Internet Services Identification
- Application of Non-Standard Pattern Matching Algorithm in Deep Packet Inspection
- The Research on Regular Expression Matching Algorithms for Deep Packet Inspection
- Research on Storage Optimization of High-Speed Rule Matching Algorithms
- Research on High Throughput Regular Expression Matching Algorithm in Deep Packet Inspection
- Research and Implementation on Deep Packet Inspection of Firewall
- Research on Regular Expression Matching of Successive Packets in High-speed Networks
- Research on Deep Packet Inspection in Cloud Computing Environment
- Design and Implementation of Network Traffic Inspection and Control System
- The Design and Implementation of Network Traffic Monitoring System Based on Netfilter/Iptables
- Research on Multi-business Indentification Technology Oriented High-speed Network Management and Control
- Research on P2P traffic identification technology based on deep packet inspection
- P2P Protocol Identification and Inspection Based on Netflow under Tilera Multicore Environment
- Research of Ada Program Model Checking Based on Program Slicing