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

Standalone Thresholds

Limit logging to 1 event per 60 seconds:

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

Limit logging to every 3rd event:

threshold gen_id 1, sig_id 1852,  \
    type threshold, track by_src, \
    count 3, seconds 60

Limit logging to just 1 event per 60 seconds, but only if we exceed 30 events in 60 seconds:

threshold gen_id 1, sig_id 1853, \
    type both, track by_src, \
    count 30, seconds 60



Steven Sturges 2006-12-08