Design and optimizations for efficient regular expression matching in DPI systems

被引:12
|
作者
Antonello, Rafael [1 ]
Fernandes, Stenio [1 ]
Sadok, Djamel [1 ]
Kelner, Judith [1 ]
Szabo, Geza [2 ]
机构
[1] Univ Fed Pernambuco UFPE, Recife, PE, Brazil
[2] Ericsson Res, Traff Lab, Budapest, Hungary
关键词
DFA optimization; Deep Packet Inspection; Performance evaluation; Computer network;
D O I
10.1016/j.comcom.2014.12.011
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Efficient techniques for pattern matching are essential in a number of networked systems and services, such as intrusion detection systems, application identification and classification services, and traffic management. Most pattern matching applications describe patterns using regular expression and the support engine is Deterministic Finite Automaton (FA). Previous research studies address either performance or space requirements issues. From the original DFA formalism we design and evaluate optimizations to its representation and operation to meet Deep Packet Inspection (DPI) systems' requirements for commodity platforms, such as (i) decreasing the original DFA memory consumption (high compression ratio) and (ii) performing pattern matching as fast as the original DFA. Our approach spans from designing the DFA to developing memory layouts to get the most of the underlying architecture. The contributions of this work are threefold: (i) a new and improved finite automaton model, called Ranged Compressed DFA (RCDFA), (ii) three RCDFA optimizations for achieving more compression and matching speed, and (iii) three advanced layouts for implementing the compressed automaton without memory and performance penalties. The experimental evaluation shows that RCDFA compresses DFA up to 99% without imposing additional memory lookups. The proposed advanced layouts reach memory compression of around 97%. RCDFA together with the advanced layouts outperforms the standard DFA by up to 32 times in terms of processing speed. (C) 2015 Elsevier B.V. All rights reserved.
引用
收藏
页码:103 / 120
页数:18
相关论文
共 50 条
  • [41] Translating regular expression matching into transducers
    Sakuma, Yuto
    Minamide, Yasuhiko
    Voronkov, Andrei
    JOURNAL OF APPLIED LOGIC, 2012, 10 (01) : 32 - 51
  • [42] General parsing with regular expression matching
    Borsotti, Angelo
    Breveglieri, Luca
    Reghizzi, Stefano Crespi
    Morzenti, Angelo
    JOURNAL OF COMPUTER LANGUAGES, 2023, 74
  • [43] Translating Regular Expression Matching into Transducers
    Minamide, Yasuhiko
    Sakuma, Yuto
    Voronkov, Andrei
    12TH INTERNATIONAL SYMPOSIUM ON SYMBOLIC AND NUMERIC ALGORITHMS FOR SCIENTIFIC COMPUTING (SYNASC 2010), 2011, : 107 - 115
  • [44] From regular expression matching to parsing
    Philip Bille
    Inge Li Gørtz
    Acta Informatica, 2022, 59 : 709 - 724
  • [45] Regular Expression matching with memristor TCAMs
    Graves, Catherine E.
    Ma, Wen
    Sheng, Xia
    Buchanan, Brent
    Zheng, Le
    Lam, Si-Ty
    Li, Xuema
    Chalamalasetti, Sai Rahul
    Kiyama, Lennie
    Foltin, Martin
    Hardy, Matthew P.
    Strachan, John Paul
    2018 IEEE INTERNATIONAL CONFERENCE ON REBOOTING COMPUTING (ICRC), 2018, : 242 - 252
  • [46] Regular expression matching in reconfigurable hardware
    Sourdis, Ioannis
    Vassiliadis, Stamatis
    Bispo, Joao
    Cardoso, Joao M. P.
    JOURNAL OF SIGNAL PROCESSING SYSTEMS FOR SIGNAL IMAGE AND VIDEO TECHNOLOGY, 2008, 51 (01): : 99 - 121
  • [47] Regular expression pattern matching for XML
    Hosoya, H
    Pierce, B
    ACM SIGPLAN NOTICES, 2001, 36 (03) : 67 - 80
  • [48] Practical private regular expression matching
    Kerschbaum, Florian
    Security and Privacy in Dynamic Environments, 2006, 201 : 461 - 470
  • [49] Regular Expression Matching and Operational Semantics
    Rathnayake, Asiri
    Thielecke, Hayo
    ELECTRONIC PROCEEDINGS IN THEORETICAL COMPUTER SCIENCE, 2011, (62): : 31 - 45
  • [50] Text Indexing for Regular Expression Matching
    Gibney, Daniel
    Thankachan, Sharma, V
    ALGORITHMS, 2021, 14 (05)