Snort - the de facto standard for intrusion detection/prevention
next up previous contents
Next: Event Suppression Up: Examples Previous: Rule Thresholds   Contents

Global Thresholds

Limit to logging 1 event per 60 seconds per IP triggering each rule (rule gen_id is 1):

threshold gen_id 1, sig_id 0, type limit, track by_src, count 1, seconds 60

Limit to logging 1 event per 60 seconds per IP, triggering each rule for each event generator:

threshold gen_id 0, sig_id 0, type limit, track by_src, count 1, seconds 60

Events in Snort are generated in the usual way, thresholding is handled as part of the output system. Read gen-msg.map for details on gen ids.

Users can also configure a memcap for threshold with a ``config:'' option:

config threshold: memcap <bytes>



Steven Sturges 2007-10-04