Picking Pesky Parameters: Optimizing Regular Expression Matching in Practice

被引:10
作者
Chen, Xinming [1 ]
Jones, Brandon [2 ]
Becchi, Michela [2 ]
Wolf, Tilman [1 ]
机构
[1] Univ Massachusetts, Dept Elect & Comp Engn, Amherst, MA 01003 USA
[2] Univ Missouri, Dept Elect & Comp Engn, Columbia, MO USA
基金
美国国家科学基金会;
关键词
Network security; deep packet inspection; deterministic finite automaton; non-deterministic finite automaton; regular expressions; design space exploration;
D O I
10.1109/TPDS.2015.2453986
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
Network security systems inspect packet payloads for signatures of attacks. These systems use regular expression matching at their core. Many techniques for implementing regular expression matching at line rate have been proposed. Solutions differ in the type of automaton used (i.e., deterministic versus non-deterministic) and in the configuration of implementation-specific parameters. While each solution has been shown to perform well on specific rule sets and traffic patterns, there has been no systematic comparison across a large set of solutions, rule sets and traffic patterns. Thus, it is extremely challenging for a practitioner to make an informed decision within the plethora of existing algorithmic and architectural proposals. Moreover, as multi-core processors are becoming popular, many parameters need to be tuned to maximize the multi-core potential. To address this problem, we present a comprehensive evaluation of a broad set of regular expression matching techniques. We consider both algorithmic and architectural aspects. Specifically, we explore the performance, area requirements, and power consumption of implementations targeting multi-core processors and FPGAs using rule sets of practical size and complexity. We present detailed performance results and specific guidelines for determining optimal configurations based on a simple evaluation of the rule set. These guidelines can help significantlywhen implementing regular expression matching systems in practice.
引用
收藏
页码:1430 / 1442
页数:13
相关论文
共 24 条
  • [1] [Anonymous], 2011, SER ICAC 11
  • [2] [Anonymous], P ACM CONEXT
  • [3] Becchi M., 2008, INT C ARCHITECTURES, P50, DOI DOI 10.1145/1477942.1477950
  • [4] A-DFA: A Time- and Space-Efficient DFA Compression Algorithm for Fast Regular Expression Evaluation
    Becchi, Michela
    Crowley, Patrick
    [J]. ACM TRANSACTIONS ON ARCHITECTURE AND CODE OPTIMIZATION, 2013, 10 (01)
  • [5] Becchi M, 2008, I S WORKL CHAR PROC, P73
  • [6] Binkert Nathan, 2011, Computer Architecture News, V39, P1, DOI 10.1145/2024716.2024718
  • [7] Brodie BC, 2006, CONF PROC INT SYMP C, P191, DOI 10.1145/1150019.1136500
  • [8] Fang Yu, 2006, ACM/IEEE Symposium on Architectures for Networking and Communications Systems (ANCS 2006), P93, DOI 10.1109/ANCS.2006.4579527
  • [9] An Improved DFA for Fast Regular Expression Matching
    Ficara, Domenico
    Giordano, Stefano
    Procissi, Gregorio
    Vitucci, Fabio
    Antichi, Gianni
    Di Pietro, Andrea
    [J]. ACM SIGCOMM COMPUTER COMMUNICATION REVIEW, 2008, 38 (05) : 31 - 40
  • [10] Gebert S., 2012 INT C TRAFF MON