summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrançois Boulogne <fboulogne at april dot org>2011-12-24 21:51:18 +0100
committerFrançois Boulogne <fboulogne at april dot org>2011-12-24 21:51:18 +0100
commitb6d9f795dca4783c84cf57a9e56c551e4fa09905 (patch)
treeb0c5d7979fc565b978c87bc83fdb19dd608b7415
parent1efe1bc1713fdc2f71812db04bbcc7129c75928d (diff)
downloadfail2ban-b6d9f795dca4783c84cf57a9e56c551e4fa09905.tar.gz
add filter for lighttpd mod_auth failure
-rw-r--r--config/filter.d/lighttpd-auth.conf19
1 files changed, 19 insertions, 0 deletions
diff --git a/config/filter.d/lighttpd-auth.conf b/config/filter.d/lighttpd-auth.conf
new file mode 100644
index 00000000..4e5fc38f
--- /dev/null
+++ b/config/filter.d/lighttpd-auth.conf
@@ -0,0 +1,19 @@
+# Fail2Ban configuration file
+#
+# Author: Francois Boulogne <fboulogne@april.org>
+#
+
+[Definition]
+
+# Option: failregex
+# Notes.: regex to match wrong passwords as notified by lighttpd's auth Module
+# Values: TEXT
+#
+failregex = .*http_auth.*password doesn\'t match.*IP: <HOST>
+
+
+# Option: ignoreregex
+# Notes.: regex to ignore. If this regex matches, the line is ignored.
+# Values: TEXT
+#
+ignoreregex =