This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Fail2Ban filter for catching 404 responses. | |
# | |
# Useful if you wish to block an ip that is making too many 404 requests. | |
# Which is typical behavior for a vulnerability scanner. | |
[Definition] | |
failregex = ^<HOST> - .* "(GET|POST|HEAD).*HTTP.*" 404 .*$ | |
ignoreregex = |