Mercurial > hg > maltfilter
comparison 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 |
comparison
equal
deleted
inserted
replaced
25:34dcb7462043 | 26:61b6d742c49c |
---|---|
22 | 22 |
23 | 23 |
24 ############################################################################# | 24 ############################################################################# |
25 ### Actions, etc. settings | 25 ### Actions, etc. settings |
26 ############################################################################# | 26 ############################################################################# |
27 ## Weeding treshold in hours. Entries older than this will be "weeded" | 27 ## Weeding treshold in hours. Entries older than this will be removed |
28 ## off from current netfilter settings. | 28 ## off from current netfilter settings (e.g. they become unblocked again.) |
29 #WEEDPERIOD = 150 | 29 #WEED_BLOCK = 168 |
30 | |
31 ## For how many hours to keep general information about IP. Affects from | |
32 ## how long period statistics dump shows data. Also hitcount tresholds | |
33 ## take the old data into account, meaning that if WEED_BLOCK < WEED_GLOBAL | |
34 ## hit data older than WEED_BLOCK will be counted towards THRESHOLD. | |
35 #WEED_GLOBAL = 336 | |
30 | 36 |
31 ## How many "hits" the IP needs until it is eligible to be blocked. | 37 ## How many "hits" the IP needs until it is eligible to be blocked. |
32 ## (the "hits" can be from any "source", e.g. sshd crack, httpd, etc.) | 38 ## (the "hits" can be from any "source", e.g. sshd crack, httpd, etc.) |
33 #TRESHOLD = 3 | 39 #TRESHOLD = 3 |
34 | 40 |