Apache, detect syslog prefix, add test

pull/1695/head
benrubson 2017-02-17 08:42:40 +01:00 committed by sebres
parent b662cf03ac
commit 10cc7e6e59
1 changed files with 4 additions and 0 deletions

View File

@ -11,6 +11,10 @@
# failJSON: { "time": "2013-07-11T01:21:44", "match": true , "host": "2606:2800:220:1:248:1893:25c8:1946" }
[Thu Jul 11 01:21:44 2013] [error] [client 2606:2800:220:1:248:1893:25c8:1946] user test-ipv6 not found: /
# Must mach syslog prefix
# failJSON: { "time": "2005-02-16T22:32:48", "match": true , "host": "127.0.0.1" }
Feb 16 22:32:48 srv httpd[22034]: [error] [client 127.0.0.1] user wrongusername not found: /basic/file
# The failures below use the configuration described in fail2ban/tests/files/config/apache-auth
#