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 条
  • [1] Efficient Regular Expression Matching on Compressed Strings
    Han, Yutong
    Wang, Bin
    Yang, Xiaochun
    Zhu, Huaijie
    DATABASE SYSTEMS FOR ADVANCED APPLICATIONS (DASFAA 2017), PT II, 2017, 10178 : 219 - 234
  • [2] Reinhardt: Real-time Reconfigurable Hardware Architecture for Regular Expression Matching in DPI
    Park, Taejune
    Nam, Jaehyun
    Na, Seung Ho
    Chung, Jaewoong
    Shin, Seungwon
    37TH ANNUAL COMPUTER SECURITY APPLICATIONS CONFERENCE, ACSAC 2021, 2021, : 620 - 633
  • [3] Efficient Parallelization of Regular Expression Matching for Deep Inspection
    Fu, Zhe
    Liu, Zhi
    Li, Jun
    2017 26TH INTERNATIONAL CONFERENCE ON COMPUTER COMMUNICATION AND NETWORKS (ICCCN 2017), 2017,
  • [4] Efficient regular expression matching over compressed traffic
    Sun, Xiuwen
    Li, Hao
    Zhao, Dan
    Lu, Xingxing
    Peng, Zheng
    Hu, Chengchen
    COMPUTER NETWORKS, 2020, 168 (168)
  • [5] Reorganized and compact DFA for efficient regular expression matching
    Wang, Kai
    Qi, Yaxuan
    Xue, Yibo
    Li, Jun
    IEEE International Conference on Communications, 2011,
  • [6] Exploring efficient grouping algorithms in regular expression matching
    Xu, Chengcheng
    Su, Jinshu
    Chen, Shuhui
    PLOS ONE, 2018, 13 (10):
  • [7] Reorganized and Compact DFA for Efficient Regular Expression Matching
    Wang, Kai
    Qi, Yaxuan
    Xue, Yibo
    Li, Jun
    2011 IEEE INTERNATIONAL CONFERENCE ON COMMUNICATIONS (ICC), 2011,
  • [8] A Method of Regular Expression Matching for Library Server Systems
    Wang, Peifeng
    2015 ACSS INTERNATIONAL CONFERENCE ON THE SOCIAL SCIENCES AND TEACHING RESEARCH (ACSS-SSTR 2015), 2015, 14 : 160 - 165
  • [9] Efficient Regular Expression Matching Based on Positional Inverted Index
    Qiu, Tao
    Yang, Xiaochun
    Wang, Bin
    Wang, Wei
    IEEE TRANSACTIONS ON KNOWLEDGE AND DATA ENGINEERING, 2022, 34 (03) : 1133 - 1148
  • [10] An Efficient Pre-filter to Accelerate Regular Expression Matching
    Xu, Chengcheng
    Chen, Shuhui
    Wang, Xiaofeng
    Su, Jinshu
    ALGORITHMS AND ARCHITECTURES FOR PARALLEL PROCESSING, ICA3PP 2015, 2015, 9532 : 111 - 119