计算机科学 ›› 2013, Vol. 40 ›› Issue (3): 68-73.

• 2012多值逻辑专栏 • 上一篇    下一篇

面向骨干网NIDS的细粒度并行多模式匹配方法

邵宗有,刘兴奎,刘新春,孙凝晖   

  1. (北京科技大学信息工程学院 北京100083);(中国科学院计算技术研究所 北京100190);(无锡城市云计算中心有限公司 无锡214315)
  • 出版日期:2018-11-16 发布日期:2018-11-16

Fine-grained Parallel Multi-pattern Matching for Backbone Network NIDS

  • Online:2018-11-16 Published:2018-11-16

摘要: 随着网络带宽的快速增长,互联网正面临着日益严重的安全威胁。网络入侵检测系统(KIDS)利用模式匹配等技术对网络报文进行分析和检测,是防范网络威胁、保护网络安全的一种有效手段。但模式匹配消耗巨大的计算量,现有的技术难以满足10Gbps以上骨干网络KIDS的需求。提出了基于B1oom filter的细粒度并行模式匹配技术PBPM(Parallel-B1oom-filter-based multi-Pattern Matching) , PBPM利用多个相同的B1oom filter分别从输入文本的不同位置处并行匹配,每个周期可完成多个字符的匹配,显著提高了匹配速率。详细讨论了在FPGA上的实现方式,在Snort 2.9规则集上的测试结果表明,PBPM能够提供超过20Gbps的模式匹配需求。

关键词: 多模式匹配,字符串匹配,B1oom filter, PBPM, NIDS

Abstract: As the network bandwidth continuously increases, the network security has been seriously threatened by malicious behaviors and risks. Network intrusion detection system (NIDS) is one of the efficient measures to cope with intrusion threats and protect information security, which employs pattern matching techniques to analyze incoming packs is and detect potential threats. However, pattern matching is such a compute-intensive task that most current techniques can't meet the demand of KIDS for backbone networks over lOGbps speed. We proposed a novel Bloom filter based approach for pattern matching, called PBPM (Parallel-Bloom-filter-based multi-Pattern Matching). PBPM employs multiple copies of the same Bloom filter to carry out parallel matching on different positions of the input text at the same time. The fine-grained parallel approach is able to skip multiple characters per clock when implemented on FPGAs, dramatically improving pattern matching performance. Experimental results on the rule set from Snort 2.9 show that the throughput of PBPM exceeds more than 20Gbps.

Key words: Multi-pattern matching, String matching, Bloom filter, PBPM, NIDS

No related articles found!
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
No Suggested Reading articles found!