From 95cdf553f551a23dec37fcfef996d6b156cc594e Mon Sep 17 00:00:00 2001 From: "Sergey G. Brester" Date: Tue, 4 Mar 2025 13:09:21 +0100 Subject: [PATCH] fixes test in lighttpd-auth: added failJSON to match the line --- fail2ban/tests/files/logs/lighttpd-auth | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fail2ban/tests/files/logs/lighttpd-auth b/fail2ban/tests/files/logs/lighttpd-auth index 4619b2a8..7c48eeb6 100644 --- a/fail2ban/tests/files/logs/lighttpd-auth +++ b/fail2ban/tests/files/logs/lighttpd-auth @@ -14,4 +14,5 @@ 2021-09-30 17:44:37: (mod_auth.c.791) digest: auth failed: uri mismatch (/uri1 != /uri2), IP: 192.0.2.4 # systemd-journal -2025-03-04T02:11:57.602061 ip-172-31-3-150.ap-southeast-2.compute.internal lighttpd[764]: (mod_auth.c.853) password doesn't match for / username: user1 IP: 122.251.111.211 +# failJSON: { "time": "2025-03-04T02:11:57", "match": true , "host": "192.0.2.211", "desc": "gh-3955" } +2025-03-04T02:11:57.602061 ip-172-31-3-150.ap-southeast-2.compute.internal lighttpd[764]: (mod_auth.c.853) password doesn't match for / username: user1 IP: 192.0.2.211