diff options
author | Dan Fandrich <danf@mageia.org> | 2025-05-17 13:43:09 -0700 |
---|---|---|
committer | Dan Fandrich <danf@mageia.org> | 2025-05-17 13:45:08 -0700 |
commit | 27688caf88c7d354c787995970bf607d02c684d9 (patch) | |
tree | d1d44902247cc082944bd24f135b42016e4c7836 | |
parent | a47d809d64c93d5ba9612476543d558509c7d8f1 (diff) | |
download | puppet-27688caf88c7d354c787995970bf607d02c684d9.tar puppet-27688caf88c7d354c787995970bf607d02c684d9.tar.gz puppet-27688caf88c7d354c787995970bf607d02c684d9.tar.bz2 puppet-27688caf88c7d354c787995970bf607d02c684d9.tar.xz puppet-27688caf88c7d354c787995970bf607d02c684d9.zip |
Block more abusive IP address ranges
These comprise roughly 20% of current requests.
-rw-r--r-- | modules/apache/templates/vhost_fcgid.conf | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/apache/templates/vhost_fcgid.conf b/modules/apache/templates/vhost_fcgid.conf index 8fc8da5c..486a4e71 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.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'" +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' || -R '188.239.0.0/18' || -R '166.108.192.0/18' || -R '124.243.160.0/19' || -R '101.46.0.0/20'" RewriteRule . - [R=403,L] RewriteCond %{QUERY_STRING} "sortby=.*view=(log|patch)" |