2011 · 32 citations · 18 references
ComputingComputer EngineeringComputer ScienceAlgorithmsComputer ArchitectureNetwork SecurityData CompressionPattern RecognitionCompressionCompression AlgorithmsCompression TechniquesLow-complexity Compression AlgorithmsMemory Footprint ReductionPattern MatchingRegular Expression MatchingRegular Expressions
Deep packet inspection plays a increasingly important role in network security devices and applications, which use more regular expressions to depict patterns. DFA engine is usually used as a classical representation for regular expressions to perform pattern matching, because it only need O(1) time to process one input character. However, DFAs of regular expression sets require large amount of memory, which limits the practical application of regular expressions in high-speed networks. Some compression algorithms have been proposed to address this issue in recent literatures. In this paper, we reconsider this problem from a new perspective, namely observing the characteristic of transition distribution inside each state, which is different from previous algorithms that observe transition characteristic among states. Furthermore, we introduce a new compression algorithm which can reduce 95% memory usage of DFA stably without significant impact on matching speed. Moreover, our work is orthogonal to previous compression algorithms, such as D2FA, δFA. Our experiment results show that applying our work to them will have several times memory reduction, and matching speed of up to dozens of times comparing with original δFA in software implementation.
18
Snort - Lightweight Intrusion Detection for Networks
Martin Roesch · 1999 · 3.1K citations
Bro: a system for detecting network intruders in real-time
Vern Paxson · Computer Networks · 1999 · 2.4K citations
Programming Techniques: Regular expression search algorithm
Thompson Ken · Communications of the ACM · 1968 · 839 citations · Full text
Fast and memory-efficient regular expression matching for deep packet inspection
Yu Fang, Zhifeng Chen, Yanlei Diao et al. · 2006 · 462 citations