首页> 外文会议>ACM/IEEE symposium on Architecture for networking and communications systems >Fast and memory-efficient regular expression matching for deep packet inspection
【24h】

Fast and memory-efficient regular expression matching for deep packet inspection

机译:快速且高效存储的正则表达式匹配,可用于深度数据包检查

获取原文

摘要

Packet content scanning at high speed has become extremely important due to its applications in network security, network monitoring, HTTP load balancing, etc. In content scanning, the packet payload is compared against a set of patterns specified as regular expressions. In this paper, we first show that memory requirements using traditional methods are prohibitively high for many patterns used in packet scanning applications. We then propose regular expression rewrite techniques that can effectively reduce memory usage. Further, we develop a grouping scheme that can strategically compile a set of regular expressions into several engines, resulting in remarkable improvement of regular expression matching speed without much increase in memory usage. We implement a new DFA-based packet scanner using the above techniques. Our experimental results using real-world traffic and patterns show that our implementation achieves a factor of 12 to 42 performance improvement over a commonly used DFA-based scanner. Compared to the state-of-art NFA-based implementation, our DFA-based packet scanner achieves 50 to 700 times speedup.
机译:由于数据包内容在网络安全,网络监视,HTTP负载平衡等方面的应用,因此高速扫描数据包内容已变得极为重要。在内容扫描中,将数据包有效负载与指定为正则表达式的一组模式进行比较。在本文中,我们首先表明,对于数据包扫描应用中使用的许多模式,使用传统方法的内存需求高得令人望而却步。然后,我们提出可有效减少内存使用量的正则表达式重写技术。此外,我们开发了一种分组方案,可以将一组正则表达式策略性地编译为多个引擎,从而在不显着增加内存使用的情况下显着提高了正则表达式匹配速度。我们使用以上技术实现了一种新的基于DFA的数据包扫描器。我们使用实际流量和模式进行的实验结果表明,与常用的基于DFA的扫描仪相比,我们的实现将性能提高了12到42倍。与最新的基于NFA的实施相比,我们基于DFA的数据包扫描器的速度提高了50到700倍。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号