CPANdeps DoS
Why anyone would want to spider CPANdeps is beyond me, but a load of idiots in the Ukraine do want to, and their bot, as well as ignoring robots.txt (just like all the other search engines in the entire world, it seems) sends requests as fast as it can. All the timeouts and the errors about CPANdeps running out of database connections must mean they get some really high quality data.
All fixed though:
/sbin/iptables -A INPUT -s 213.186.96.0/19 -j DROP
/sbin/iptables -A INPUT -s 212.113.32.0/19 -j DROP
If this inconveniences any Ukrainian perl hackers, then I apologise. You should address your complaints to the employees of ahrefs.com, preferably attached to baseball bats, knives and guns.
Hi David
IMHO: As soon as you say 'sends requests as fast as it can' you no longer have to apologize.
Cheers
Ron
I was apologising for being lazy and not bothering to take the time to only list the offending machines. I could have done, because they were all in my logs, but I just couldn't be bothered with writing a very small shell script :-)
Blocking over a million IPs just because of one rogue company is overkill.