| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
| |
These were intended to be enabled only on svnweb.mageia.org but
mirrors.mageia.org (and a couple others) were using the same template.
The changes in commit 6802d174 caused the anti-robot mitigation to be
triggered when urpmi downloaded $MIRRORLIST from a URL like
https://mirrors.mageia.org/api/mageia.9.x86_64.list?reason=update which
contains a query part. Fork the template so only svnweb gets these
features, which was the original intent.
|
| |
|
|
|
| |
Try to reduce svnweb load by making anything other than a plain path
require an anti-robot cookie.
|
| |
|
|
| |
The disk just fills up too quickly.
|
| |
|
|
| |
Any additional URL parameters after a & were previously dropped.
|
| |
|
|
|
|
|
|
|
| |
If an expensive request comes in from anyone without a cookie attached,
redirect to a page where the cookie is set using JavaScript, then
redirect back. This should block robots from these paths, most of which
do not support JavaScript. The collateral damage is that a JavaScript
browser is now required for users to access those paths. The contents
of the cookie is not currently checked, merely that it is set.
|
| |
|
|
|
|
|
| |
These two don't seem to contribute much to the load seen when robots
start hitting svnweb that hard. Also, remove a separate query block that
seems to not help much (and which was hard to find in a different
location in the file).
|
| |
|
|
|
|
|
| |
The last range was actually another Google bot, which clearly doesn't
support Crawl-Delay:. Rather than block one IP range, which isn't going
to work long-term since they have so many ranges, block only expensive
operations via its new User-Agent: string instead.
|
| | |
|
| |
|
|
| |
These comprise roughly 20% of current requests.
|
| | |
|
| |
|
|
| |
Most probably Presto is not used as user agent in browsers used by potential users of Mageia.
|
| | |
|
| | |
|
| |
|
|
| |
Widen the CIDR mask to catch many more addresses used by these bots.
|
| | |
|
| |
|
|
|
| |
They're currently taking up half the available disk which is currently
full.
|
| |
|
|
|
| |
This eliminates a bunch of conditionals, simplifying the configuration.
We no longer have any servers running on a release older than this.
|
| |
|
|
|
|
| |
This will increase CPU usage somewhat, but the reduction in required
bandwidth ought to make it a win for users. The compression level is set
to the lowest setting to keep CPU usage down.
|
| |
|
|
|
|
|
|
| |
Access without the @ symbol is the older method and is discouraged.
This take leaves alone accesses of variables that are defined within the
template, which don't seem to allow an @.
This batch of changes is for templates related to web sites.
|
| |
|
|
|
|
| |
Variables defined within a template can't be accessed with @. This
change needs to be reworked to eliminate those cases.
This reverts commits 2c7da665 and ae197622.
|
| |
|
|
| |
Access without the @ symbol is the older method and is discouraged.
|
| |
|
|
|
|
| |
There was a bot there was hammering us for weeks, but which doesn't
identify itself in the User-Agent string. Also, add another couple of
bot User-Agent strings.
|
| |
|
|
|
|
| |
This will result in most operations other than showing a directory or
downloading a specific version of a file being blocked. ClaudeBot and
Amazonbot remain completely blocked.
|
| |
|
|
| |
This should result in no difference in configuration.
|
| | |
|
| |
|
|
| |
These are for use by humans only.
|
| |
|
|
|
| |
This is only currently used by xymon, but it looks like it could be used
to simplify a few other vhosts.
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
| |
Already in fcgid.pp
From unknown author root@duvel
|
| | |
|
| | |
|
| |
|
|
| |
fastcgi is not available on Mageia 5.
|
| | |
|
| |
|
|
| |
"service httpd configtest" does not work with systemd
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
This has been provided by the apache package directly since Mga3.
apache-mod_deflate was used for the planet config only, on the
champagne host, running Mga4.
puppet failed because it did not handle the virtual package from the
apache package:
Error: Package apache-mod_deflate was not present after trying to install it
Error: /Stage[main]/Apache::Mod::Deflate/Package[apache-mod_deflate]/ensure: change from absent to present failed: Package apache-mod_deflate was not present after trying to install it
|
| | |
|
| | |
|
| | |
|