2006-10-02 13:42:36 +00:00
|
|
|
# Fail2Ban configuration file
|
|
|
|
#
|
|
|
|
# Author: Yaroslav Halchenko
|
|
|
|
#
|
2007-01-04 12:21:44 +00:00
|
|
|
# $Revision$
|
2006-10-02 13:42:36 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
[Definition]
|
|
|
|
|
|
|
|
# Option: failregex
|
2006-11-19 21:25:51 +00:00
|
|
|
# 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
|
2006-12-18 22:35:34 +00:00
|
|
|
# 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-10-02 13:42:36 +00:00
|
|
|
# Values: TEXT
|
|
|
|
#
|
2009-07-09 04:20:53 +00:00
|
|
|
failregex = \(\S+\[<HOST>\]\)[: -]+ USER \S+: no such user found from \S+ \[\S+\] to \S+:\S+ *$
|
2009-09-10 16:04:42 +00:00
|
|
|
\(\S+\[<HOST>\]\)[: -]+ USER \S+ \(Login failed\): .*$
|
2009-07-09 04:20:53 +00:00
|
|
|
\(\S+\[<HOST>\]\)[: -]+ SECURITY VIOLATION: \S+ login attempted\. *$
|
|
|
|
\(\S+\[<HOST>\]\)[: -]+ Maximum login attempts \(\d+\) exceeded *$
|
2006-11-12 14:52:36 +00:00
|
|
|
|
|
|
|
# Option: ignoreregex
|
|
|
|
# Notes.: regex to ignore. If this regex matches, the line is ignored.
|
|
|
|
# Values: TEXT
|
|
|
|
#
|
2006-11-15 18:44:28 +00:00
|
|
|
ignoreregex =
|