A fast and scalable regular expression matching method for deep packet inspection

Shuzhuang Zhang,Zhigang Wu,Hao Luo
DOI: https://doi.org/10.12733/jcis6199
2013-01-01
Journal of Computational Information Systems
Abstract:Nowadays, Deterministic Finite Automaton (DFA) is widely used to compare packet contents at a constant speed against a set of regular expressions in network security inspections. However, combining many regular expressions into a single DFA causes a serious state explosion, which makes them impractical on large-scale rule set. To address this issue, this paper analyzed the cause of "state explosion" in the process of subset construction and proposed DNFA, a hybrid finite automaton. DNFA can avoid state explosion by converting DFA states to constrained NFA states. DNFA takes advantage of the high processing efficiency of DFA and the compact representation of NFA to achieve a better tradeoff between space and time complexity. Its multi-layer structure is more suitable for complex regular expression rules. The experimental results show that this proposal can provide a high throughout with a moderate memory requirement. © 2013 by Binary Information Press.
What problem does this paper attempt to address?