It would be very interesting if this second plugin could modify the .htaccess file so that if could block this IPs from ever reaching the comment or trackback pages or even the entire blog. It could block this IPs for a given time span. This would be nice to easy the CPU consumption on the server and also the queries on MySQL.

Is this hard to do? Are there any security issues?