Improving Performance of Deep Packet Inspection Based on Pattern Matching

Author
WanZuo
Advisor
ZhongQiuXi
School
National University of Defense Science and Technology
Major
Computer Science and Technology
Classification
TP393.08 Computer Network Security
Degree
Master's thesis
Year
2010
Downloads
52
Citations
0

Request the full text

Abstract

As the key of network intrusion detection and application layer protocol identification, Deep Packet Inspection(DPI) become more and more important to the security of network and information. To improve the performance of DPI based on pattern matching, some new method are presented.The main work and contribution of the thesis include as follows.1. We compare the technology of DPI based on pattern matching, study the design and implementation of Snort’s DPI engine, by do these to show the bottle-neck of the DPI performance implemented by software.2. Based on the study of regular expression matching algorithm, we describe the shortage of it and give a mathod of DPI to accelerate the match of regular expression by hardware. Design a new architecture with pipelining, propose the algorithm of queue management and rules transformation.3. We find the hidden trouble of the pre-filter, when many rules with similar pattern are in the same set, it will lead to the bad result. We introduce a Multi-AC algorithm to filtrate the big set of rules, and get a betterment.4. At last, we implement the two method of improving performance proposed above. Use hardware to accelerate the regular expression matching, and the throughput of Snort achieves a factor of 2.5 improvement over the primary system. Compared to the AC pre-filter algorithm, our Multi-AC algorithm get smaller rule sets, the size of rule set is reduce to 11%~14% of primary one.The result of experiment proves that both of our approaches improve the performance of DPI effectively. Our approaches are carried out in a device, which validate the feasibility and validity, they are very useful in the network project.

Table of contents

Abstract 8-9 ABSTRACT 9-10 first chapter 10-19 1.1 subject background and significance 10 -14 1.1.1 subject research background 10-12 1.1.2 deep packet detection 12-13 1.1.3 Performance Optimization facing challenges 13-14 1.2 research status 14-17 1.2.1 Pattern Matching Algorithm 14-15 1.2.2 regular expression research 15-16 1.2.3 rule set optimization study 16-17 1.3 research content and innovative 17-18 1.4 paper organization 18-19 Chapter II structure based on feature matching deep packet inspection technology 19-31 2.1 string matching algorithm 19-22 <br / 2.1.1 BM algorithm 19 2.1.2 AC algorithm 19-22 2.2 regular expressions 22-26 2.2.1 based on NFA matching algorithm 23-24 2.2.2 of DFA-based matching algorithm 24-25 2.2.3 25-26 2.3 of Snort in the deep packet inspection 26-30 2.3.1 the Snort system architecture 26-27 2.3.2 of Snort rules matching engine 27-30 < br /> 2.4 Summary 30-31 Chapter III is based on rules that match the DPI system performance optimization design 31-40 3.1 system architecture design 31 - 32 3.2 rules set pre-filter design 32-37 3.2.1 Case Study 32-36 3.2.2 design ideas 36-37 3.3 regular expression hardware acceleration designed 37-39 3.3.1 design ideas 37-38 3.3.2 Performance Analysis 38-39 3.4 Summary 39-40 Chapter rule set pre-filter algorithm design 40-47 4.1 AC pre-filtering algorithms exist 40-42 4.2 Multi-the AC algorithm.; 42-45 4.2.1 compiling algorithm 43-44 4.2.2 feature extraction algorithm 44 -45 4.2.3 matching algorithm 45 4.3 Multi-AC algorithm example 45-46 4.4 Summary 46-47 <br / Chapter regular expression hardware-accelerated algorithm design 47-53 5.1 structural design 47-48 5.2 hardware is the regular expression matching 48-50 < br /> 5.3 the regular expression extraction and conversion 50-51 5.4 parallel matching queue scheduling 51-52 5.5 of this chapter Summary 52-53 Chapter VI of the prototype system to achieve 53-60 6.1 Multi-AC algorithm implementation and testing 53-57 6.1.1 algorithm to achieve 53 - 54 6.1.2 Algorithm performance analysis 54-56 6.1.3 Experimental results 56-57 6.2 regular expression hardware-accelerated implementation and testing 57-58 6.3 Summary 58-60 Conclusion 60-62 summary 60-61 Outlook 61-62 thank 62-64 Reference 64-67 of academic achievements obtained during the study period 67-68 author during the study period participated in the research work 68

Related dissertations

  1. Research on Key Technologies of Network Traffic Analysis and System Implementation
  2. Analysis and Design of Intrusion Detection System for High-Speed Network
  3. Study on Automaton-Based Regular Expression Matching Algorithms
    LiZuoNan ·Northeastern University ·2011 ·Master's thesis
  4. Research on Regular Expression Based Deep Packet Inspection
    ZhangNa ·East China Normal University ·2007 ·Master's thesis
  5. P2P traffic control feature extraction and recognition technology
    WangZhengXu ·Tianjin University of Technology ·2009 ·Master's thesis
  6. Research and Realization of Efficient Deep Packet Inspection
  7. Research and Design on Intrusion Detection Methods for Industry Control System
    LuoYaoFeng ·Zhejiang University ·2013 ·Master's thesis
  8. Research and Application of BP Neural Network Optimization Based on Improved Ant Colony Algorithm
    ZhangYanRui ·Northeastern University ·2013 ·Master's thesis
  9. Research on Intrusion Detection Based on Improved Decision Tree Algorithm
    WangChu ·Northeastern University ·2011 ·Master's thesis
  10. Research on Anomaly Detection Based on host behavior
    LinGuoYuan ·Nanjing University ·2011 ·Doctoral dissertation
  11. Research of Coevolutionary Algorithm Based on Immune Agent
  12. Research on Real-valued Negative Selection Algorithm Based on Information Entropy Theory
  13. The Intrusion Detection System Research Based on Adaptive Genetic Algorithm
  14. Honeypot Technology in Network Security Design and Application
  15. The Research and Implementation of Distributed Intrusion Detection System Based on Libnids
    XuPingJun ·Central South University ·2012 ·Master's thesis
  16. Researches on Non-exact Deep Packet Inspection
    WangHaiQiang ·Harbin Institute of Technology ·2013 ·Master's thesis
  17. Study on IDS Method Based on Data-reduction Mechanism of Self-set
  18. Research of Intrusion Detection Method Based on Data Mining
  19. Research on Detector Optimization and Multi-shape Detection in Immunity-based Intrusion Detection System
    LiuHaiLong ·Harbin University of Science and Technology ·2013 ·Doctoral dissertation
  20. Research on Intrusion Prevention Technology Based on PCA and Semi-Supervised Clustering