view common/fail2ban/ibb-repeat-offender.conf @ 34:29d330d2056a

Make sure that we have mod_version installed so that Apache config fragments that try to support 2.2 and 2.4 work properly
author IBBoard <dev@ibboard.co.uk>
date Sun, 22 Mar 2015 18:26:06 +0000
parents 956e484adc12
children 5b9ba754d2ff
line wrap: on
line source

# IBB-Repeat-Offender configuration file
#
# Author: Tom Hendrikx, minor modifications by Amir Caspi
# See http://whyscream.net/wiki/index.php/Fail2ban_monitoring_Fail2ban
# Renamed by IBBoard for consistency
#
# $Revision: 1 $
#

[Definition]

# Option: failregex
# Notes.: regex to match the password failures messages in the logfile. The
#          host must be matched by a group named "host". The tag "<HOST>" can
#          be used for standard IP/hostname matching and is only an alias for
#          (?:::f{4,6}:)?(?P<host>[\w\-.^_]+)
# Values: TEXT
#
failregex = fail2ban.actions:\s+WARNING\s+\[(?:.*)\]\s+Ban\s+<HOST>

# Option:  ignoreregex
# Notes.:  regex to ignore. If this regex matches, the line is ignored.
# Values:  TEXT
#
ignoreregex = fail2ban.actions:\s+WARNING\s+\[(ibb-repeat-offender|[^\]]+warning)\]\s+Ban\s+<HOST>