首页> 外文会议>2011 Seventh ACM/IEEE Symposium on Architectures for Networking and Communications Systems >Chain-Based DFA Deflation for Fast and Scalable Regular Expression Matching Using TCAM
【24h】

Chain-Based DFA Deflation for Fast and Scalable Regular Expression Matching Using TCAM

机译:基于链的DFA压缩以使用TCAM进行快速且可扩展的正则表达式匹配

获取原文

摘要

Regular expression matching is the core engine of many network functions such as intrusion detection, protocol analysis and so on. In spite of intensive research, we are still in need of a method for fast and scalable regular expression matching, where it takes one simple memory lookup to match each input character (like DFA) and storage space growing linearly with regular expression pattern set size (like NFA). Most recently, TCAM-based DFA implementation has been proposed as a promising approach, for TCAM's unique parallel and wildcard matching capabilities. However, the number of TCAM entries needed is still above exponentially growing DFA size and hence not scalable. In this paper, we propose a chain-based {DFA deflation} method for fast and scalable regular expression matching using TCAM, which takes one simple TCAM lookup to match each input character and effectively deflates DFA size. Experiments based on real life pattern sets demonstrate that, the number of TCAM entries used by our DFA deflation method is up to two orders of magnitude lower than the DFA size, and comes quite close to the linearly growing NFA size. This not only means superior scalability, but also allows us to implement regular expression matching at extremely fast matching speed, up to two orders of magnitude faster than the existing TCAM-based DFA implementation method.
机译:正则表达式匹配是许多网络功能(如入侵检测,协议分析等)的核心引擎。尽管进行了深入研究,但我们仍然需要一种用于快速且可扩展的正则表达式匹配的方法,该方法需要一个简单的存储器查找来匹配每个输入字符(如DFA)和存储空间,并且正则表达式模式集大小线性增长(就像NFA)。最近,对于TCAM独特的并行和通配符匹配功能,已经提出了基于TCAM的DFA实现,这是一种很有前途的方法。但是,所需的TCAM条目数仍高于DFA大小的指数增长,因此无法伸缩。在本文中,我们提出了一种基于链的{DFA deflation}方法,用于使用TCAM进行快速且可扩展的正则表达式匹配,该方法只需进行一次简单的TCAM查找即可匹配每个输入字符并有效地缩小DFA大小。基于现实生活模式集的实验表明,我们的DFA压缩方法所使用的TCAM条目的数量比DFA大小小多达两个数量级,并且非常接近线性增长的NFA大小。这不仅意味着卓越的可伸缩性,而且还使我们能够以极快的匹配速度实现正则表达式匹配,比现有的基于TCAM的DFA实现方法快两个数量级。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号