[geeklog-cvs] bad_behavior2: Upgraded to Bad Behavior 2.0.25

geeklog-cvs at lists.geeklog.net geeklog-cvs at lists.geeklog.net
Fri Nov 21 07:11:32 EST 2008


details:   http://project.geeklog.net/cgi-bin/hgweb.cgi/rev/f3d741c1b860
changeset: 6:f3d741c1b860
user:      Dirk Haun <dirk at haun-online.de>
date:      Fri Nov 21 13:11:20 2008 +0100
description:
Upgraded to Bad Behavior 2.0.25

diffstat:

5 files changed, 7 insertions(+), 7 deletions(-)
INSTALL.txt                                |    6 +++---
public_html/README.txt                     |    2 +-
public_html/bad-behavior-wordpress.php     |    2 +-
public_html/bad-behavior/blackhole.inc.php |    2 +-
public_html/bad-behavior/version.inc.php   |    2 +-

diffs (71 lines):

diff -r 12b0c8697063 -r f3d741c1b860 INSTALL.txt
--- a/INSTALL.txt	Mon Sep 29 13:51:36 2008 +0200
+++ b/INSTALL.txt	Fri Nov 21 13:11:20 2008 +0100
@@ -1,4 +1,4 @@
-Bad Behavior2 Plugin v2.0.24 for Geeklog v1.4.1 and later
+Bad Behavior2 Plugin v2.0.25 for Geeklog v1.4.1 and later
  - Bad Behavior 2 is Copyright (c) 2005-2008 Michael Hampton.
                                              All rights reserved.
    Original Geeklog Plugin by Dirk Haun
@@ -18,7 +18,7 @@
 With one exception (see step 5), this plugin installs like any other Geeklog
 plugin:
 
-1) Unpack bad_behavior2_2.0.24-1.4.1.tar.gz
+1) Unpack bad_behavior2_2.0.25-1.4.1.tar.gz
 2) Upload the contents of the public_html directory into
    /path/to/geeklog/public_html/bad_behavior2
 3) Upload the contents of the admin directory into
@@ -47,7 +47,7 @@
 UPGRADING
 
 If you are upgrading from v1.2.4-1 you must first uninstall the existing
-plugin before you install v2.0.24.
+plugin before you install v2.0.25.
 
   - Perform a standard plugin uninstall - Plugins -> Bad Behavior - Delete
   - Do not forget to remove the Bad Behavior 1 lib-common.php entry
diff -r 12b0c8697063 -r f3d741c1b860 public_html/README.txt
--- a/public_html/README.txt	Mon Sep 29 13:51:36 2008 +0200
+++ b/public_html/README.txt	Fri Nov 21 13:11:20 2008 +0100
@@ -4,7 +4,7 @@
 Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&business=error%40ioerror%2eus&item_name=Bad%20Behavior%20%28From%20WordPress%20Page%29&no_shipping=1&cn=Comments%20about%20Bad%20Behavior&tax=0&currency_code=USD&bn=PP%2dDonationsBF&charset=UTF%2d8
 Requires at least: 1.2
 Tested up to: 2.7
-Stable tag: 2.0.24
+Stable tag: 2.0.25
 
 Welcome to a whole new way of keeping your blog, forum, guestbook, wiki or
 content management system free of link spam. Bad Behavior is a PHP-based
diff -r 12b0c8697063 -r f3d741c1b860 public_html/bad-behavior-wordpress.php
--- a/public_html/bad-behavior-wordpress.php	Mon Sep 29 13:51:36 2008 +0200
+++ b/public_html/bad-behavior-wordpress.php	Fri Nov 21 13:11:20 2008 +0100
@@ -1,7 +1,7 @@
 <?php
 /*
 Plugin Name: Bad Behavior
-Version: 2.0.24
+Version: 2.0.25
 Description: Deny automated spambots access to your PHP-based Web site.
 Plugin URI: http://www.bad-behavior.ioerror.us/
 Author: Michael Hampton
diff -r 12b0c8697063 -r f3d741c1b860 public_html/bad-behavior/blackhole.inc.php
--- a/public_html/bad-behavior/blackhole.inc.php	Mon Sep 29 13:51:36 2008 +0200
+++ b/public_html/bad-behavior/blackhole.inc.php	Fri Nov 21 13:11:20 2008 +0100
@@ -42,7 +42,7 @@
 	$result = gethostbynamel($settings['httpbl_key'].".${find}.dnsbl.httpbl.org.");
 	if (!empty($result)) {
 		$ip = explode('.', $result[0]);
-		if ($ip[0] == 127 && ($ip[3] & 7) && $ip[2] >= $settings['httpbl_threat'] && $ip[1] >= $settings['httpbl_maxage']) {
+		if ($ip[0] == 127 && ($ip[3] & 7) && $ip[2] >= $settings['httpbl_threat'] && $ip[1] <= $settings['httpbl_maxage']) {
 			return '2b021b1f';
 		}
 	}
diff -r 12b0c8697063 -r f3d741c1b860 public_html/bad-behavior/version.inc.php
--- a/public_html/bad-behavior/version.inc.php	Mon Sep 29 13:51:36 2008 +0200
+++ b/public_html/bad-behavior/version.inc.php	Fri Nov 21 13:11:20 2008 +0100
@@ -1,3 +1,3 @@
 <?php if (!defined('BB2_CWD')) die("I said no cheating!");
-define('BB2_VERSION', "2.0.24");
+define('BB2_VERSION', "2.0.25");
 ?>



More information about the geeklog-cvs mailing list