Title :
Scalable TCAM-based regular expression matching with compressed finite automata
Author :
Huang, Kun ; Ding, Linxuan ; Xie, Gaogang ; Zhang, Dafang ; Liu, Alex X. ; Salamatian, Kave
Author_Institution :
Institute of Computing Technology, CAS, Beijing 100190, China
Abstract :
Regular expression (RegEx) matching is a core function of deep packet inspection in modern network devices. Previous TCAM-based RegEx matching algorithms a priori assume that a deterministic finite automaton (DFA) can be built for a given set of RegEx patterns. However, practical RegEx patterns contain complex terms like wildcard closure and repeat character, and it may be impossible to build a DFA with a reasonable number of states. This results in prior work to being infeasible in practice. Moreover, TCAM-based RegEx matching is required to scale to a large-scale set of RegEx patterns. In this paper, we propose a compressed finite automaton implementation called (CFA) for scalable TCAM-based RegEx matching. CFA is designed to reduce TCAM space by using three compression techniques: transition, character, and state compressions. Experiments on realistic RegEx pattern sets show CFA highly outperforms previous solutions in terms of TCAM space, matching throughput, and TCAM power consumption.
Keywords :
Automata; Doped fiber amplifiers; Explosions; Merging; Pattern matching; Power demand; Throughput; Intrusion detection; compressed finite automaton; regular expression; signature matching;
Conference_Titel :
Architectures for Networking and Communications Systems (ANCS), 2013 ACM/IEEE Symposium on
Conference_Location :
San Jose, CA, USA
Print_ISBN :
978-1-4799-1640-5
DOI :
10.1109/ANCS.2013.6665178