2013-01-31 19:39:59 +00:00
|
|
|
# Fail2Ban configuration file for roundcube web server
|
|
|
|
#
|
2013-05-25 17:26:13 +00:00
|
|
|
# Author: Teodor Micu & Yaroslav Halchenko & terence namusonge
|
2013-01-31 19:39:59 +00:00
|
|
|
#
|
|
|
|
#
|
|
|
|
|
2013-07-09 16:48:12 +00:00
|
|
|
[INCLUDES]
|
|
|
|
|
|
|
|
before = common.conf
|
|
|
|
|
2013-01-31 19:39:59 +00:00
|
|
|
[Definition]
|
|
|
|
|
|
|
|
# Option: failregex
|
|
|
|
# Notes.: regex to match the password failure 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
|
|
|
|
#
|
2013-08-28 01:57:38 +00:00
|
|
|
failregex = ^\s*(\[(\s[+-][0-9]{4})?\])?(%(__hostname)s roundcube: IMAP Error)?: (FAILED login|Login failed) for .*? from <HOST>(\. AUTHENTICATE .*)?\s*$
|
2013-01-31 19:39:59 +00:00
|
|
|
|
|
|
|
# Option: ignoreregex
|
|
|
|
# Notes.: regex to ignore. If this regex matches, the line is ignored.
|
|
|
|
# Values: TEXT
|
|
|
|
#
|
|
|
|
ignoreregex =
|