The problem is that this list isn't exhaustive.. there are constantly new tries. The only option is scanning logs for 404 / 403 from a single IP and correlate.The simplest solution would probably be to deny access to those URLs server-wide, usingLocation
orLocationMatch
in Apache/Nginx, or ModRewrite in Apache/LiteSpeed/OpenLiteSpeed.
This said, I added Firehol Level 1/2/3 to the blocklists and it is awfully quiet out there now.
Code:
# Firehol Level 1
FIREHOL1|86400|0|https://iplists.firehol.org/files/firehol_level1.netset
# Firehol Level 2
FIREHOL2|86400|0|https://iplists.firehol.org/files/firehol_level2.netset
# Firehol Level 3
FIREHOL3|86400|0|https://iplists.firehol.org/files/firehol_level3.netset