首页> 外文会议>IEEE International Symposium on Parallel Distributed Processing >Head-body partitioned string matching for Deep Packet Inspection with scalable and attack-resilient performance
【24h】

Head-body partitioned string matching for Deep Packet Inspection with scalable and attack-resilient performance

机译:具有可扩展和攻击弹性性能的深度分组串联匹配的串联匹配

获取原文

摘要

Dictionary-based string matching (DBSM) is a critical component of Deep Packet Inspection (DPI), where thousands of malicious patterns are matched against high-bandwidth network traffic. Deterministic finite automata constructed with the Aho-Corasick algorithm (AC-DFA) have been widely used for solving this problem. However, the state transition table (STT) of a large-scale DBSM AC-DFA can span hundreds of megabytes of system memory, whose limited bandwidth and long latency could become the performance bottleneck We propose a novel partitioning algorithm which converts an AC-DFA into a ????head???? and a ????body???? parts. The head part behaves as a traditional AC-DFA that matches the pattern prefixes up to a predefined length; the body part extends any head match to the full pattern length in parallel body-tree traversals. Taking advantage of the SIMD instructions in modern x86-64 multi-core processors, we design compact and efficient data structures packing multi-path and multi-stride pattern segments in the body-tree. Compared with an optimized AC-DFA solution, our head-body matching (HBM) implementation achieves 1.2x to 3x throughput performance when the input match (attack) ratio varies from 2% to 32%, respectively. Our HBM data structure is over 20x smaller than a fully-populated AC-DFA for both Snort and ClamAV dictionaries. The aggregated throughput of our HBM approach scales almost 7x with 8 threads to over 10 Gbps in a dual-socket quad-core Opteron (Shanghai) server.
机译:基于字典的字符串匹配(DBSM)是深度数据包检查(DPI)的关键组成部分,其中千万恶意模式与高带宽网络流量匹配。用AHO-Corasick算法(AC-DFA)构建的确定性有限自动机已被广泛用于解决此问题。但是,大规模DBSM AC-DFA的状态转换表(STT)可以跨越数百兆字节的系统内存,其有限的带宽和长延迟可能成为表现瓶颈,我们提出了一种转换AC-DFA的新型分区算法进入一个????和一个????的身体????部分。头部部件的行为行为与传统的AC-DFA相匹配,该模式与预定义长度相匹配;身体部件将任何头部匹配延伸到并行车身树遍历中的完整图案长度。利用现代X86-64多核处理器中的SIMD指令,我们设计紧凑且高效的数据结构包装在车身树中的多路径和多级别图案段。与优化的AC-DFA解决方案相比,当输入匹配(攻击)比率分别为2%至32%时,我们的头部匹配(HBM)实现达到1.2倍至3倍的吞吐量性能。我们的HBM数据结构比Snort和Clamav词典的全填充的AC-DFA小于20倍。我们的HBM方法的聚合吞吐量在双套接字四核Opteron(Shanghai)服务器中,近7次,8个线程以超过10 Gbps。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号