• DocumentCode
    3099030
  • Title

    SRD-DFA: Achieving Sub-rule Distinguishing with Extended DFA Structure

  • Author

    Xia, Gao ; Wang, Xiaofei ; Bin Liu

  • Author_Institution
    Dept. of Comput. Sci. & Technol., Tsinghua Univ., Beijing, China
  • fYear
    2009
  • fDate
    12-14 Dec. 2009
  • Firstpage
    723
  • Lastpage
    728
  • Abstract
    Deep packet inspection (DPI) relies highly on regular expression due to its power of description, generalization and flexibility. In DPI, packet payload is compared against a large number of rules written in regular expression. To achieve high throughput, multiple regular expressions are combined and compiled into one DFA, which leads to two problems: a) State explosion; b) Sub-rule distinguishing in the combined rule set. While the first problem has been extensively studied in the recent years, we did not find any literature which formally discusses the second problem in detail. We formulate it and propose sub-rule distinguishable DFA (SRD-DFA), an extended DFA structure, and develop techniques to distinguish sub-rules from multiple regular expressions upon this structure. SRD-DFA can achieve the same throughput as minimized DFA, since it only incurs little extra memory consumption without extra run-time computation. Experimental results under the L7-filter rule set and a subset of Snort rule set demonstrate that our approach achieves 8 to 14 times higher throughput than the DFA without rule combination, while only introducing less than 8.4% overhead of state increase compared to the minimized DFA after rule combination. SRD-DFA can be easily used with advanced DFA compression algorithms to achieve much less memory consumption.
  • Keywords
    data compression; deterministic automata; finite automata; DFA compression algorithms; L7-filter rule set; Snort rule set; advanced DFA compression algorithms; deep packet inspection; deterministic finite automata; extended DFA structure; memory consumption; packet payload; subrule distinguishable DFA; Automata; Computer science; Doped fiber amplifiers; Engines; Explosions; Inspection; Intrusion detection; Pattern matching; Power engineering and energy; Throughput; DFA; Minimization; Regular Expression;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Dependable, Autonomic and Secure Computing, 2009. DASC '09. Eighth IEEE International Conference on
  • Conference_Location
    Chengdu
  • Print_ISBN
    978-0-7695-3929-4
  • Electronic_ISBN
    978-1-4244-5421-1
  • Type

    conf

  • DOI
    10.1109/DASC.2009.71
  • Filename
    5380614