From: Thomas Norheim Date: Fri, 3 Sep 2021 09:21:45 +0000 (+0200) Subject: threshold: fixed example rules to match description X-Git-Tag: suricata-7.0.0-rc2~177 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F8858%2Fhead;p=thirdparty%2Fsuricata.git threshold: fixed example rules to match description --- diff --git a/threshold.config b/threshold.config index bde364fd03..bb992b6ee7 100644 --- a/threshold.config +++ b/threshold.config @@ -20,10 +20,10 @@ # https://suricata.readthedocs.io/en/latest/configuration/global-thresholds.html#global-thresholds-vs-rule-thresholds # Limit to 10 alerts every 10 seconds for each source host -#threshold gen_id 0, sig_id 0, type threshold, track by_src, count 10, seconds 10 +#threshold gen_id 0, sig_id 0, type limit, track by_src, count 10, seconds 10 -# Limit to 1 alert every 10 seconds for signature with sid 2404000 -#threshold gen_id 1, sig_id 2404000, type threshold, track by_dst, count 1, seconds 10 +# Limit to 1 alert every 10 seconds for signature with sid 2404000 per destination host +#threshold gen_id 1, sig_id 2404000, type limit, track by_dst, count 1, seconds 10 # Avoid to alert on f-secure update # Example taken from https://blog.inliniac.net/2012/03/07/f-secure-av-updates-and-suricata-ips/