期刊文献+

面向深度包检测的DFA细粒度并行匹配方法 被引量:5

Fine-Grained Parallel Regular Expression Matching for Deep Packet Inspection
下载PDF
导出
摘要 确定性有限自动机(DFA)是实现正则表达式匹配的一种有效手段,但DFA的状态跳转是串行的,导致匹配速度慢、难以满足高速骨干网环境深度包检测(DPI)的性能需求.提出了一种称为LBDFA(Loopback DFA)的细粒度并行化状态跳转方法,通过将在Loopback状态上的连续跳转并行化,提高了匹配速度.此外,利用Bloom filter消除该并行跳转中的临时偏离现象,进一步提高了并行潜力.在L7-filter以及Snort规则集上的测试结果表明,LBDFA能够满足10Gbps以上的正则表达式匹配需求. Regular expression matching plays an important role in many critical network applications. Deterministic finite automata (DFA) is an effective way to implement regular expression matching, however, DFAs' inherent sequential state transition makes them impractical for high-speed backbone networks. In this paper, a novel fine-grained parallel DFA, called LBDFA (Loopback DFA), is proposed to improve the matching performance of DFAs. The method is based on the observation that most transitions occur among a small number of states while other states are rarely accessed. Furthermore, the frequently traversed states, called Loopback states in this paper, usually remain unchanged for a large number of consecutive input characters in the process of state transitions. Therefore a remarkable improvement can be achieved by parallelizing the consecutive state transitions on Loopback states. A Bloom filter is employed to eliminate the temporary deviation in transitions in order to further improve the parallelism of LBDFAs. Experimental results on rule sets from L7-filter and Snort show that the LBDFA can meet the demand of regular expression matching for backbone networks with bandwidth of more than lOGbps.
出处 《计算机研究与发展》 EI CSCD 北大核心 2014年第5期1061-1070,共10页 Journal of Computer Research and Development
基金 国家自然科学基金项目(61070026)
关键词 正则表达式 确定性有限自动机 深度包检测 回环状态 FPGA regular expression deterministic finite automata (DFA) deep packet inspection loopback state FPGA
  • 相关文献

参考文献26

  • 1Sourceforge. Application layer packet classifier for Linux[OL]. [2012-07-09]. http://17-filter. sourceforge. net/. 被引量:1
  • 2Sourcefire. Inc. Snort : Home Page [OL]. [2012-07-09 ].http;//www. snort, org/. 被引量:1
  • 3Schaelicke L,Slabach T,Moore B,et al. Characterizing theperformance of network intrusion detection sensors [G]//LNCS 2820: Proc of the 6thInt Sympon Recent Advances inIntrusion Detection. Berlin: Springer, 2003: 155-172. 被引量:1
  • 4Lee W, Cabrera B, Thomas A, et al. Performanceadaptation in real-time intrusion detection systems [G]//LNCS 2516 : Proc of the 5th Int Sympon RecentAdvances inIntrusion Detection.Berlin: Springer, 2002 : 252-273. 被引量:1
  • 5Hopcroft J, Motwani R, Ullman J. Introduction toAutomata Theory, Languages, and Computation [M]. 3rded. EnglewoodCliffs, NJ : Prentice Hall,2006. 被引量:1
  • 6张树壮,罗浩,方滨兴.面向网络安全的正则表达式匹配技术[J].软件学报,2011,22(8):1838-1854. 被引量:29
  • 7Liu Rongtai, Huang Nenfu, Chen Chihao,et al. A faststring-matching algorithm for network processor-basedintrusion detection system [J]. ACM Trans onEmbeddedComputing Systems, 2004,3(3) : 614-633. 被引量:1
  • 8Cho Y,Mangione-Smith W. Fast reconfiguring deep packetfilter for 1+ gigabit network [C]//Proc of IEEE FCCM'05.Los Alamitos, CA: IEEE ComputerSociety,2005 : 215-224. 被引量:1
  • 9Dharmapurikar S, Krishnamurthy P,Sproull T,et al. Deeppacket inspection using parallel Bloom filters [J]. IEEEMicro, 2004,24(1) : 52-61. 被引量:1
  • 10Sourdis I,Pnevmatikatos D. Pre-decoded CAMs for efficientand high-speed NIDS pattern matching [C]//Proc of IEEEFCCM'04. Los Alamitos, CA: IEEE Computer Society,2004; 258-267. 被引量:1

二级参考文献3

共引文献28

同被引文献25

引证文献5

二级引证文献6

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部