Author: D.DRX (26 Apr 07 10:59am)
I've written this small but simple script:
There are 2 files - the php script which queries the DNS - you'll need to modify the key at the top, and the notification email (you may choose to comment this out but for initial testing it's quite nice) - Also at the bottom you can modify the conditions on which it blocks (threat score/etc.)
The 2nd file is a sample .htaccess which tells php to prepend that file before all other scripts (such as phpbb/whatever). This can also be done via the php.ini file if you have control over it and it will affect ALL vhosts.
If you have any feedback/patches/changes, please drop me an email. Happy blocking.