Title :
Speculative Parallel Pattern Matching
Author :
Luchaup, Daniel ; Smith, Randy ; Estan, Cristian ; Jha, Somesh
Author_Institution :
Dept. of Comput. Sci., Univ. of Wisconsin at Madison, Madison, WI, USA
fDate :
6/1/2011 12:00:00 AM
Abstract :
Intrusion prevention systems (IPSs) determine whether incoming traffic matches a database of signatures, where each signature is a regular expression and represents an attack or a vulnerability. IPSs need to keep up with ever-increasing line speeds, which has lead to the use of custom hardware. A major bottleneck that IPSs face is that they scan incoming packets one byte at a time, which limits their throughput and latency. In this paper, we present a method to search for arbitrary regular expressions by scanning multiple bytes in parallel using speculation. We break the packet in several chunks, opportunistically scan them in parallel, and if the speculation is wrong, correct it later. We present algorithms that apply speculation in single-threaded software running on commodity processors as well as algorithms for parallel hardware. Experimental results show that speculation leads to improvements in latency and throughput in both cases.
Keywords :
database management systems; pattern matching; security of data; IPS; intrusion prevention systems; parallel hardware; speculative parallel pattern matching; Couplings; Doped fiber amplifiers; Hardware; History; Pattern matching; Software algorithms; Throughput; Low latency; multibyte; multibyte matching; parallel pattern matching; parallel regular expression matching; regular expressions; speculative pattern matching;
Journal_Title :
Information Forensics and Security, IEEE Transactions on
DOI :
10.1109/TIFS.2011.2112647