Is there a way to automatically block clients that visit a particular URL? e.g. we aren’t a Wordpress site so anyone visiting
/wp-admin is most likely a bot scanning for vulnerabilities. So I’d like to block that IP immediately. Say for 24 hours.
There could be many such “honeypot” URLs that trigger a ban. There could even be patterns e.g. if there’s "UNION " in a particular part of the URL path, it’s likely a SQL injection scanner and should be blocked.
What’s the easiest way to configure such automatic blocking?
Please sign in to leave a comment.