Stopping the spammers in their tracks

| 1 Comment
Comment spam can be a pain. Email spam renders email unusable. Being able to block both easily would be the "Holy Grail" for many bloggers.
  • Currently 0/5
  • 1
  • 2
  • 3
  • 4
  • 5
Rating: 0 /5( 0 votes cast)
Michael Hampton (io_error) has developed a set of scripts to do just that. His bad behaviour suite of scripts is described as:
... 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.
Not only will it stop comment spammers, but it will also stop referrer spam and email scrapers. Although he may have originally developed the scripts for use in conjunction with Wordpress, he has also developed versions that are compatible with other blogging platforms and claims that the scripts can be used in conjunction with any number of dynamic sites (eg. CMS):
Bad Behavior is available for several PHP-based software packages, and also can be integrated in seconds into any PHP script.
When a badly behaved UserAgent attempts to access your site it will get an error. I grabbed a copy of it last night for Wordpress and so far it has stopped a dozen comment spammers from accessing this blog. Whether or not it will remain effective over time is something that I will have to wait and see. The only downside to the scripts is that there is no frontend to the logs, so you have to use phpmyadmin or equivalent to view them. Further information, download and install instructions are available on his site.

1 Comment

It seems that Bad Behavior will stop my SPAM-ING Problems for my comment script. I think I am gonne try it out. Thanks for the advice..
Greets Jens ( http://www.isoliert.de/forums/ )

OpenID accepted here Learn more about OpenID
Powered by Movable Type 4.23-en
TwitterCounter for @micheleneylon

About this Entry

This page contains a single entry by Michele Neylon published on August 5, 2005 8:37 AM.

Microsoft enters the blogosphere? was the previous entry in this blog.

Archiving dot bomb is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.