Computer Engineering and Applications ›› 2008, Vol. 44 ›› Issue (24): 124-127.DOI: 10.3778/j.issn.1002-8331.2008.24.037

• 网络、通信、安全 • Previous Articles     Next Articles

Efficient rules matching method of Snort based on active rule sets

ZHANG Ya-ling,XIE Shao-chun,TANG Lai-feng   

  1. Computer Science and Engineering College,Xi’an University of Technology,Xi’an 710048,China
  • Received:2007-10-29 Revised:2008-01-11 Online:2008-08-21 Published:2008-08-21
  • Contact: ZHANG Ya-ling

基于活跃规则集的Snort高效规则匹配方法

张亚玲,谢少春,汤来锋   

  1. 西安理工大学 计算机科学与工程学院,西安 710048
  • 通讯作者: 张亚玲

Abstract: How to enhance the speed of Snort which is an open sources intrusion detection system to meet the development of the high speed network is important problem.After the analysis of new characteristics and several improvement methods of Snort rule matching,and by considering of only a small part of rules in massive Snort rules are active in certain time period,a new Snort rule matching method based on active rule sets is proposed in this paper.By dividing rule sets under the each port into the active rule sets and the inactive rule sets,combining with feedback of the rule matching frequency,rule matching order is renewed and the sizes of active rule sets are limited in real time,so the rule matching speed can be improved.

Key words: Network based Intrusion Detection System(NIDS), rule tree, rule matching, active rule sets, matching frequency

摘要: 对于基于特征的开源入侵检测系统Snort来说,如何提高速度以适应高速网络的发展是关键。在分析Snort新特性和现存多种规则匹配方法的基础上,考虑到大量Snort规则在一定时间内只有一小部分规则是活跃的,提出基于活跃规则集的Snort规则匹配方法,通过把每个端口下的规则分成活跃规则集与不活跃规则集,结合反馈规则匹配频度的思想,实时更新规则匹配顺序和控制活跃规则集大小,从而提高规则匹配速度。

关键词: 基于网络的入侵检测系统(NIDS), 规则树, 规则匹配, 活跃规则集, 匹配频度