Bad Behavior 1.2 Release Candidate 2

August 8th, 2005 by Michael Hampton

Bad Behavior Bad Behaviour

Make a Donation.

The second release candidate of version 1.2 of Bad Behavior is now available! Bad Behavior stops at the front door by denying spammers the ability to access your PHP-based web site at all.

Surprisingly, no one reported any bugs in the first release candidate, but a very few spammers are still making it through. So I’ve made an update which attempts to address this and get that last 0.1% of the spam.

New from version 1.2 Release Candidate 1: When logging is turned on, Bad Behavior will identify spammers it has recently seen, even if their profile changes, and continue to block them. I believe this simple change should eliminate virtually all spam, even at the highest-traffic sites, while remaining fast.

Again, I still need reports of any spammers which escape Bad Behavior’s notice. Please contact me and include output from phpMyAdmin showing the relevant records for the spammer. Verbose logging has been turned on for this build so that the necessary records will be available if this happens.

Update August 11: Please see the newer version Bad Behavior 1.2 Release Candidate 3.


11 Responses to “Bad Behavior 1.2 Release Candidate 2”

  1. 1

    Dirk Haun Says

    I’m getting an SQL error for this line in bad-behavior-database.php:

    $query = “SELECT `ip` FROM `” . WP_BB_LOG . “` WHERE `ip` LIKE `” . $wp_bb_remote_addr . “` AND `http_response` = 403″;

    I believe the `quotes` around $wp_bb_remote_addr should be regular ‘quotes’ …

  2. 2

    Michael Hampton Says

    Dirk, you’re quite right. I’ve updated the existing download link with the corrected code. Sorry!

  3. 3

    Robert Basic Says

    bad behavior indeed :-) ) Got a mail from a user with Opera 8 (identifiying as such): No access
    Updated to the newest version RC2 and now its Firefox.
    bad bad … bad behavior is now off

  4. 4

    Robert Basic Says

    the one with Opera was regarding bad behavior 1.2 RC1

  5. 5

    MeeCiteeWurkor Says

    Wow, this is amazing. I’ve gone from about 20 spams caught by Spam Karma 2 that get through BB to ZERO.
    I do have a question. Does the stats plugin need to be updated? Seems it doesn’t work anymore with this upgrade?

  6. 6

    Michael Hampton Says

    Robert, there is nothing I can do, since you did not send me the relevant information from the bad_behavior_log. Hit the contact link above and mail me the information from the logs so I can track down what is wrong.

    MeeCiteeWurkor, the stats plugin will probably need to be updated. I don’t use it myself, and I’m not really sure why it would fail.

  7. 7

    Robert Basic Says

    @IOError, done, check your mail plz ;-)

  8. 8

    Ajay DSouza Says

    Hi,
    The BBStats plugin is compatible with 1.1.4

    I still have to get it to work with this latest version.

  9. 9

    Ajay DSouza Says

    Just and update.

    I installed 1.2 RC2 on my site and it is working fine.

    @MeeCiteeWurkor
    can you tell me what is the exact problem you are facing, either here or contact me.

    @IOError
    I have gone through the plugin code for wordpress and it seems same as that of 1.1.4 if I am not mistaken.
    BBStats requires to know only the database table BB is using. It is WP_BB_LOG as used in Bad Behavior.
    Have you changed the database information since 1.1.4?

  10. 10

    Geof F. Morris Says

    Michael: your link to RC3 at the bottom of the entry is wrong; however, the sidebar’s right. I figured that you’d want to fix it for posterity’s sake.

  1. 1

    Telagon Sichelputzer » Update: BadBehavior 1.2 RC2