2008-10-13 14:37:25 +00:00
|
|
|
# Fail2Ban configuration file
|
|
|
|
#
|
|
|
|
# Author: Yaroslav O. Halchenko <debian@onerussian.com>
|
|
|
|
#
|
|
|
|
#
|
|
|
|
|
2013-06-11 18:56:25 +00:00
|
|
|
[INCLUDES]
|
|
|
|
|
|
|
|
# Read common prefixes. If any customizations available -- read them from
|
|
|
|
# common.local
|
|
|
|
before = apache-common.conf
|
|
|
|
|
2008-10-13 14:37:25 +00:00
|
|
|
[Definition]
|
|
|
|
|
|
|
|
# Option: failregex
|
|
|
|
# Notes.: regex to match failures to find a home directory on a server, which
|
|
|
|
# became popular last days. Most often attacker just uses IP instead of
|
|
|
|
# domain name -- so expect to see them in generic error.log if you have
|
|
|
|
# per-domain log files.
|
|
|
|
# Values: TEXT
|
|
|
|
#
|
2013-08-25 11:13:11 +00:00
|
|
|
failregex = ^%(_apache_error_client)s (AH00128: )?File does not exist: .*/~.*
|
2008-10-13 14:37:25 +00:00
|
|
|
|
|
|
|
# Option: ignoreregex
|
|
|
|
# Notes.: regex to ignore. If this regex matches, the line is ignored.
|
|
|
|
# Values: TEXT
|
|
|
|
#
|
|
|
|
ignoreregex =
|