Differential Encoding of DFAs for Fast Regular Expression Matching

被引:21
作者
Ficara, Domenico [1 ]
Di Pietro, Andrea [1 ]
Giordano, Stefano [1 ]
Procissi, Gregorio [1 ]
Vitucci, Fabio [1 ]
Antichi, Gianni [1 ]
机构
[1] Univ Pisa, Dipartimento Ingn Informaz, I-56122 Pisa, Italy
关键词
Deep packet inspection; differential encoding; finite automata (FAs); pattern matching; regular expressions;
D O I
10.1109/TNET.2010.2089639
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
Deep packet inspection is a fundamental task to improve network security and provide application-specific services. State-of-the-art systems adopt regular expressions due to their high expressive power. They are typically matched through deterministic finite automata (DFAs), but large rule sets need a memory amount that turns out to be too large for practical implementation. Many recent works have proposed improvements to address this issue, but they increase the number of transitions (and then of memory accesses) per character. This paper presents a new representation for DFAs, orthogonal to most of the previous solutions, called delta finite automata (delta FA), which considerably reduces states and transitions while preserving a transition per character only, thus allowing fast matching. A further optimization exploits Nth order relationships within the DFA by adopting the concept of "temporary transitions."
引用
收藏
页码:683 / 694
页数:12
相关论文
共 20 条
  • [1] EFFICIENT STRING MATCHING - AID TO BIBLIOGRAPHIC SEARCH
    AHO, AV
    CORASICK, MJ
    [J]. COMMUNICATIONS OF THE ACM, 1975, 18 (06) : 333 - 340
  • [2] [Anonymous], P 9 ANN IEEE S FIELD
  • [3] Becchi M., 2007, Proceedings of the 3rd ACM/IEEE Symposium on Architecture for Networking and Communications Systems, P145, DOI DOI 10.1145/1323548.1323573
  • [4] Becchi M., 2009, REGEX TOOL
  • [5] Becchi M., 2007, P 2007 ACM CONEXT C, P1
  • [6] Memory-efficient regular expression search using state merging
    Becchi, Michela
    Cadambi, Srihari
    [J]. INFOCOM 2007, VOLS 1-5, 2007, : 1064 - +
  • [7] COMMENTZWALTER B, 1979, P 6 INT C AUT LANG P, P118
  • [8] An Improved DFA for Fast Regular Expression Matching
    Ficara, Domenico
    Giordano, Stefano
    Procissi, Gregorio
    Vitucci, Fabio
    Antichi, Gianni
    Di Pietro, Andrea
    [J]. ACM SIGCOMM COMPUTER COMMUNICATION REVIEW, 2008, 38 (05) : 31 - 40
  • [9] Johnson ErikJ., 2003, IXP2400 2800 PROGRAM
  • [10] Algorithms to accelerate multiple regular expressions matching for deep packet inspection
    Kumar, Sailesh
    Dharmapurikar, Sarang
    Yu, Fang
    Crowley, Patrick
    Turner, Jonathan
    [J]. ACM SIGCOMM COMPUTER COMMUNICATION REVIEW, 2006, 36 (04) : 339 - 350