May 2012 Archives

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 apo…

CPANdeps now links to the right bug-tracker

CPANdeps has for ages had links to each distribution's bug tracker. Trouble is, it always just linked to rt.cpan. Lots of people don't use that any more, preferring to, for example, use the one that github creates for each repository hosted there. META.yml (and META.json) have links to those.

Ben Bullock provided a patch to extract the info from the META files, and I applied it a few moments ago. There are quite a few different ways it can be specified, and in some places META.yml and META.json files have different data structures, so we may have mis…

CPANdeps now understands META.json files

Because YAML isn't hip and trendy enough, at some point recently the toolchain started using META.json files as well as META.yml. Some foolish module authors only use META.json. Because CPANdeps didn't know about this file, their dependency graphs weren't being generated. Well, now they are. I just now pushed the updated code to the site, and you should start to see dependencies for things like DBIx::Class::Helpers, which /users/david_cantrell/2012/05/index.html

About David Cantrell

user-pic I'm in yur test resultz analyzn yr failz