Drupal Bad Behaviour and killing spam

A couple of days ago I mused here about using server errors to kill spam/trackback bots. It seems I was not the first to think about this and David Angier has done work on porting Bad Behavior from Word Press to Drupal. I'd like to have some more configuration control but I'll likely figure it out shortly.

Update: The Drupal Bad Behavior module works wonderfully. Comments and trackbacks are on and are being filtered and real comments are untouched. There is no menu item for administering the settings. I added the following as the third menu item:

$items[] = array('path' => 'admin/settings', 'title' => t('bad behavior'), 'callback' => 'badbehavior_settings', 'access' => user_access('administer bad behavior'));

Update too: My earlier update seems to be unnecessary. It was likely a caching issue that prevented the menu from appearing. So far more than 800 spams have been prevented and there have been no false positives detected. A few folks have had the same problem I did which is that you have to install badbehavior.module in the bad-behavior directory in the modules directory or it won't find the include files it needs.

No votes yet

Comments

Aug
29
2005

Bad Behavior Instructions

I have updated the main download archive to include an INSTALL.TXT file that I hope will cover this confusion.

David

Aug
29
2005

Another update

by Joshua Brauer

Bad Behavior has now blocked nearly 5,000 trackback/comment spams. A whopping 2, count them, 2, trackback spams snuck through. So it's been 99.96% effective. Not bad at all.

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Link to Amazon products with: [amazon product_id inline|full|thumbnail|datadescriptor]. Example: [amazon 1590597559 thumbnail] or [amazon 1590597559 author]. Details are on the Amazon module handbook page.
  • Twitter-style @usersnames are linked to their Twitter account pages.
  • Twitter-style #hashtags are linked to search.twitter.com.
  • Allowed HTML tags: <a> <b> <dd> <dl> <dt> <i> <li> <ol> <u> <ul><p> <img> <table> <tr> <td><strong><em><sup><div><fn><h1><h2><h3><h4><blockquote><img style="">
  • Use [fn]...[/fn] (or <fn>...</fn>) to insert automatically numbered footnotes.
  • You may insert videos with [video:URL]
  • Lines and paragraphs break automatically.
  • Web page addresses and e-mail addresses turn into links automatically. (Better URL filter.)
  • You may post code using <code>...</code> (generic) or <?php ... ?> (highlighted PHP) tags.

More information about formatting options