mirror of https://github.com/fail2ban/fail2ban
filter.d/apache-auth.conf: joined some similar expressions
parent
e35ed1cdf7
commit
507034c5be
|
@ -14,10 +14,8 @@ prefregex = ^%(_apache_error_client)s (?:AH\d+: )?<F-CONTENT>.+</F-CONTENT>$
|
||||||
# auth_type = ((?:Digest|Basic): )?
|
# auth_type = ((?:Digest|Basic): )?
|
||||||
auth_type = ([A-Z]\w+: )?
|
auth_type = ([A-Z]\w+: )?
|
||||||
|
|
||||||
failregex = ^client denied by server configuration\b
|
failregex = ^client (?:denied by server configuration|used wrong authentication scheme)\b
|
||||||
^user <F-USER>(?:\S*|.*?)</F-USER> auth(?:oriz|entic)ation failure\b
|
^user <F-USER>(?:\S*|.*?)</F-USER> (?:auth(?:oriz|entic)ation failure|not found|denied by provider)\b
|
||||||
^user <F-USER>(?:\S*|.*?)</F-USER> not found\b
|
|
||||||
^client used wrong authentication scheme\b
|
|
||||||
^Authorization of user <F-USER>(?:\S*|.*?)</F-USER> to access .*? failed\b
|
^Authorization of user <F-USER>(?:\S*|.*?)</F-USER> to access .*? failed\b
|
||||||
^%(auth_type)suser <F-USER>(?:\S*|.*?)</F-USER>: password mismatch\b
|
^%(auth_type)suser <F-USER>(?:\S*|.*?)</F-USER>: password mismatch\b
|
||||||
^%(auth_type)suser `<F-USER>(?:[^']*|.*?)</F-USER>' in realm `.+' (not found|denied by provider)\b
|
^%(auth_type)suser `<F-USER>(?:[^']*|.*?)</F-USER>' in realm `.+' (not found|denied by provider)\b
|
||||||
|
|
Loading…
Reference in New Issue