[Snort-users] Snort 2.0.4 CPU Utilization\Optimization
edin.dizdarevic at ...7509...
Fri Nov 21 00:28:12 EST 2003
You probably do not have much space for further optimizations regarding
For your libpcap you may try settings like "PCAP_FRAMES=max snort ..."
Try further optimizing your ruleset, deactivating all unnecessary rules.
500 rules are not so many but my experience is, that for common server
environments something about 100-150 rules are more than enough.
It would be interessting to know how your network environment looks
The next issue are the preprocessors. Do you need all of them?
Are you really using IIS as well as Apache? The only relevant setting
for Apache is "full_whitespace". You can deactivate the rest.
For memcap try something up to 32MBs. Checkt the memory consumption
anyway. What other processec dou you have on the machine running.
Deactivate ports you're not using.
Port 53 -> DNS is using UDP, AFAIK Stream4_reassemble is for TCP only.
timeout: 60 seconds -> Check how long your systems are waiting for
fragments. For ex. Linux will only wait 30s. Set this accordingly.
Give frag2 mor memory. If you have your sensor behind a Linux firewall
deactivate this preprocessor since Netfilter always defragments.
Mark Ewert schrieb:
> Thanks in advance!
More information about the Snort-users