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 条
  • [21] Sparse Regular Expression Matching
    Bille, Philip
    Gortz, Inge Li
    PROCEEDINGS OF THE 2024 ANNUAL ACM-SIAM SYMPOSIUM ON DISCRETE ALGORITHMS, SODA, 2024, : 3354 - 3375
  • [22] Selective Regular Expression Matching
    Stakhanova, Natalia
    Ren, Hanli
    Ghorbani, Ali A.
    INFORMATION SECURITY, 2011, 6531 : 226 - +
  • [23] Faster Regular Expression Matching
    Bille, Philip
    Thorup, Mikkel
    AUTOMATA, LANGUAGES AND PROGRAMMING, PT I, 2009, 5555 : 171 - +
  • [24] Computing matching statistics on Wheeler DFAs
    Conte, Alessio
    Cotumaccio, Nicola
    Gagie, Travis
    Manzini, Giovanni
    Prezza, Nicola
    Sciortino, Marinella
    2023 DATA COMPRESSION CONFERENCE, DCC, 2023, : 150 - 159
  • [25] FREME: A pattern partition based engine for fast and scalable regular expression matching in practice
    Wang, Kai
    Li, Jun
    JOURNAL OF NETWORK AND COMPUTER APPLICATIONS, 2015, 55 : 154 - 169
  • [26] Fast Matching of Regular Patterns with Synchronizing Counting
    Holik, Lukas
    Sic, Juraj
    Turonova, Lenka
    Vojnar, Tomas
    FOUNDATIONS OF SOFTWARE SCIENCE AND COMPUTATION STRUCTURES, FOSSACS 2023, 2023, 13992 : 392 - 412
  • [27] A Fast Regular Expressions Matching Algorithm for NIDS
    Zhang, Meng-meng
    Sun, Yan
    Wang, Jing-zhong
    APPLIED MATHEMATICS & INFORMATION SCIENCES, 2013, 7 (02): : 755 - 761
  • [28] From regular expression matching to parsing
    Bille, Philip
    Li Gortz, Inge
    ACTA INFORMATICA, 2022, 59 (06) : 709 - 724
  • [29] Regular expression pattern matching for XML
    Hosoya, H
    Pierce, BC
    JOURNAL OF FUNCTIONAL PROGRAMMING, 2003, 13 : 961 - 1004
  • [30] Translating regular expression matching into transducers
    Sakuma, Yuto
    Minamide, Yasuhiko
    Voronkov, Andrei
    JOURNAL OF APPLIED LOGIC, 2012, 10 (01) : 32 - 51