wok view fail2ban/stuff/etc/fail2ban/filter.d/fail2ban.conf @ rev 13225

fail2ban: add fail2ban filter
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Aug 13 19:15:01 2012 +0200 (2012-08-13)
parents
children
line source
1 # Fail2Ban configuration file
2 #
3 # Author: Tom Hendrikx
4 #
5 # $Revision: 663 $
6 #
8 [Definition]
10 # Option: failregex
11 # Notes.: regex to match the password failures messages in the logfile. The
12 # host must be matched by a group named "host". The tag "<HOST>" can
13 # be used for standard IP/hostname matching and is only an alias for
14 # (?:::f{4,6}:)?(?P<host>\S+)
15 # Values: TEXT
16 #
18 # Count all bans in the logfile
19 failregex = fail2ban.actions: WARNING \[(.*)\] Ban <HOST>
21 # Option: ignoreregex
22 # Notes.: regex to ignore. If this regex matches, the line is ignored.
23 # Values: TEXT
24 #
25 # Ignore our own bans, to keep our counts exact.
26 # In your config, name your jail 'fail2ban', or change this line!
27 ignoreregex = fail2ban.actions: WARNING \[fail2ban\] Ban <HOST>