|
|||||||||||
|
[Snort-devel] snort limitations
From: Todd Sproull <todd(at)arl.wustl.edu>
Date: Tue Apr 27 2004 - 11:34:56 EDT
I am testing snort out with a dual processor AMD 2600+ linux box running snort 2.1.2 with 3gigs of RAM and am able to get snort to seg fault on me when I increase the number of rules I am using to around 30,000 or so. I am creating randomly generated rules to try and gauge the performance of snort as the # of rules increase. I send around 700 Mbits/sec at my IDS and I have yet to see snort drop any packets. I am however limited in the # of rules I can test because of the seg fault issue. Below is a sample of my "random" rules. alert tcp any any -> any any (content:"|145616|"; msg:"Found rule";) alert tcp any any -> any any (content:"|945917|"; msg:"Found rule";) alert tcp any any -> any any (content:"|444646|"; msg:"Found rule";) Any ideas on what might be causing this problem or how I can increase my ruleset. Below is a copy of my last experiment with snort (running 60000 rules) Thanks for any help you can provide, todd
[root@cobra157 snort-2.1.2]# ./run_snort
Running in IDS mode
Initializing Network Interface eth1
--== Initializing Snort ==--
+++++++++++++++++++++++++++++++++++++++++++++++++++Initializing rule chains... ,-----------[Flow Config]----------------------| Overhead Bytes: 16400(%0.16) `----------------------------------------------No arguments to frag2 directive, setting defaults to:
Fragment timeout: 60 seconds
Stateful inspection: ACTIVE
Server reassembly: INACTIVE
GLOBAL CONFIG
Max Pipeline Requests: 0
Inspection Type: STATELESS
Detect Proxy Usage: NO
IIS Unicode Map Filename: etc/unicode.map
IIS Unicode Map Codepage: 1252
DEFAULT SERVER CONFIG:
Ports: 80 8080 8180
Flow Depth: 300
Max Chunk Length: 500000
Inspect Pipeline Requests: YES
URI Discovery Strict Mode: NO
Allow Proxy Usage: NO
Disable Alerting: NO
Oversize Dir Length: 500
Only inspect URI: NO
Ascii: YES alert: NO
Double Decoding: YES alert: YES
%U Encoding: YES alert: YES
Bare Byte: YES alert: YES
Base36: OFF
UTF 8: OFF
IIS Unicode: YES alert: YES
Multiple Slash: YES alert: NO
IIS Backslash: YES alert: NO
Directory: YES alert: NO
Apache WhiteSpace: YES alert: YES
IIS Delimiter: YES alert: YES
IIS Unicode Map: GLOBAL IIS UNICODE MAP CONFIG
Non-RFC Compliant Characters: NONE
rpc_decode arguments:
Ports to decode RPC on: 111 32771
alert_fragments: INACTIVE
alert_large_fragments: ACTIVE
alert_incomplete: ACTIVE
alert_multiple_requests: ACTIVE
telnet_decode arguments:
Ports to decode telnet on: 21 23 25 119
60000 Snort rules read...
+++++++++++++++++++++++++++++++++++++++++++++++++++ +-----------------------[thresholding-config]---------------------------------- | memory-cap : 1048576 bytes +-----------------------[thresholding-global]---------------------------------- | none +-----------------------[thresholding-local]----------------------------------- | none +-----------------------[suppression]------------------------------------------ | none Rule application order: ->activation->dynamic->alert->pass->log --== Initialization Complete ==--
-*> Snort! <*-
./run_snort: line 1: 15865 Segmentation fault snort -c etc/snort.conf -i eth1 -d -l ./log/ This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek For a limited time only, get FREE Ground shipping on all orders of $35 or more. Hurry up and shop folks, this offer expires April 30th! http://www.thinkgeek.com/freeshipping/?cpg=12297 Snort-devel mailing list Snort-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/snort-devel Received on Tue Apr 27 12:28:48 2004 This archive was generated by hypermail 2.1.8 : Wed Aug 23 2006 - 14:08:12 EDT |
||||||||||
|
|||||||||||