mirror of https://github.com/fail2ban/fail2ban
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
804 B
33 lines
804 B
18 years ago
|
# Fail2Ban configuration file
|
||
|
#
|
||
|
# Author: Christoph Haas
|
||
|
# Modified by: Cyril Jaquier
|
||
|
#
|
||
|
#
|
||
|
|
||
12 years ago
|
[INCLUDES]
|
||
|
|
||
|
# Read common prefixes. If any customizations available -- read them from
|
||
|
# common.local
|
||
|
before = common.conf
|
||
|
|
||
|
|
||
18 years ago
|
[Definition]
|
||
|
|
||
12 years ago
|
_daemon = (?:courier)?(?:imapd?|pop3d?)(?:login)?(?:-ssl)?
|
||
|
|
||
18 years ago
|
# Option: failregex
|
||
18 years ago
|
# 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
|
||
18 years ago
|
# be used for standard IP/hostname matching and is only an alias for
|
||
16 years ago
|
# (?:::f{4,6}:)?(?P<host>[\w\-.^_]+)
|
||
18 years ago
|
# Values: TEXT
|
||
|
#
|
||
12 years ago
|
failregex = ^%(__prefix_line)sLOGIN FAILED, user=.*, ip=\[<HOST>\]$
|
||
18 years ago
|
|
||
|
# Option: ignoreregex
|
||
|
# Notes.: regex to ignore. If this regex matches, the line is ignored.
|
||
|
# Values: TEXT
|
||
|
#
|
||
18 years ago
|
ignoreregex =
|