Speculative Parallel Pattern Matching

被引:24
作者
Luchaup, Daniel [1 ]
Smith, Randy
Estan, Cristian
Jha, Somesh [1 ]
机构
[1] Univ Wisconsin, Dept Comp Sci, Madison, WI 53706 USA
关键词
Low latency; multibyte; multibyte matching; parallel pattern matching; parallel regular expression matching; regular expressions; speculative pattern matching; INTRUSION DETECTION;
D O I
10.1109/TIFS.2011.2112647
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
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.
引用
收藏
页码:438 / 451
页数:14
相关论文
共 33 条
[1]  
AHO AV, 1975, P COMM ACM JUN, P333
[2]  
Alicherry M, 2006, PROCEEDINGS OF THE 2006 IEEE INTERNATIONAL CONFERENCE ON NETWORK PROTOCOLS, P183
[3]  
Becchi M., 2007, Proceedings of the 3rd ACM/IEEE Symposium on Architecture for Networking and Communications Systems, P145, DOI DOI 10.1145/1323548.1323573
[4]  
BECCHI M, 2008, P 2008 ACM IEEE S AR
[5]  
Brodie BC, 2006, CONF PROC INT SYMP C, P191, DOI 10.1145/1150019.1136500
[6]   Industrial level sensing with radar [J].
Brumbi, D .
FREQUENZ, 2006, 60 (1-2) :2-5
[7]  
Clark CR, 2004, ANN IEEE SYM FIELD P, P249, DOI 10.1109/fccm.2004.50
[8]   Fast and scalable pattern matching for network intrusion detection systems [J].
Dharmapurikar, Sarang ;
Lockwood, John W. .
IEEE JOURNAL ON SELECTED AREAS IN COMMUNICATIONS, 2006, 24 (10) :1781-1792
[9]   An Improved DFA for Fast Regular Expression Matching [J].
Ficara, Domenico ;
Giordano, Stefano ;
Procissi, Gregorio ;
Vitucci, Fabio ;
Antichi, Gianni ;
Di Pietro, Andrea .
ACM SIGCOMM COMPUTER COMMUNICATION REVIEW, 2008, 38 (05) :31-40
[10]  
Handley M, 2001, USENIX ASSOCIATION PROCEEDINGS OF THE 10TH USENIX SECURITY SYMPOSIUM, P115