Bash script that blocks web server (apache/nginx/litespeed) scanners.
Bash script that blocks web server (apache/nginx/litespeed) scanners. It checks the 400-408 errors or any other in the log you will choose to scan and extracts IP addresses of scanners which are trying to scan a web server and adds IP addresses to the ipset which drops the connection. The script is available on my website.
by Sysadmin
linux web server