Research of High Performance Multiple Pattern Matching Algorithm for Large-scale Pattern Set

Author
ZhouZongWei
Advisor
WangDongSheng
School
Tsinghua University
Major
Computer Science and Technology
Classification
TP393.08 Computer Network Security
Degree
Master's thesis
Year
2008
Downloads
248
Citations
4

Request the full text

Abstract

As one of the core technologies in network security systems, pattern matching algorithm greatly influences, and even determines the overall performance, so it aroused general concerns from both academic and industrial researchers. Now, the major challenge of pattern matching research comes from the quickly enlarging pattern set. Most classic algorithms can not work well under large-scale pattern set. Moreover, along with the increasing network bandwidth, pattern matching often becomes the bottleneck in network security systems. As a result, efficient pattern matching algorithm for large-scale pattern set is now urgently needed, and this research topic has significant academic value and application outlook.This paper proposes a novel high performance pattern matching algorithm for large-scale pattern set, named Multi-Phase Dynamic Hash (MDH). In this algorithm, multi-phase hash is introduced to cut down the memory requirement under large-scale pattern set, and dynamic-cut heuristics is designed to fully explore pattern set information and improve the overall matching performance. Experimental results demonstrate that MDH can speed up the matching procedure by about 100% to 300%, compared with other classic multiple pattern matching algorithms, such as AC, WM and SBOM, whereas, maintain comparatively low memory requirement.Then, this paper further presents a pattern-length adaptive algorithm and an intelligent verification optimization to break the inherent limitations of MDH algorithm and enhance the algorithm scalability. Beside this, this paper also designed several multi-core multi-threaded parallel algorithms on the basis of MDH, which can make full use of hardware advantage of generic multi-core CPU and the latest multi-core network application processors. Finally, we apply MDH algorithm to a popular opensource virus scanning system, Clam AntiVirus, and get large performance improvement, which again prove its performance and portability.

Table of contents

Abstract 3-4 Abstract 4-9 Chapter 1 Introduction 9-12 1.1 network security technology 9-10 1.2 mode matching study 10-11 1.3 thesis work and contributions 1.4 The structure of the paper arrangements 11-12 Chapter 2 pattern matching algorithm summarized 12-26 2.1 mode to match the basic problems 12-13 2.2 mode to match the classic algorithm 13-19 the the 2.2.1 prefixes matching algorithm 14-16 the the 2.2.2 suffixes matching algorithm 16-18 2.2.3 sub-string matching algorithm 18-19 2.3 BOYER-MOORE algorithm 19-21 2.4 WU-MANBER algorithm 21-22 2.5 classical algorithm Comparative Analysis 22-25 2.6 This chapter Summary 25-26 Chapter 3, high-performance large-scale pattern matching algorithm MDH design and implementation 26-47 3.1 design ideas 26-33 3.1.1 multi-level hash thinking 27-29 3.1.2 Dynamic cutting strategy 29-32 3.1.3 Summary 32-33 3.2 algorithm data structure and processes 33-39 3.2.1 algorithm data structure 33-34 3.2.2 preprocessing stage 34-38 3.2.3 matching stage 38-39 3.3 Experimental testing and results analysis 39-47 3.3.1 algorithm matches the performance of experimental 39-42 3.3.2 algorithm ideological argumentation experimental 42-44 3.3.3 nbsp optimization parameter selection experiment ; 44-46 3.3.4 This chapter Summary 46-47 Chapter 4 MDH algorithm optimization 47-69 4.1 MDH the algorithm limitations of analysis 47 4.2 pattern length adaptive optimization algorithm 47-49 4.3 smart authentication algorithm optimization 49-53 4.3.1 Smart verify thinking 49-51 4.3.2 Specific processes 51-52 4.3.3 Experimental test 52-53 4.4 parallelization optimization algorithm design 53-68 4.4.1 parallel technology to enhance the performance of the algorithm 54-55 4.4.2 a general-purpose CPU platform multithreaded optimization 55-61 4.4.3 dedicated multi-core hardware platform parallel optimization 61-68 4.5 of this chapter Summary 68-69 Chapter 5, the practical application of research 69-81 5.1 CLAMAV system architecture and mode set analysis 69-74 5.1.1 System Architecture 70 5.1.2 mode composition 70-72 5.1.3 pattern features 72-74 5.2 MDH-CLAMAV System Design and Implementation 74-76 5.2.1 matching process analysis 74 5.2.2 system bottlenecks judge 74-76 5.2.3 solution 76 5.3 experimental design and results analysis 76-80 5.3.1 Experimental: MDH, and BMEXT algorithm performance compared 76-79 5.3.2 Experiment II: the old and new ClamAV virus scanning performance compared 79-80 5.4 This chapter Summary 80-81 Chapter 6 Conclusion and Outlook 81-83 6.1 thesis work summarizes 81 6.2 Future research directions 81-83 the References 83-86 Acknowledgements 86-87 the biographical, academic and research published during the study period 87-88

Related dissertations

  1. Research and Design of Network Intrusion Detection System Based on Protocol Analysis
    CuiShiLing ·Northeastern University ·2011 ·Master's thesis
  2. Research on Pattern Matching Algorithm in Collaborative Intrusion Detection System
  3. Research on the Application of Pattern Matching Algorithm in Network Intrusion Detection System
    LiuZuo ·Dalian Maritime University ·2013 ·Master's thesis
  4. Network Security Research Based on Intrusion Detection
    ShenTao ·Chongqing University ·2012 ·Master's thesis
  5. Design and Implementation of A Network Access Monitoring System for User
    LiuQiao ·Northeastern University ·2012 ·Master's thesis
  6. Security Module Based on Command Code for Resource Constrained Wireless Sensor Networks
    HanYu ·Harbin Institute of Technology ·2012 ·Master's thesis
  7. Design and Application of Higher Vocational Colleges and Universities Campus Network
    ZhengYeMeng ·Qilu Industrial University ·2013 ·Master's thesis
  8. Campus intelligent network construction
  9. Study of Fujian Business School Campus Network Based on Engineering Design
  10. Research and Design of University Network Construction
  11. The Design of Fiber Ethernet Intelligent Splitter Based on FPGA
    SongWei ·South China University of Technology ·2013 ·Master's thesis
  12. Research and Implemention of IP Packet Reinstall System Based on VPN
    MaTeng ·Dalian Polytechnic University ·2011 ·Master's thesis
  13. Research on Intrusion Detection Based on Clustering Algorithm
    WuLongChang ·Northeastern University ·2011 ·Master's thesis
  14. Study the Technology of Extraction Situation Factor for Network Security Situation Awareness
    GuoJian ·Northeastern University ·2011 ·Master's thesis
  15. Design and Implementation of Trojan Detection System Based on Network Transmission Content
    WangYanYan ·Northeastern University ·2011 ·Master's thesis
  16. The Electronic Reading Room ARP Virus Detection and Localization System Research
    LiJin ·Xi'an University of Petroleum ·2011 ·Master's thesis
  17. Study and Deployment on Communication Security and Optimizations for VPN Networks
    XuHaiDong ·Northeastern University ·2011 ·Master's thesis
  18. Research on Key Technologies of Network Traffic Analysis and System Implementation
  19. A Network Security Risk Computation Approach Based on Attack Graphs
  20. University Network Security Problems and Countermeasures
    Xu ·Yanshan University ·2012 ·Master's thesis