Is there a way in WordPress of being able to reject comments based on the IP address they came from? I had a brief look at the available plugins on the WordPress site but there doesn’t appear to be anything that does what I want.
Basically for about the last week or so I have been getting numerous bogus comments that I keep having to delete; all of the IP addresses are in the range 64.62.228.x. Using Arin’s WHOIS service it appears that all of the comments are originating within a range of IP addresses owned by an ISP called Hurricane Electric.
If there was some way of telling WordPress to automatically reject comments that fall within a certain IP range, I wouldn’t have a problem. I remember the discussion forums in the old ACS had such a feature. If you have any suggestions, let me know.
A quick and dirty way would be to just block them with .htaccess, i.e.:
Allow from All
Deny from 64.62.228.
Have you tried this plugin? (from http://codex.wordpress.org/Plugins/Spam_Tools no less).
I use Spam Karma 2, and haven’t had any spam problems in a while.