url.redirect = (
"^(.*)php(.*)$" => "http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.37.3.tar.bz2",
# other stuff
)
I do not use php on the server.. I don't know if these kits end up downloading the kernel or not, though. url.redirect = (
"^(.*)php(.*)$" => "http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.37.3.tar.bz2",
# other stuff
)
I do not use php on the server.. I don't know if these kits end up downloading the kernel or not, though.Just throw the request away or return a 404 at the load balancer level.
If you're on Apache use mod_security, if you're not put Varnish in front and configure it to return simple 404 errors on such pages.
But don't mod_rewrite, redirect or otherwise throw traffic onto someone else's server, let alone one that will result in a traffic cost for them.
Yeah, point them at microsoft.com instead! Should be easy to find a hefty service pack or DirectX install for the bots to hit...
Am I missing something here, or is this actually a decent idea?
Edit: I just tried this in IE on my Win box; the connection even stayed open for a good long time! Firefox blocked it, though, which is probably good.
But, I do wonder if there is some other way to do the same thing. Perhaps we could setup some kind of tarpit like server that sends out a file very slowly... like .1K / sec (~1 packet every 10 secs). Just enough to keep their connection alive, but slow enough to not use too much bandwidth.
But, I'm not sure if this would be any better than just sending a 404 quickly.