Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
vB Bad Behavior (vB4) Details »
vB Bad Behavior (vB4)
Mod Version: 1.0.14, by Eric (Coder) Eric is offline
Developer Last Online: Jul 2019 I like it Show Printable Version Email this Page

vB Version: 4.x.x Rating: (25 votes - 4.92 average) Installs: 205
Released: 05 Apr 2011 Last Update: 22 Sep 2015 Downloads: 1050
Not Supported DB Changes Uses Plugins Additional Files Re-usable Code Translations External Content  

/**
* vB Bad Behavior is free software; you can redistribute it and/or modify it under
* the terms of the GNU Lesser General Public License as published by the Free
* Software Foundation; either version 3 of the License, or (at your option) any
* later version.
*
* This program is distributed in the hope that it will be useful, but WITHOUT ANY
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
* PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
*/


What is vB Bad Behavior?
This is an integration of the Bad Behavior software with vBulletin.

What is Bad Behavior?
Bad Behavior is a PHP-based solution for blocking link spam and the robots which deliver it. Bad Behavior complements other link spam solutions by acting as a gatekeeper, preventing spammers from ever delivering their junk, and in many cases, from ever reading your site in the first place. This keeps your site's load down, makes your site logs cleaner, and can help prevent denial of service conditions caused by spammers.

Visit http://bad-behavior.ioerror.us/ for more.

Features
For more information on the features of Bad Behavior (and subsequently this mod) please go to Bad Behavior's site:

http://bad-behavior.ioerror.us/documentation/benefits/

For features related to the mod itself, please take a look at the screenshots.

This mod should work with vB 4.x, it was tested on 4.1.2/4.1.3. Screenshots are from vB 3.x, but it should still look relatively the same with vB4.

Installation
1. Extract the contents of the zip file.
2. Upload the contents of the `upload` folder to your forum root.
3. Enter your AdminCP and go to Plugins & Products > Manage Products > [Add/Import Product]
4. Import the product using the `product-vb_badbehavior.xml` file.
5. Configure the mod in AdminCP -> Settings -> Options -> vB Bad Behavior Options

Upgrading

vB Bad Behavior
In many cases, all you'll need to do to upgrade is follow the installation instructions above.

The only difference, will be you'll need to allow the files to overwrite. Also, when re-importing the product file, you'll need to set "Allow Overwrite" to "Yes".

Bad Behavior
Bad Behavior's files are at `/includes/bad-behavior/`. If you wish to update manually go to:

http://bad-behavior.ioerror.us/download/

And download the latest development version. Extract the zip, and upload the contents of `bad-behavior` to `/includes/bad-behavior/` allowing the files to overwrite.

Versions
The current version of Bad Behavior this mod is using is: v2.2.16
The current version of Bad Behavior (development) is: v2.2.16

Changelog
Version 1.0.14, 09/22/2015
  • Bad Behavior upgraded to 2.2.16

Version 1.0.13, 04/23/2013
  • Bad Behavior upgraded to 2.2.14

Version 1.0.12, 12/21/2012 -- Released: 02/05/2013
  • Bad Behavior upgraded to 2.2.13
  • Added some more ranges to whitelist.ini

Version 1.0.10, 09/09/2012
  • Bad Behavior upgraded to 2.2.10

Version 1.0.9, 06/17/2012
  • Bad Behavior upgraded to 2.2.7

Version 1.0.8, 06/12/2012
  • Bad Behavior upgraded to 2.2.6
  • New Setting: EU Cookie

Version 1.0.7, 05/04/2012
  • Bad Behavior upgraded to 2.2.3
  • Cron/Scheduled Task for automatic log pruning added.

Version 1.0.6, 01/04/2012
  • Bad Behavior upgraded to 2.1.15

Version 1.0.5, 05/26/2011
  • Added option for bypassing users/members.
  • If the visitor is a user, and is in usergroup 5, 6, or 7 (admin/mod/super mod) - Bad Behavior is bypassed.
  • Modified bad-behavior core to check for Google Web Preview
    • file edited: /includes/bad-behavior/core.inc.php
  • Added a link beside the IP address in the log for WhoIs.

Version 1.0.4, 04/28/2011
  • Bad Behavior upgraded to 2.1.13 (fixes search engine block issues)
  • Added Paypal/Paypal IPN IP address to the whitelist.
  • Added payment gateway file names to the whitelist.

Version 1.0.3, 04/21/2011
  • Fix #1: Pruning log doesn't work.
  • Fix #3: POST more than two days after GET (added support for BB's javascript)
  • Fix #5: Cannot modify header information error (suppressed error in BB's function)
  • Implemented #6: Filter per key (new admincp option to list keys not to be shown in log)
  • Implemented #9: Show link to member profile (if userid is found in headers, link to profile)

Version 1.0.2, 04/10/2011
  • Updated /includes/functions_vb_badbehavior.php to:
    • disable Reverse Proxy if Reverse Proxy Addresses are empty
    • distinguish SQL queries using "SET", for example: SET @@session.wait_timeout = 90 - which is used by BB
    • set "offsite_forms" to false by default, as it's not really needed in vB IMHO, and it can cause problems with certain setups
    • cleaned up the bb2_read_settings() function and fixed a typo in one of the vbulletin options calls
  • Updated /includes/whitelist.ini to include the following GOOGLE ranges:
    • 74.125.0.0/16
    • 216.239.32.0/19
    • 209.85.128.0/17
    • 66.102.0.0/20
  • Updated /admincp/vb_badbehavior.php
    • Log pruning was pruning all logs, despite what was entered for number of days

Version 1.0.1, 04/06/2011
  • Bad Behavior upgraded to 2.1.12
  • Changed files:
    • /includes/bad-behavior/core.inc.php
    • /includes/bad-behavior/searchengine.inc.php
  • "Verbose" admin option now set to "No" by default.

Version 1.0.0, 04/05/2011
  • Initial release.


Screenshots
Screenshots can now be seen at: http://www.secondversion.com/images/vb/vb_badbehavior/

I was running out of room for attachments here on vB.org


Development

https://github.com/ericsizemore/vb_b...ree/master/vb4


Only those who "Mark As Installed" will receive support for this modification.

Download Now

Only licensed members can download files, Click Here for more information.

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Integration with vBulletin vB Bad Behavior Eric vBulletin 3.8 Add-ons 329 12 Sep 2017 02:14
Integration with vBulletin Project HoneyPot HTTP Blacklist Addon ( with Bad Behavior integration) TheSupportForum Modification Graveyard 51 09 Apr 2011 13:59
Integration with vBulletin Bad Behavior Integration SemperFideles vBulletin 4.x Add-ons 45 06 Apr 2011 01:27

  #151  
Old 20 Oct 2012, 00:21
ForceHSS's Avatar
ForceHSS ForceHSS is offline
 
Join Date: Apr 2008
Originally Posted by tpearl5 View Post
or you could just download from the link above and upload to the bad-behavior folder...
I already did does not mean the op does not need to update
Reply With Quote
  #152  
Old 20 Oct 2012, 00:45
Videx's Avatar
Videx Videx is offline
 
Join Date: Feb 2007
... This would prevent the delivery of targeted ads to a page, and result in generic ads being displayed.
This wouldn't affect us at all as far as I can tell. Still, I guess it's always a good idea to keep updated.

edit: FYI, the bad-behavior folder is in /forum/includes/.

Last edited by Videx; 20 Oct 2012 at 17:02.
Reply With Quote
  #153  
Old 22 Oct 2012, 10:23
BadgerDog BadgerDog is offline
 
Join Date: Oct 2006
Real name: Doug
I'm confused...

We use Google Adsense ...

My vBulletin add-on says this is installec ...

vB Bad Behavior (vB4) 1.0.10

Is this the latest version?

Thanks ..

Regards,
Doug
Reply With Quote
  #154  
Old 22 Oct 2012, 10:57
Videx's Avatar
Videx Videx is offline
 
Join Date: Feb 2007
Originally Posted by BadgerDog View Post
My vBulletin add-on says this is installec ...

vB Bad Behavior (vB4) 1.0.10

Is this the latest version?
That is currently the latest version of this mod, yes. But there may be a later version of the program this mod uses. Open up your /forum/includes/bad-behavior/core.inc.php and it will tell you what version of Bad Behavior you have.
define('BB2_VERSION', "2.2.11");
Post #1 explains how to update - see "Upgrading".
Reply With Quote
  #155  
Old 24 Oct 2012, 13:09
TheSupportForum TheSupportForum is offline
 
Join Date: Jan 2007
version 1.0.10

currently getting



Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

which points to


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

any help on this please
__________________
http://www.multihunters.co.uk - all your coding needs
Reply With Quote
  #156  
Old 24 Oct 2012, 14:29
ForceHSS's Avatar
ForceHSS ForceHSS is offline
 
Join Date: Apr 2008
Originally Posted by simonhind View Post
version 1.0.10

currently getting



Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

which points to


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

any help on this please
remove all files and reinstall see if that helps
Reply With Quote
  #157  
Old 28 Oct 2012, 11:51
Eric's Avatar
Eric Eric is offline
 
Join Date: May 2006
Real name: Eric
I plan on upgrading the plugin later today...
__________________
My modifications

Please do not contact me for support via PM or E-Mail unless I've asked you to do so. Otherwise, your message will be ignored/deleted.
Reply With Quote
  #158  
Old 29 Oct 2012, 10:11
Eric's Avatar
Eric Eric is offline
 
Join Date: May 2006
Real name: Eric
Will package and release later today, but if you want it now, it is available on GitHub:

https://github.com/ericsizemore/vb_b...ree/master/vb4
__________________
My modifications

Please do not contact me for support via PM or E-Mail unless I've asked you to do so. Otherwise, your message will be ignored/deleted.
Reply With Quote
  #159  
Old 29 Oct 2012, 10:20
BadgerDog BadgerDog is offline
 
Join Date: Oct 2006
Real name: Doug
Originally Posted by Videx View Post
That is currently the latest version of this mod, yes. But there may be a later version of the program this mod uses. Open up your /forum/includes/bad-behavior/core.inc.php and it will tell you what version of Bad Behavior you have. Post #1 explains how to update - see "Upgrading".
It says ... BB2_VERSION', "2.2.10"

Regards,
Doug
Reply With Quote
  #160  
Old 29 Oct 2012, 16:50
TheSupportForum TheSupportForum is offline
 
Join Date: Jan 2007
Eric

why are you not updating the whitelist.ini
google have released newer scopes
__________________
http://www.multihunters.co.uk - all your coding needs
Reply With Quote
  #161  
Old 30 Oct 2012, 11:32
BadgerDog BadgerDog is offline
 
Join Date: Oct 2006
Real name: Doug
I think they're may be a conflict with this mod and Google's new PageSpeed service, which we've just started to use....

We keep getting lots of members complaining of timeouts (blocking?) when they attempt to access our site, which is I believe when Google's caching severs attempt to redirect users to our site. There are hundreds of whois "f1182195" entries in our logs.

They all originate from Google's PageSpeed caching servers with IP addresses in this range 173.194.xx.xx.

GET /showthread.php?t=24952&p=137388 HTTP/1.1
Accept: */*
From: googlebot(at)googlebot.com
Connection: Keep-Alive
User-Agent: Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)
X-Pss-Loop: pagespeed_proxy
Accept-Encoding: gzip
Host: www.xxxx.com
Cache-Control: no-cache
X-Forwarded-For: 66.249.74.150
Note: I put the xxx's in the above quote for privacy.

How can I address this, short of turning OFF and not using Bad Behavior? Can I whitelist the range of server IP's and what would be the correct line to add to the whitelist.ini file?

Thanks for any help...

Regards,
Doug

f1182195 key = HTTP Response: 403
Explanation: An invalid request was received. You claimed to be a major search engine, but you do not appear to actually be a major search engine.
Log Message: User-Agent claimed to be Googlebot, claim appears to be false.

Last edited by BadgerDog; 30 Oct 2012 at 11:48.
Reply With Quote
  #162  
Old 30 Oct 2012, 22:06
BadgerDog BadgerDog is offline
 
Join Date: Oct 2006
Real name: Doug
Can some explain to me what this entry in whitelist.ini will allow and not allow as far as IP addresses, to access our site?

I'm trying to understand the .0.0 meaning... does that act as a wildcard so any number in there makes that a vaild entry to be able to access our site?

Thanks..

Regards,'Doug


; Extra GOOGLE ranges
ip[] = "74.125.0.0/99"
ip[] = "216.239.32.0/19"
ip[] = "209.85.128.0/17"
ip[] = "66.102.0.0/20"
Reply With Quote
  #163  
Old 31 Oct 2012, 18:48
TheSupportForum TheSupportForum is offline
 
Join Date: Jan 2007
Originally Posted by BadgerDog View Post
Can some explain to me what this entry in whitelist.ini will allow and not allow as far as IP addresses, to access our site?

I'm trying to understand the .0.0 meaning... does that act as a wildcard so any number in there makes that a vaild entry to be able to access our site?

Thanks..

Regards,'Doug


; Extra GOOGLE ranges
ip[] = "74.125.0.0/99"
ip[] = "216.239.32.0/19"
ip[] = "209.85.128.0/17"
ip[] = "66.102.0.0/20"
the developer hasnt updated them, there are about 3 more ranges
he needs to use, which i put into the whitelist.ini myself
__________________
http://www.multihunters.co.uk - all your coding needs
Reply With Quote
  #164  
Old 02 Nov 2012, 01:20
TheSupportForum TheSupportForum is offline
 
Join Date: Jan 2007
current issues with 1.0.10
the following varnames are not set as integer

vb_badbehavior_httpbl_threat
vb_badbehavior_httpbl_maxage
__________________
http://www.multihunters.co.uk - all your coding needs
Reply With Quote
  #165  
Old 12 Nov 2012, 10:49
vb50kgpoo vb50kgpoo is offline
 
Join Date: Aug 2011
Please hurry

Keen to download and impliment this as soon as the latest version is available. Just removed another product that was treating GoogleBots as a log referer spammers, and the log file it generated on log file spammers was viewable publicily, so this other mod was actually causing log referer spammers to target my site!!

So please hurry and release the new version Eric
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 08:45.

Layout Options | Width: Wide Color: