2006-12-23 09:49:19 +00:00
|
|
|
# Fail2Ban configuration file
|
|
|
|
#
|
|
|
|
# Author: Cyril Jaquier
|
|
|
|
#
|
|
|
|
#
|
|
|
|
|
|
|
|
[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
|
2009-02-08 17:31:24 +00:00
|
|
|
# (?:::f{4,6}:)?(?P<host>[\w\-.^_]+)
|
2006-12-23 09:49:19 +00:00
|
|
|
# Values: TEXT
|
|
|
|
#
|
2013-06-15 02:34:16 +00:00
|
|
|
|
|
|
|
# From exim source code: ./src/receive.c:add_host_info_for_log
|
|
|
|
host_info = H=\S+ (\(\S+\) )?\[<HOST>\] (?:I=\[\S+\]:\d+ )?(?:U=\S+ )?(P=e?smtp )?
|
|
|
|
|
|
|
|
failregex = ^ %(host_info)ssender verify fail for <\S+>: Unrouteable address\s*$
|
|
|
|
^ \S+ F=(?:<>|\S+@\S+) %(host_info)s(?:temporarily )?rejected by local_scan\(\): .{0,256}$
|
2013-06-14 08:12:53 +00:00
|
|
|
^ login authenticator failed for (\S+ )?\(\S+\) \[<HOST>\]: 535 Incorrect authentication data( \(set_id=.*\)|: \d+ Time\(s\))?\s*$
|
2006-12-23 09:49:19 +00:00
|
|
|
|
|
|
|
# Option: ignoreregex
|
|
|
|
# Notes.: regex to ignore. If this regex matches, the line is ignored.
|
|
|
|
# Values: TEXT
|
|
|
|
#
|
|
|
|
ignoreregex =
|