Research on Deep Packet Inspection Based on Parallel Bloom Filters

Author
HuGuoLiang
Advisor
LinYaPing
School
Hunan University
Major
Computer Science and Technology
Classification
TP393.08 Computer Network Security
Degree
Master's thesis
Year
2013
Downloads
7
Citations
0

Request the full text

Abstract

Deep Packet Inspection is the core component of the Network IntrusionDetection System and Network Intrusion Prevention System, which inspect not onlythe packet header information but also the packet payload. Deep Packet Inspectiondetect and prevent harmful network packets by matching the packet payload with a setof predefined rules. Deep Packet Inspection is compute-intensive operation, and ismainly used in critical data path of high-speed routers. In a core router, Deep PacketInspection operation needs to inspect high-speed mass data packets with tens ofthousands of rules. With the rapid growth of network bandwidth and traffic flow, andthe increasing of feature set of rules, the existing deep packet inspection technologiesface the challenge of high performance. To address this challenge, this paper focuseson the research of fast and effective Deep Packet Inspection algorithm, the maincontribution is addressed as following:First, The traditional methods for hardware/software-based Deep PacketInspection have intrinsic limitations in practical implementation. To address theshortcomings, this paper presented a Deep Packet Inspection algorithm implementedon the multi-core platform based on the parallel Bloom filters. Firstly, the algorith mgrouped the rule sets according to their lengths and constructed a set of conutingBloom filters to represent the grouped rule sets. Each Bloom filter stood for a rule setwith a specific length. Secondly, efficient hash functions were introduced to redu cethe collision probability and the computing complixity. Lastly, the algorithm wasimplemented using the parallel programming method based on the parallel processingability of the multi-core platform. The theoretic analysis and experimental resultsshow that the proposed algorithm is time and space efficient.Second,This paper presented a fast multi-step Deep Packet Inspection algorithmfor wire-speed processing requirements of the packet in the high-speed network and itcombines with the advantages of CPU with a large quantity of nuclears and ParallelBloom Filters. In the scheme, multiple identical Parallel Bloom Filters operate thedata stream window together so that it is able to move multiple steps at a time toimprove the throughput of the data stream window. At the same time in order to makethe processing speed of the analyzer can match with it, the matching algorithm isapplied to do parallel processing. Then the parallel programming based on multi-core platform is used to implement the algorithm. The theoretical analysis and theexperimental results show that the matching speed of the scheme is effective in alarge-scale rule set.Third, Combining the above studies, A Snort-prototype-based Deep PacketInspection system have been designed and implemented using VC++and OpenMP onthe multi-core platform. The system first grabs the packets in a local area network(LAN) and then analyzes the payload after several processing steps. The proposedalgorithm is applied in the analysis process and it is able to meet the functional andspeed requirements of the system and the feasibility of the proposed algorithm istherefore verified.

Table of contents

Abstract 5-6 Abstract 6-11 illustrations index 11-13 Schedule Index 13-14 <br / > Chapter 1 Introduction 14-19 1.1 background and Significance 14-15 1.2 current research 15-16 1.3 challenges and objectives challenge 16-17 1.3.1 deep packet inspection of 16-17 1.3.2 deep packet inspection design goal 17 1.4 This paper studies the content 17-18 1.5 The paper is organized nbsp structure ; 18-19 <br Related Research Chapter 2 deep packet inspection /> 19-35 2.1 Introduction deep packet inspection technology concept 19-22 2.1.1 deep packet inspection of 19-20 2.1.2 deep packet inspection of major recognition technology 20-21 2.1.3 deep packet inspection technology 21-22 2.2 features string pattern matching algorithm 22-27 2.2.1 single Pattern Matching the Boyer-Moore algorithm 23-25 ?? 2.2.2 multi- pattern matching Aho-Corasick algorithm 25-27 2.2.3 algorithm performance Comparison 27 2.3 hash table 27-29 2.3.1 hash table basic concepts and features 27-28 2.3.2 hash conflict resolution strategies 28-29 2.4 Bloom filters 29-33 2.4.1 standard Bloom filters 30-32 2.4. two counts -in Bloom filters 32-33 2.5 Chapter Summary 33-35 Chapter 3 groups parallel Bloom filter algorithm based on deep packet inspection proposed 35-43 3.1 base model 35-36 3.2 algorithm design 36-39 3.2.1 parallel Bloom filter algorithm 36-37 constructor 3.2.2 hash function set 37-38 3.2.3 counting type Bloom filter parameters 38 3.2.4 algorithm performance analysis 38-39 3.3 experimental results and analysis 39-42 3.3.1 experimental environment and parameter settings 39-40 3.3 .3 matching throughput 40-41 3.3.4 storage space 41-42 3.4 Summary 42-43 multi- Chapter 4 step rapid deep packet inspection algorithm 43-52 4.1 Introduction 43-44 basic model proposed 4.2 44-45 4.3 algorithm design 45-48 4.3.1 multi- step algorithm for parallel Bloom filter group 45-46 4.3.2 analyzer design 46-48 4.3.3 algorithm performance analysis 48 4.4 experimental results and analysis 48-51 4.4.1 experimental environment and parameter settings 48-50 4.4.2 matching throughput 50-51 4.4.3 storage space 51 4.5 Chapter Summary 51-52 5 Chapter parallel Bloom filter algorithm for a prototype system based on Snort 52-64 5.1 intrusion detection system Snort 52-56 5.1.1 Snort system Overview 52 -53 5.1.2 Snort overall process 53-54 5.1.3 Snort architecture 54-56 5.2 based on parallel Bloom filter algorithm for Snort prototyping 56-61 5.2.1 Snort pattern matching algorithm principle 56-58 5.2.2 Snort pattern matching algorithm source code analysis 58-60 5.2.3 parallel Bloom filter algorithm for implant -based 60-61 5.3 system working environment 61-62 5.3.1 system hardware environment 61-62 5.3.2 system software environment 62 5.4 running instance 62-63 5.5 chapter Summary 63-64 <br / > Conclusion 64-66 references 66-71 Thanks 71-72 Appendix a published study for a degree during the academic 72-73 <br major project participants during the study for a degree /> Appendix B 73

Related dissertations

  1. Research on Key Technologies of Network Traffic Analysis and System Implementation
  2. Research on IDS and Load Balancing Based on Multi-core Platform
  3. Researches on Non-exact Deep Packet Inspection
    WangHaiQiang ·Harbin Institute of Technology ·2013 ·Master's thesis
  4. Research on Traffic Classification and Control Based on DPI and Incremental Decision Tree
  5. Research of Text Flow Recognition System under the Integration of Telecommunications Networks, Cable TV Networks and the Internet
  6. Analysis of Mechanisms for Mobile Internet Services Identification
    ZuoYaDong ·WRI ·2014 ·Master's thesis
  7. Application of Non-Standard Pattern Matching Algorithm in Deep Packet Inspection
    DingXueYan ·Jilin University ·2012 ·Master's thesis
  8. The Research on Regular Expression Matching Algorithms for Deep Packet Inspection
    WangHuanYun ·Hunan University ·2012 ·Master's thesis
  9. Research on Storage Optimization of High-Speed Rule Matching Algorithms
  10. Research on High Throughput Regular Expression Matching Algorithm in Deep Packet Inspection
  11. Research and Implementation on Deep Packet Inspection of Firewall
  12. Research on Regular Expression Matching of Successive Packets in High-speed Networks
  13. Research on Analysis Model of Process Behavior
  14. Research on Deep Packet Inspection in Cloud Computing Environment
  15. Design and Implementation of Network Traffic Inspection and Control System
  16. Research on Multi-business Indentification Technology Oriented High-speed Network Management and Control
    GuoLei ·PLA Information Engineering University ·2012 ·Doctoral dissertation
  17. Research on P2P traffic identification technology based on deep packet inspection
  18. P2P Protocol Identification and Inspection Based on Netflow under Tilera Multicore Environment
    YangSanSheng ·Xi'an University of Engineering ·2011 ·Master's thesis
  19. Parallel Optimization and Realization of Loeffler Based on Multi-core
    TianYangGuang ·Zhengzhou University ·2013 ·Master's thesis
  20. TCAM-based Fast and Scalable Regular Expression Matching