2010 · 103 citations · 32 references
EngineeringComputer EngineeringComputer ScienceComputer ArchitectureComputer SecurityNetwork SecurityHardware AccelerationIntrusion DetectionLookup TablesNetwork-on-chip DesignContent-addressable MemoryDeep Packet InspectionNetwork Intrusion DetectionNetwork-based Intrusion DetectionNetworkingPacket ClassificationPacket InspectionRegular Expression Matching
Regular expression (RE) matching is a core component of deep packet inspection in modern networking and security devices. In this paper, we propose the first hardware-based RE matching approach that uses Ternary Content Addressable Memories (TCAMs), which are off-the-shelf chips and have been widely deployed in modern networking devices for packet classification. We propose three novel techniques to reduce TCAM space and improve RE matching speed: transition sharing, table consolidation, and variable striding. We tested our techniques on 8 real-world RE sets, and our results show that small TCAMs can be used to store large DFAs and achieve potentially high RE matching throughtput. For space, we were able to store each of the corresponding 8 DFAs with as many as 25,000 states in a 0.59Mb TCAM chip where the number of TCAM bits required per DFA
32
Alfred V. Aho, Margaret J. Corasick · Communications of the ACM · 1975 · 2.9K citations · Full text
Fast Regular Expression Matching Using FPGAs
Reetinder Sidhu, Viktor K. Prasanna · 2001 · 533 citations
Fast and memory-efficient regular expression matching for deep packet inspection
Yu Fang, Zhifeng Chen, Yanlei Diao et al. · 2006 · 462 citations
Deterministic memory-efficient string matching algorithms for intrusion detection
Nathan Tuck, Timothy Sherwood, Brad Calder et al. · 2005 · 397 citations