A Novel Compiler for Regular Expression Matching Engine Construction

被引:0
|
作者
Jin, Xin [1 ]
Lin, Jun [1 ]
Wang, Zhongfeng [1 ]
机构
[1] Nanjing Univ, Sch Elect Sci & Engn, Nanjing, Jiangsu, Peoples R China
关键词
D O I
暂无
中图分类号
TM [电工技术]; TN [电子技术、通信技术];
学科分类号
0808 ; 0809 ;
摘要
Using regular expressions in intrusion detection systems (IDS) to represent some dangerous payload contents is a more efficient way than using invariant patterns. For each regular expression in regular expressions rules set a unique Nondeterministic Finite Automaton (NFA) structure is needed to be converted. It is crucial to implement a fast NFA construction. This paper presents a novel method for compiling large-scale regular expression matching engine (REME) on FPGA. We build an intelligent compiler for automatic converting regular expressions into register-transfer-level (RTL) using Verilog language, utilizing only logic slice available on FPGA because of the simple architecture used in the back-end of our compiler. Due to the independent converting method between the converting flow and the block structure, the compiler can easily change the single pattern structure to build the most advanced regular expression-matching engine (REME) which can fit the realistic demand. On a PC with a 3.3 GHz Intel i5-4590 processor and 4 GB memory, our compiler can convert more than one thousand regular expressions in less than 15 seconds. During the converting flow, the compiler provides an arbitrary match string and corresponding test bench file in Verilog as a part of the final output result.
引用
收藏
页码:251 / 256
页数:6
相关论文
共 50 条
  • [1] A regular expression matching engine with hybrid memories
    Chen, Shuhui
    Lu, Rongxing
    COMPUTER STANDARDS & INTERFACES, 2014, 36 (05) : 880 - 888
  • [2] Novel NFA engine construction method of regular expressions
    Jing, Mao-Hua, 1600, Editorial Board of Journal on Communications (35):
  • [3] PaREM: A Novel Approach for Parallel Regular Expression Matching
    Memeti, Suejb
    Pllana, Sabri
    2014 IEEE 17TH INTERNATIONAL CONFERENCE ON COMPUTATIONAL SCIENCE AND ENGINEERING (CSE), 2014, : 690 - 697
  • [4] High Speed Regular Expression Matching Engine with Fast Pre-Processing
    Fu, Zhe
    Li, Jun
    CHINA COMMUNICATIONS, 2019, 16 (02) : 177 - 188
  • [5] A Flexible and Compact Regular Expression Matching Engine Using Partial Reconfiguration for FPGA
    Wakaba, Yoichi
    Nagayama, Shinobu
    Wakabayashi, Shin'ichi
    Inagi, Masato
    16TH EUROMICRO CONFERENCE ON DIGITAL SYSTEM DESIGN (DSD 2013), 2013, : 293 - 296
  • [6] High Speed Regular Expression Matching Engine with Fast Pre-Processing
    Zhe Fu
    Jun Li
    中国通信, 2019, 16 (02) : 177 - 188
  • [7] A Systolic Regular Expression Pattern Matching Engine and its Application to Network Intrusion Detection
    Kawanaka, Yosuke
    Wakabayashi, Shin'ichi
    Nagayama, Shinobu
    PROCEEDINGS OF THE 2008 INTERNATIONAL CONFERENCE ON FIELD-PROGRAMMABLE TECHNOLOGY, 2008, : 297 - 300
  • [8] 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,
  • [9] 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
  • [10] Benchmarking Regular Expression Matching
    Roodt, Alexander
    Watling, Brendan Keith Mark
    Bester, Willem
    van der Merwe, Brink
    Sung, Sicheol
    Han, Yo-Sub
    IMPLEMENTATION AND APPLICATION OF AUTOMATA, CIAA 2024, 2024, 15015 : 316 - 331