ENREM: An efficient NFA-based regular expression matching engine on reconfigurable hardware for NIDS

被引:14
|
作者
Tran Trung Hieu [1 ]
Tran Ngoc Thinh [1 ]
Tomiyama, Shigenori [2 ]
机构
[1] HCM Univ Technol HCMUT, Dept Comp Engn, Ho Chi Minh City, Vietnam
[2] Tokai Univ, Sch Informat & Telecommun Engn, Tokyo 151, Japan
关键词
DFA; DPI; NFA; NIDS; PCRE; Regular expression;
D O I
10.1016/j.sysarc.2013.03.013
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
Regular expression is a critical mechanism in modern network security and widely used in network intrusion detection system to describe malicious patterns. In order to speed up the pattern matching process, a number of studies have been investigated to implement regular expression matching on reconfigurable hardware. Several optimizations have been proposed, however the problem of sharing sub-patterns between multiple regular expressions is not solved completely. In this paper we present ENREM, an Efficient NFA-based Regular Expression Matching Engine on reconfigurable hardware. We introduce a new infix and suffix sharing architecture and employ it along with several techniques to optimize the required area of pattern matching circuits. In addition we developed tools for automatically generating the Verilog HDL source code of ENREM circuit from any given set of Perl compatible regular expression patterns. In order to evaluate proposed architecture, we exploit Snort rules and implement ENREM on Xilinx Virtex-II Pro XC2VP-50 FPGA. The system is tested on NetFPGA platform with DARPA intrusion detection as input data to verify the accuracy of circuit. The experimental results show that ENREM can reduce 42% LUTs and 32% FlipFlops compared with previous approaches while maintains high-speed matching throughput from 1.45 to 2.35 Gbps. (c) 2013 Elsevier B.V. All rights reserved.
引用
收藏
页码:202 / 212
页数:11
相关论文
共 50 条
  • [31] Towards efficient NFA-based selective near-infrared organic photodetectors: impact of thermal annealing of polymer blends
    Eynaud, Q.
    Quiroz, Y. A. Avalos
    Koganezawa, T.
    Sato, R.
    Yoshimoto, N.
    Margeat, O.
    Ruiz, C. M.
    Ackermann, J.
    Videlot-Ackermann, C.
    JOURNAL OF MATERIALS CHEMISTRY C, 2023, 11 (28) : 9657 - 9669
  • [32] PiDFA: A Practical Multi-stride Regular Expression Matching Engine Based On FPGA
    Yang, Jiajia
    Jiang, Lei
    Tang, Qiu
    Dai, Qiong
    Tan, Jianlong
    2016 IEEE INTERNATIONAL CONFERENCE ON COMMUNICATIONS (ICC), 2016,
  • [33] 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
  • [34] A Power-Efficient Approach to TCAM-based Regular Expression Matching
    Huang, Kun
    Chen, Xuelin
    2018 27TH INTERNATIONAL CONFERENCE ON COMPUTER COMMUNICATION AND NETWORKS (ICCCN), 2018,
  • [35] 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,
  • [36] Efficient regular expression matching over compressed traffic
    Sun, Xiuwen
    Li, Hao
    Zhao, Dan
    Lu, Xingxing
    Peng, Zheng
    Hu, Chengchen
    COMPUTER NETWORKS, 2020, 168 (168)
  • [37] Reorganized and compact DFA for efficient regular expression matching
    Wang, Kai
    Qi, Yaxuan
    Xue, Yibo
    Li, Jun
    IEEE International Conference on Communications, 2011,
  • [38] Exploring efficient grouping algorithms in regular expression matching
    Xu, Chengcheng
    Su, Jinshu
    Chen, Shuhui
    PLOS ONE, 2018, 13 (10):
  • [39] 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,
  • [40] Software-Hardware Codesign for Efficient In-Memory Regular Pattern Matching
    Kong, Lingkun
    Yu, Qixuan
    Chattopadhyay, Agnishom
    Le Glaunec, Alexis
    Huang, Yi
    Mamouras, Konstantinos
    Yang, Kaiyuan
    PROCEEDINGS OF THE 43RD ACM SIGPLAN INTERNATIONAL CONFERENCE ON PROGRAMMING LANGUAGE DESIGN AND IMPLEMENTATION (PLDI '22), 2022, : 733 - 748