aboutsummaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorDan Fandrich <danf@mageia.org>2025-03-07 18:11:59 -0800
committerDan Fandrich <danf@mageia.org>2025-03-07 18:13:02 -0800
commitcea4da8740db29c49720df32f179b3378ee2e27b (patch)
treeff76c7a77e22cc08123acf751744f8dc6017196b /modules
parent251d46890ea3fac3d86381afb759ad96082ee836 (diff)
downloadpuppet-master.tar
puppet-master.tar.gz
puppet-master.tar.bz2
puppet-master.tar.xz
puppet-master.zip
Expand the IP ranges banned for hosting spidersHEADmaster
Widen the CIDR mask to catch many more addresses used by these bots.
Diffstat (limited to 'modules')
-rw-r--r--modules/apache/templates/vhost_fcgid.conf2
1 files changed, 1 insertions, 1 deletions
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 "<html><body>Impolite robots are not allowed</body></html>"