Hardware-based String Matching Algorithm in Network Content Analysis
- Author
- LiQiYue
- Advisor
- QuYuGui
- School
- University of Science and Technology of China
- Major
- Communication and Information System
- Classification
- TP393.01 Theory of computer networks
- Degree
- Doctoral dissertation
- Year
- 2008
- Downloads
- 264
- Citations
- 0
- Network Content Analysis
- Network Security
- String matching
- Pattern matching
- Protocol Parse
- ABNF
- Bloom filter
- ASIC
Abstract
The information revolution centered on Internet has changed people’s lives and network is everywhere. However, beneath the Internet, content security has always been a problem. On one side, people depend on network more and more in their daily lives, and much more transactions in governments have to be done with network; on the other side, Internet is a double-edged sword, as hackers, virus and network attack are more and more popular. To keep clean of the network space and to protect the integrity of the "country" have become an important thing in the development of one country, and have become a great challenge of people. Network content analysis has attracted more and more attention to build the network enviroment with high-effiency and safety.This thesis focuses on the basic problem in network content analysis, and aims at the application of the hardware based string matching algorithm in network content analysis from the aspects of algorithm and system. There are several new ideas in this thesis:First, in the network content analysis, the payloads in the data message have to be decoded and checked besides the specific string matching. In the traditional string matching, the network messages are simply treated as orderless string, while its inside construct and the real meaning of the payloads are neglected. However, communications in network are based on the protocols, which are highly standardized data stream with clear meaning and value. So, a string matching and protocol decoding algorithm based on ABNF is proposed in this thesis. It can perform string matching and decode the protocol in a hardware manner, also can satisfy the needs of the network content analysis and improve the performance of the system.To retrieve the value of pattern string which matched with the input string, the traditional Bloom filter is extended to support value retrieve; meanwhile, a weighted extended Bloom filter is proposed in this thesis to eliminate the performance decrement in the above extended Bloom filter. Then the optimal configuration of the weighted extended Bloom filter(WEBF) is deduced. Also, to improve the performance of the matching, a WEBF engine ASIC chip is designed and the performance is given through simulation and experiment.To verify the function and performance of the string matching algorithm proposed in this thesis, we design a network content analysis platform based on embeded processor and WEBF engine. It is indicated that the string matching algorithm and the protocol decoder model is feasible with the advantage of high efficiency and low cost. In the meantime, GNU/Linux system on the platform is free and powerful and can implement complicated network transcation.From a wider aspect, network content analysis is a specific application of data flow management. Data flow management is a technique of manipulating a great amount of matching and endless flowing data.We always have a dream of designing a network Soc chip, which can support some basic network message operations such as packet classification, protocol paser and string matching in hardware manner and also contains several general processor cores. It can supply flexible and powerful ability to many network applications. We hope that it can become a basic systematic chip to provide technical support to the security and commercial development of our country. This thesis can be treated as an attempt to this orientation.
Table of contents
Abstract 6-8
ABSTRACT 8-16
Chapter 1 Introduction 16-22
1.1 Internet content security situation 16
1.2 Web Content Analysis System Research 16-18
1.3 web content analysis problem 18-19
1.3.1 string matching algorithm speed 18-19
1.3.2 string matching algorithm throughput 19
1.4 Thesis objectives and organization 19-22
1.4.1 papers aim 19-20
1.4.2 papers organization 20-22
string matching algorithm in Chapter 2 Overview 22-36
2.1 string matching problem 22
2.2 string matching algorithm outlined 22-34
2.2.1 software-implemented string matching algorithms 22-27
2.2.2 CAM-based string matching algorithm 27-30
2.2.3 coprocessor-based string matching algorithm 30-32
2.2.4 Non-deterministic finite automata based on a string matching algorithm 32
2.2.5 Bloom filter based string matching algorithm 32-34
2.3 Summary 34-36
Chapter 3 based ABNF string matching and protocol decoding 36-52
3.1 Overview 36
3.2 ABNF description 36-40
3.2.1 terminator 37
3.2.2 Operator 37-40
3.3 ABNF string matching based on structural 40-48
3.3.1 packet data fanout module 42
3.3.2 extract field values ??based on pipeline 42-43
3.3.3 ABNF-based pattern matching module 43-46
3.3.4 NFA construction algorithm 46-48
3.4 Performance Analysis 48-50
3.4.1 pipeline performance improvement 48-49
3.4.2 FPGA-based implementation and decoding ABNF string matching algorithm performance 49-50
3.5 Summary 50-52
Chapter 4 based on weighted extended BLOOM FILTER string matching algorithm 52-76
4.1 hash query algorithm principle 52
4.2 Bloom filter describes 52-59
4.2.1 Bloom filter mathematical description 53-55
4.2.2 hash comparison with the Bloom filter 55
4.2.3 Bloom filter applications 55-56
4.2.4 Bloom filter algorithm is applied to various extensions 56-59
4.3 extension support domain values ??for Bloom filter algorithm 59-61
4.4 Weighted extended Bloom filter algorithm 61-67
4.5 ASIC-based WEBF engine 67-74
4.5.1 integrated circuit structure design method 68-69
4.5.2 WEBF engine design 69-74
4.6 Summary 74-76
Chapter 5 FPGA-based coprocessor network content analysis processing platform 76-92
5.1 content analysis processing platform overview 76-78
5.2 TMS320DM6446 Embedded Processors 78-81
5.2.1 ARM926EJ-S processor core structure 79-80
5.2.2 C64x DSP core architecture 80-81
5.3 EP3C120 FPGA devices introduced 81-82
5.4 FPGA coprocessor designed 82
5.5 content analysis processing platform circuit design 82
5.6 content analysis processing platform software design 82-85
5.6.1 U-Boot 83
5.6.2 GNU / Linux operating system 83-85
5.6.3 GNU / Linux network packet processing 85
5.6.4 Web content analysis platform user tools-pm_util 85
5.7 content analysis processing platform test 85-90
5.7.1 FPGA-based coprocessor WEBF engine performance test 86-89
5.7.2 Web content analysis platform performance testing 89-90
5.8 summarizes the content analysis processing platform 90-92
Chapter 6 summarizes 92-94
6.1 Thesis contribution 92-93
6.1.1 ABNF paradigm based on string matching and protocol decoding 92
6.1.2 Weighted extended Bloom filter based string matching algorithm 92
6.1.3 coprocessor-based Web content analysis and processing platform 92-93
6.2 for further research 93-94
6.2.1 non-deterministic string matching technology 93
6.2.2 performance network processing chip research 93-94
References 94-100
PhD research results and research projects during 100-102
Thanks 102-103
Related dissertations
- The Research of Multi-pattern Matching Algorithms Based on Bit-split Method
- Research on Multi-pattern Matching Algorithms Based on Regular Expressions and Hardware Implementation
- Research and Design of Network Intrusion Detection System Based on Protocol Analysis
- Research on Pattern Matching Algorithm in Collaborative Intrusion Detection System
- Research on the Application of Pattern Matching Algorithm in Network Intrusion Detection System
- Network Security Research Based on Intrusion Detection
- Studies on String Mathching Algorithm Based on the Character’s Law
- Research and Implementation of String Matching Algorithm in Network Intrusion Detection System(NIDS)
- The Research of the Deep Packet Inspection Technology Based on Improved Bloom Filter
- Design and Implementation of Space Camera Compression Unit for Remote Sensing Image
- 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