diff --git a/apache-digest.conf b/apache-digest.conf new file mode 100644 index 0000000..3a36df3 --- /dev/null +++ b/apache-digest.conf @@ -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 "" can +# be used for standard IP/hostname matching and is only an alias for +# (?:::f{4,6}:)?(?P[\w\-.^_]+) +# Values: TEXT +# + +failregex = [[]client []] (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 =