Mercurial > hg > maltfilter
diff example.conf @ 26:61b6d742c49c
Separate WEEDPERIOD into WEED_BLOCK and WEED_GLOBAL settings.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Sat, 15 Aug 2009 23:43:22 +0300 |
parents | fe220b5a975a |
children | 24babaa1e331 |
line wrap: on
line diff
--- a/example.conf Sat Aug 15 23:21:30 2009 +0300 +++ b/example.conf Sat Aug 15 23:43:22 2009 +0300 @@ -24,9 +24,15 @@ ############################################################################# ### Actions, etc. settings ############################################################################# -## Weeding treshold in hours. Entries older than this will be "weeded" -## off from current netfilter settings. -#WEEDPERIOD = 150 +## Weeding treshold in hours. Entries older than this will be removed +## off from current netfilter settings (e.g. they become unblocked again.) +#WEED_BLOCK = 168 + +## For how many hours to keep general information about IP. Affects from +## how long period statistics dump shows data. Also hitcount tresholds +## take the old data into account, meaning that if WEED_BLOCK < WEED_GLOBAL +## hit data older than WEED_BLOCK will be counted towards THRESHOLD. +#WEED_GLOBAL = 336 ## How many "hits" the IP needs until it is eligible to be blocked. ## (the "hits" can be from any "source", e.g. sshd crack, httpd, etc.)