Restricting comments by IP

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.

1 thought on “Restricting comments by IP

Leave a Reply