From e133b9f1d1201e6e211ace2b89532f586c3ca93d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Boulogne?= Date: Sun, 25 Aug 2013 21:29:43 +0200 Subject: [PATCH] MAINT: add support for lightty1.4.31 --- config/filter.d/lighttpd-auth.conf | 2 +- testcases/files/logs/lighttpd-auth | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/config/filter.d/lighttpd-auth.conf b/config/filter.d/lighttpd-auth.conf index 1931373c..b89c5d96 100644 --- a/config/filter.d/lighttpd-auth.conf +++ b/config/filter.d/lighttpd-auth.conf @@ -9,7 +9,7 @@ # Notes.: regex to match wrong passwords as notified by lighttpd's auth Module # Values: TEXT # -failregex = .*http_auth.*(password doesn\'t match|wrong password).*IP: \s*$ +failregex = .*http_auth.*(password doesn\'t match|wrong password|get_password failed).*IP: \s*$ # Option: ignoreregex # Notes.: regex to ignore. If this regex matches, the line is ignored. diff --git a/testcases/files/logs/lighttpd-auth b/testcases/files/logs/lighttpd-auth index 745a2462..a373c652 100644 --- a/testcases/files/logs/lighttpd-auth +++ b/testcases/files/logs/lighttpd-auth @@ -3,3 +3,5 @@ 2011-12-25 17:09:20: (http_auth.c.875) password doesn't match for /gitweb/ username: francois, IP: 4.4.4.4 # failJSON: { "time": "2012-09-26T10:24:35", "match": true , "host": "4.4.4.4" } 2012-09-26 10:24:35: (http_auth.c.1136) digest: auth failed for xxx : wrong password, IP: 4.4.4.4 +# failJSON: { "time": "2013-08-25T00:24:55", "match": true , "host": "4.4.4.4" } +2013-08-25 00:24:55: (http_auth.c.877) get_password failed, IP: 4.4.4.4