Custom Jail for Repeat Error 444 and 403 Offenders [ci skip]

- New improved Regex pattern for catching Jorgee
- With Great Thanks to Konstantin Goretzki @terriblespider
This commit is contained in:
Mitchell Krog 2017-08-20 13:54:47 +02:00
parent d075ea72e3
commit 3730f224c6

View file

@ -51,7 +51,7 @@ _daemon = fail2ban\.actions\s*
# jail using this filter 'nginxrepeatoffender', or change this line!
_jailname = nginxrepeatoffender
failregex = ^<HOST> \- \S+ \[\] \"(GET|POST|HEAD) \/ \S+\" (?:403|444) .+$
failregex = ^<HOST> \- \S+ \[\] \"(GET|POST|HEAD) .* \S+\" (?:403|444) .+$
ignoreregex =
[Init]