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
相关论文
共 50 条
  • [1] Regular Expression Matching with Pipelined Delayed Input DFAs for High-speed Networks
    Matousek, Denis
    Kubis, Juraj
    Matousek, Jiri
    Korenek, Jan
    PROCEEDINGS OF THE 2018 SYMPOSIUM ON ARCHITECTURES FOR NETWORKING AND COMMUNICATIONS SYSTEMS (ANCS '18), 2018, : 104 - 110
  • [2] Fast and compact regular expression matching
    Bille, Philip
    Farach-Colton, Martin
    THEORETICAL COMPUTER SCIENCE, 2008, 409 (03) : 486 - 496
  • [3] An Improved DFA for Fast Regular Expression Matching
    Ficara, Domenico
    Giordano, Stefano
    Procissi, Gregorio
    Vitucci, Fabio
    Antichi, Gianni
    Di Pietro, Andrea
    ACM SIGCOMM COMPUTER COMMUNICATION REVIEW, 2008, 38 (05) : 31 - 40
  • [4] TOOLS FOR VERY FAST REGULAR EXPRESSION MATCHING
    Pasetto, Davide
    Petrini, Fabrizio
    Agarwal, Virat
    COMPUTER, 2010, 43 (03) : 50 - 58
  • [5] Towards Fast Regular Expression Matching in Practice
    Wang, Kai
    Li, Jun
    ACM SIGCOMM COMPUTER COMMUNICATION REVIEW, 2013, 43 (04) : 531 - 532
  • [6] Fast Regular Expression Matching in a Large Static Text
    Abu Hawas, Fatma
    Arslan, Abdullah N.
    2016 INTERNATIONAL CONFERENCE ON COMPUTATIONAL SCIENCE & COMPUTATIONAL INTELLIGENCE (CSCI), 2016, : 1304 - 1309
  • [7] Fast Regular Expression Matching Using Small TCAM
    Meiners, Chad R.
    Patel, Jignesh
    Norige, Eric
    Liu, Alex X.
    Torng, Eric
    IEEE-ACM TRANSACTIONS ON NETWORKING, 2014, 22 (01) : 94 - 109
  • [8] ParaRegex: Towards Fast Regular Expression Matching in Parallel
    Fu, Zhe
    Liu, Zhi
    Li, Jun
    PROCEEDINGS OF THE 2016 SYMPOSIUM ON ARCHITECTURES FOR NETWORKING AND COMMUNICATIONS SYSTEMS (ANCS'16), 2016, : 113 - 114
  • [9] Fast algorithms for extended regular expression matching and searching
    Ilie, L
    Shan, BZ
    Yu, S
    STACS 2003, PROCEEDINGS, 2003, 2607 : 179 - 190
  • [10] Overlay Automata and Algorithms for Fast and Scalable Regular Expression Matching
    Liu, Alex X.
    Torng, Eric
    IEEE-ACM TRANSACTIONS ON NETWORKING, 2016, 24 (04) : 2400 - 2415