Came across Bad Behaviour which is a plugin for Wordpress which is a set of PHP scripts which prevents spambots from accessing your site by analyzing their actual HTTP requests and comparing them to profiles from known spambots. It goes far beyond User-Agent and Referer, however.
Also found out that Mark Jaquith’s blog showed some kind [...]