view common/fail2ban/ibb-repeat-offender.conf @ 216:436be6e59198 puppet-3.6

Blacklist more username probes, including: * numbers * abc123 * botmaster * root with numbers * wp-user (who even runs Wordpress under its own user?)
author IBBoard <dev@ibboard.co.uk>
date Sat, 03 Aug 2019 09:54:10 +0100
parents f70831cc2864
children
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 and adjusted by IBBoard for consistency
#

[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 = NOTICE\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+NOTICE\s+\[(ibb-repeat-offender|ssh-)[^\]]+\]\s+Ban\s+<HOST>