Research on Technique of Application-Layer Protocol Identification Based on Regular Expressions

Author
LiuJunChao
Advisor
ZhaoGuoHong , ChenShuZuo
School
National University of Defense Science and Technology
Major
Computer Science and Technology
Classification
TP393.04 Communication protocols, communication protocols
Degree
Master's thesis
Year
2008
Downloads
244
Citations
7

Request the full text

Abstract

Accurately identify the protocol type of the traffic in the network link , bandwidth management , intrusion detection , firewall , content audit applications . The traditional protocol identification based port mapping mechanism gradually increased , but due to the dynamic port communication protocols , the technical accuracy has been unable to meet the demand . The paper through an in-depth study on the current agreement recognition technology , based on application requirements , based on a regular expression protocol identification technology . Using regular expressions to describe the characteristics of the the agreement application layer data , discriminant agreement by regex depth detection packet type . The papers include the following : (1) NFA match engine and DFA matching engine , DFA - based regular expression packets matching technology . (2) for the DFA state conversion of the expansion of the storage space in the table , the compression method proposed third of the conversion table . The conversion table is split into three tables , respectively, for the same elements of the respective rows and columns in the table ( s ) there are a lot compression . L7-filter in agreement regex test , the compression ratio is generally more than 95% can be achieved . (3) Based on the first character of the regular expression matching string collection proposes a novel grouping method . This method can effectively reduce the storage space of the DFA , not interested in the speed of packets matching caused too great influence . Thirteen kinds of commonly used protocol for testing, only 24.2% of the packet before using the method of storage space . (4) considering factors such as accuracy , throughput , flexibility , design a combination of hardware and software the protocol identification systems framework , characterized both easy mode automatically compile and fast update , but also can achieve high-speed detection message match . ( 5) to achieve a regular expression protocol identification system based on Gigabit Ethernet . The test results show that the system can achieve Gigabit network link line protocol identification .

Table of contents

Abstract 8-9 ABSTRACT 9-10 first chapter 10-14 1.1 Background 10-11 1.2 topics sense 11-12 1.3 major work 12 1.4 This article structure 12-14 research 14-26 2.1 protocol identification technology Research 14-18 2.1.1 port-based protocol to identify 14-15 2.1.2 Measure-based protocol to identify 15-16 2.1.3 load-based protocol identification 16-18 2.1.4 protocol recognition technology to compare 18 2.2 regular expression matching engine research 18-25 2.2.1 regular expressions and finite automata 18-22 2.2.2 NFA match the engines Research 22-23 2.2.3 DFA match the engine Research 23-24 2.2.4 NFA and DFA matching engine 24-25 2.3 This chapter Summary 25-26 the state transition table compression technology 26-42 3.1 state transition table-thirds compression method 26-34 3.1.1 DFA state conversion table compressibility analysis 26-28 3.1.2 DFA-thirds of the state transition table compression method 28-29 3.1.3 Table of storing and Find algorithm 29-32 3.1.4 split compression method optimized 32-33 3.1.5 effect assessment 33-34 3.2 the a mode grouping method based on the first set of characters 34-40 3.2.1 single state machine matching engine and multi-state machine matching engine 34-35 3.2.2 protocol recognition regular expression characteristics 35-37 3.2.3 regular expression the dual match engine structure 37-40 3.2.4 effect assessment 40 3.3 This chapter Summary 40-42 the protocol identification system design and achieve 42-61 4.1 protocol identification system design 42-46 4.1.1 protocol identification system framework 42-45 4.1.2 protocol identification card overall design 45-46 4.2 protocol to identify the key module 46-58 4.2.1 Flow Management module 46-50 4.2.2 protocol mode characteristics 50-53 4.2.3 Rules configuration module 53-56 4.2.4 packet matching module 56-58 4.3 system test 58-60 4.3.1 system throughput test 58 4.3.2 system accuracy test 58-60 4.4 This chapter Summary 60-61 Chapter Summary and Outlook 61-63 5.1 This article summarizes 61 5.2 Looking 61-63 Acknowledgements 63-64 the References 64-68 the author achieved academic achievements during the study period 68

Related dissertations

  1. The Application Layer Network Protocol Identification Mechanism and Software Implementation
    ChenChuangXin ·Beijing Jiaotong University ·2012 ·Master's thesis
  2. Research and Implementation of Protocol Identification Based on Regular Expression
  3. Research and Realization of High Speed Protocol Identification Based on Regular Expression
  4. Research on Technique of Regular Expression Marching Based on FPGA
  5. Research of Earthquake Insurance Pricing Model Based on DFA
    WangTongMei ·Central South University ·2013 ·Master's thesis
  6. The Research of Content Filtering System Based on Massive Data
    LiangWei ·WRI ·2012 ·Master's thesis
  7. The Tailoring of Linux Kernel Based on Testing Coverage
    GuoRui ·University of North ·2014 ·Master's thesis
  8. Application Protocol Identification Based on Flow Statistics
  9. Research on Multi-pattern Matching Algorithms Based on Regular Expressions and Hardware Implementation
  10. The Research of Protocol Identification Based on the Linux Firewall
    WuLiEn ·Wuhan University of Technology ·2012 ·Master's thesis
  11. Research and Implementation of Audit Monitor Firewall Based on the Framework of the Netfilter
    WuLiangMin ·Hunan University ·2012 ·Master's thesis
  12. The Analysis and Design of Protocol Classification and Restoring System Based on Distributed
  13. The Research of the Honeynet Host Intrusion Detection System Based on Linkage Mechanism
  14. Research and Implementation on Deep Packet Inspection of Firewall
  15. The Design and Implementation of Network Traffic Monitoring System Based on Netfilter/Iptables
  16. A Combining Deterministic Finite Automaton with Logic Rules Approach for Analyzing of E-commerce Protocol
    MaSheng ·Yanshan University ·2012 ·Master's thesis
  17. Research and Implementation of Instant Messenger Safety Management Technology
  18. Reaserch of Anti-Side Channel Attack Method Based on AES
    HaoLiPeng ·Ningbo University ·2012 ·Master's thesis
  19. Optimization of String Match Algorithm in Large Flow Network
    FanYuJian ·Harbin Institute of Technology ·2013 ·Master's thesis
  20. TCAM-based Fast and Scalable Regular Expression Matching