Improving Snort performance under Linux
Authors:
- 7 December 2009
- journal article
- research article
- Published by Institution of Engineering and Technology (IET) in IET Communications
- Vol. 3 (12) , 1883-1895
Abstract
Network intrusion detection systems (NIDS) have become vital components in securing today's computer networks. To be highly effective, NIDS must perform packet inspection of incoming traffic at or near wire speed. Failing to do so will allow malicious packets to sneak through the network undetected, and thus jeopardising network security. Snort is one of the most popular IDS and intrusion prevention system (IPS) applications. Snort is a publicly available open-source NIDS application that typically runs on Linux. In this study, the authors present and discuss the essential software components of Snort and its underlying Linux support architecture. The authors characterise Snort execution and present an analytical queuing model to give insight into understanding the kernel and Snort behaviour as well as to identify key-dominating factors that strongly influence and impact Snort performance. The authors demonstrate that the current default configurations of the packet reception mechanism of the Linux networking subsystem (a.k.a. NAPI) are not suitable for Snort performance and show that the performance of Snort can be improved significantly by tuning certain configuration parameters, specifically by having a small NAPI budge value of 2. The performance is measured in terms of throughput and packet loss. The authors also measure the packet loss encountered at the kernel level as well as the interrupt rate of incoming traffic. Performance was measured when subjecting a PC host running Snort to both normal and malicious traffic, and with different traffic load conditions.Keywords
This publication has 11 references indexed in Scilit:
- Compiling PCRE to FPGA for accelerating SNORT IDS2007
- Optimization of pattern matching algorithm for memory based architecture2007
- Packet pre-filtering for network intrusion detection2006
- Improving the Performance of Signature-Based Network Intrusion Detection Sensors by Multi-threading2005
- Performance analysis of content matching intrusion detection systems2004
- Evaluation of software techniques for parallel packet processing on multi-core processors2004
- Intrusion Detection Systems2004
- Wide area traffic: the failure of Poisson modelingIEEE/ACM Transactions on Networking, 1995
- Performance considerations in designing network interfacesIEEE Journal on Selected Areas in Communications, 1993
- On the Worst-Case Behavior of String-Searching AlgorithmsSIAM Journal on Computing, 1977