Bad Behavior 2.0.28

June 11th, 2009 by Michael Hampton

Make a Donation.

Bad Behavior 2.0.28 has been released. It is a maintenance release and is recommended for all users.

MediaWiki and WordPress users who have not updated in the last year or so should take note of special upgrade instructions below.

Who should upgrade?

All users should upgrade to resolve issues identified after yesterday’s 2.0.27 release. These issues could cause PHP warnings to appear on your site, or could cause legitimate trackbacks to be blocked.

What’s new?

New in this release (since 2.0.27):

  • A particularly nasty trackback spammer advertising various drugs was blocked in the 2.0.27 release. An error in the logic may have caused legitimate trackbacks to be blocked. This error has been corrected.
  • A PHP warning which appeared in the IPv6 handling code has been corrected.

Support

Thank you to everyone who has chosen to make a financial contribution toward further development of Bad Behavior. Your contributions ensure that I can prioritize Bad Behavior development and make more frequent and timely releases, like this one.

I also want to say thanks to everyone who reported the problems in the previous release; you are too numerous to mention and my email box is still filling up with reports. So thank you.

Download

Download Bad Behavior now!

Special Upgrade Instructions

Users of MediaWiki and WordPress upgrading from version 2.0.20 or earlier should follow these special directions (from 2.0.21 or later, upgrade normally):

For MediaWiki: Before installing this version of Bad Behavior, manually remove (e.g. using FTP or ssh) any old versions you may have, including the lines added to LocalSettings.php. Then install the new version fresh, following the installation instructions for MediaWiki.

For WordPress: If updating to this version through the automatic updater fails, manually remove (e.g. using FTP or ssh) any old versions you may have installed. Then upload and install the new version fresh, following the installation instructions for WordPress. After doing so, future automatic updates should proceed normally.

For other platforms: No changes to your upgrade procedures should be necessary.


31 Responses to “Bad Behavior 2.0.28”

  1. 1

    Randy Brown Says

    Excellent
    /Mr Burns voice

    So far so good – Keep it up!

  2. 2

    Álvaro Degives-Más Says

    +1 Excellent
    /Wayne’s World Dana/Mike voice

    And the saga of utter awesomeness continues…

  3. 3

    Walter Cruz Says

    I’ve done a version for b2evolution and released it this week http://forums.b2evolution.net//viewtopic.php?t=18909&start=0&postdays=0&postorder=asc&highlight=

  4. 4

    Jack Says

    I hope once Invision Power Board 3 comes out that an addon can be made for it!

  5. 5

    David Says

    For the life of me, I can’t figure out where to change the status display footer line’s CSS or layout. I need for it to be in my footer, not outside it.

    Inside my tag, I have 3 divisions (header, content, footer) and then the bad behavior status. This is frustrating.

    Please help.

  6. 6

    David Says

    For the life of me, I can’t figure out where to change the status display footer line’s CSS or layout. I need for it to be in my footer, not outside it.

    Inside my <body> tag, I have 3 divisions (header, content, footer) and then the <P> bad behavior status. This is frustrating.

    Please help.

  7. 7

    Michael Hampton Says

    Usually that happens when the WordPress theme puts its call to wp_footer() in the wrong place. Contact your theme designer.

  8. 8

    Sam Diener Says

    Hi,

    I am having trouble with the dashboard dissapearing when I use Bad Behavior in WP 2.8. I am 100% positive it is this plugin. Any ideas? GREAT JOB BTW on it…

    Sam Diener

  9. 9

    Sven Says

    Is there a “stand alone” log reader for Bad Behavior?

    I am sure it is easy to make one, but even if I know php I am a complete noob when it comes to mysql…

  10. 10

    Michael Hampton Says

    Many people have used phpMyAdmin to view the log entries in the database.

  11. 11

    Sven Says

    Thanks for the reply Michael, and thanks for all you effort with BB.

    I have also used phpMyAdmin to view the log, but need something simpler and easier to read.

    I will ask a friends with sql-skills to help me out, the rest is simple php and some html.

  12. 12

    Bill M. Says

    I have transferred a site from Mambo CMS to WordPress 2.8. I had another WordPress-based blog that had an older version of the Bad Behavior plugin installed — the site is gone now so I don’t know which version of Bad Behavior was installed there. The new WP 2.8 site has the latest Bad Behavior installed and I get different errors from MySQL when BB is activated within the WP Plugins Dashboard. I have de-activated it for now.

    I regrettably can’t list the MySQL errors as they appeared within the different areas. I was in the Links — Add Categories function and recall seeing a message with something to the effect that the MySQL server was not available. I had entered a new Links category earlier without a hitch, installed the Bad Behavior plugin, and then tried adding another category to Links when the MySQL error appeared. I deactivated BB and error went away. I turned on BB a little later and saw a different MySQL error when I tried to do an edit change to a previously posted article. Again, I turned off BB and the error condition went away.

    Is there a suggested earlier version I can use in the meantime? Thanks in advance for any and all feedback.

    -*-Bill

  13. 13

    Bill M. Says

    I have transferred a site from Mambo CMS to WordPress 2.8. I had another WordPress-based blog that had an older version of the Bad Behavior plugin installed — the site is gone now. The new WP 2.8 site has the latest Bad Behavior installed and I get different errors from MySQL when BB is activated within the WP Plugins Dashboard. I have de-activated it for now.

    I regrettably can’t list the MySQL errors as they appeared within the different areas. I was in the Links — Add Categories function and recall seeing a message with something to the effect that the MySQL server was not available. I had entered a new Links category earlier without a hitch, installed the Bad Behavior plugin, and then tried adding another category to Links when the MySQL error appeared. I deactivated BB and error went away. I turned on BB a little later and saw a different MySQL error when I tried to do an edit change to a previously posted article. Again, I turned off BB and the error condition went away.

    Is there a suggested earlier version I can use in the meantime? Thanks in advance for any and all feedback.

    -*-Bill

  14. 14

    Sven Geggus Says

    I’ve still got Problems with access from IPv6 enabled hosts (BB v. 2.0.28). If i use ipv4 from the dame host with the same browser everything works fine :(

  15. 15

    Sven Geggus Says

    Looks like Access from IPv6 enabled sites ist still blocked.

    All I get is a page which tells me that my technical support key is 02 :(

  16. 16

    Sven Geggus Says

    Oh, and posting comments is broken. It telly me “502 Bad Gateway” but the commet is posted anyways.

  17. 17

    Ron Says

    A link to “blog comment poster” got through, to be caught by SK2. After reading the arrogant bit on their site about how they get through systems like Bad Behavior, I wanted to report it here to see if there’s any data I can offer to help block this product in BB2.

  18. 18

    Mike Lewitz Says

    Having a whitelist would be a nice addition. AWeber is blocked when it trys to verify links in my email newsletters.

    Thanks for a very cool plugin!

  19. 19

    ??? ??? ?? ???? ??????? Says

    I have transferred a site from Mambo CMS to WordPress 2.8. I had another WordPress-based blog that had an older version of the Bad Behavior plugin installed — the site is gone now. The new WP 2.8 site has the latest Bad Behavior installed and I get different errors from MySQL when BB is activated within the WP Plugins Dashboard. I have de-activated it for now.

  20. 20

    ??? ??? ?? ???? ??????? Says

    I have transferred a site from Mambo CMS to WordPress 2.8. I had another WordPress-based blog that had an older version of the Bad Behavior plugin installed — the

  21. 21

    MrElvey Says

    Testing to see if I can post here. I was blocked from posting at the Website above (click my name) by Bad B.

    Error:
    …Before trying again, close your browser, run anti-virus and anti-spyware software and remove any viruses and spyware from your computer.

    Your technical support key is: 62f8-710b-…

    You can use this key to fix this problem yourself.

    contact x. Before contacting x, I want to see if BB blocks me from posting here.

  22. 22

    Álvaro Degives-Más Says

    Mike, there’s a whitelist available.

    Look in the plugin folder, here:

    /wp-content/plugins/bad-behavior/bad-behavior

    You’ll see a file named ‘whitelist.inc.php’ which does what it says.

    Be very careful though – there’s a warning atop the file that you should look at and ponder before happily exceptions. For your convenience, this is what that text says:

    DANGER! (x8) Inappropriate whitelisting WILL expose you to spam, or cause Bad Behavior to stop functioning entirely! DO NOT WHITELIST unless you are 100% CERTAIN that you should.

  23. 23

    Gary Miller Says

    Hi all,

    Wonder if anyone can help with a problem please?

    I am using the latest versions of both BB and WordPress. I access the internet via a mobile dongle with my laptop.

    Just recently, every time I try to access my blog (even just the public area) I get blocked. The error is always the the same: d4b7-8640-a52f-0448. I looked at the support for this problem and how to submit the necessary header. However, I don’t think this suitable in this case.

    My mobile provider uses dynamic IPs which has never been a problem up until now. Every time I get blocked, I check my new IP, access the BB whitelist via FTP and update the list.

    But, I’ve read that this is supposed to be a bad thing and, surely I shouldn’t have to be doing this whenever I want to view my own blog – never mind trying to sign in to the Admin area!

    Has anyone else come up across this problem? Does anyone have any suggestions as how to get around it?

    Many thanks in advance.

  24. 24

    Gary Miller Says

    Just a quickie…why are only the first 18 comments visible – until you submit a comment?

    Just can’t seem to find a way to view final 6 posts or so any way other than this.

    Cheers!

  25. 25

    Sam Diener Says

    Has anyone run into an interaction between bad-behavior and posts-meta.

    When I run them together: I get

    WordPress database error: [Unknown column 'robotsmeta' in 'field list']
    UPDATE wp_posts SET robotsmeta = ‘index,follow’ WHERE ID = 623

    WordPress database error: [Unknown column 'robotsmeta' in 'field list']
    UPDATE wp_posts SET robotsmeta = ‘index,follow’ WHERE ID = 586

    Warning: Cannot modify header information – headers already sent by (output started at /homepages/9/d271604408/htdocs/samdiener/wp-includes/wp-db.php:587) in /homepages/9/d271604408/htdocs/samdiener/wp-includes/pluggable.php on line 865

    Thoughts?

  26. 26

    Bostin Says

    Hey there,
    Just wanted to say that after discovering Project HoneyPot through the Thesis Open Hooks Plugin it lead me to you and Bad Behavior so I could incorporate the Http:BL list.
    It’s working beautifully and it’s fun to login and see 0 spam on the Dashboard. Only 2 spams have made it through.

    Great work and Cheers to you!

  27. 27

    richliu Says

    Bad Behavior has some bugs when website at IPv6 environment.

    It will show
    Error
    We’re sorry, but we could not fulfill your request for / on this server.

    Your technical support key is: 7d1

    You can use this key to fix this problem yourself.

    When disable Bad bahavior or using ipv4 network , everything ok.

  28. 28

    Diraen Says

    Hi ! What about a French version ?

  29. 29

    Carey Says

    Great plugin! Works perfectly (even on our GoDaddy site). Like the comments sprinkled throughout the code too.
    Under ‘Manage’ clicking the IP gets you a list of attempts from that address. I’d like to rewrite the IP link to go to whois.domaintools.com, but can’t find the link code. Any guidance or hints will be much appreciated. Thanks.

  30. 30

    test Says

    sex

  1. 1

    Bad Behavior / Bad Behaviour: Bad Behavior 2.0.29

Leave a Response