Title :
Differential Encoding of DFAs for Fast Regular Expression Matching
Author :
Ficara, Domenico ; Pietro, Andrea Di ; Giordano, Stefano ; Procissi, Gregorio ; Vitucci, Fabio ; Antichi, Gianni
Author_Institution :
Dipt. di Ing. dell´´Inf., Univ. di Pisa, Pisa, Italy
fDate :
6/1/2011 12:00:00 AM
Abstract :
Deep packet inspection is a fundamental task to improve network security and provide application-specific services. State-of-the-art systems adopt regular expressions due to their high expressive power. They are typically matched through deterministic finite automata (DFAs), but large rule sets need a memory amount that turns out to be too large for practical implementation. Many recent works have proposed improvements to address this issue, but they increase the number of transitions (and then of memory accesses) per character. This paper presents a new representation for DFAs, orthogonal to most of the previous solutions, called delta finite automata ( δFA), which considerably reduces states and transitions while preserving a transition per character only, thus allowing fast matching. A further optimization exploits Nth order relationships within the DFA by adopting the concept of “temporary transitions”.
Keywords :
deterministic automata; encoding; finite automata; pattern matching; DFA; application-specific services; deep packet inspection; delta finite automata; deterministic finite automata; differential encoding; fast regular expression matching; network security; Automata; Bandwidth; Doped fiber amplifiers; Encoding; Inspection; Instruction sets; Memory management; Deep packet inspection; differential encoding; finite automata (FAs); pattern matching; regular expressions;
Journal_Title :
Networking, IEEE/ACM Transactions on
DOI :
10.1109/TNET.2010.2089639