added Apache2 Digest Auth filter (Copyright Emre Sevinç)
This commit is contained in:
parent
111c7fb7fd
commit
b09f74116b
1 changed files with 21 additions and 0 deletions
21
apache-digest.conf
Normal file
21
apache-digest.conf
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
# Fail2Ban configuration file
|
||||
#
|
||||
# Author: Emre Sevinç
|
||||
|
||||
[Definition]
|
||||
|
||||
# Option: failregex
|
||||
# Notes.: regex to match Digest Auth requests for unknown users and failed logins
|
||||
# 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
|
||||
#
|
||||
|
||||
failregex = [[]client <HOST>[]] (Digest: )?user .* (authentication failure|not found|password mismatch)
|
||||
|
||||
# Option: ignoreregex
|
||||
# Notes.: regex to ignore. If this regex matches, the line is ignored.
|
||||
# Values: TEXT
|
||||
#
|
||||
ignoreregex =
|
||||
Reference in a new issue