From cea4da8740db29c49720df32f179b3378ee2e27b Mon Sep 17 00:00:00 2001 From: Dan Fandrich Date: Fri, 7 Mar 2025 18:11:59 -0800 Subject: Expand the IP ranges banned for hosting spiders Widen the CIDR mask to catch many more addresses used by these bots. --- modules/apache/templates/vhost_fcgid.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/apache/templates/vhost_fcgid.conf b/modules/apache/templates/vhost_fcgid.conf index b31c2bb3..6e34fc5d 100644 --- a/modules/apache/templates/vhost_fcgid.conf +++ b/modules/apache/templates/vhost_fcgid.conf @@ -23,7 +23,7 @@ RewriteRule . - [R=403,L] # Block abusive spiders by IP address who don't identify themselves in the # User-Agent: string -RewriteCond expr "-R '47.76.99.0/24' || -R '47.76.209.0/24'" +RewriteCond expr "-R '47.76.0.0/14' || -R '47.80.0.0/14' || -R '47.208.0.0/16' || -R '47.238.0.0/16' || -R '8.210.0.0/16' || -R '8.218.0.0/16'" RewriteRule . - [R=403,L] ErrorDocument 403 "Impolite robots are not allowed" -- cgit v1.2.1