Version 1.x of this plugin works differently than the 0.2x versions. Any user of the 0.2x versions should completely uninstall the 0.2x version, especially including the removal of the line added to config.php. If the old version is not properly removed, you will have PHP errors that cause your pages to not load. The 0.2x versions will no longer be supported, so please plan your upgrade soon. For help, please use the support forum thread for this plugin. See link below.
This plugin adapts the Bad Behavior 2.0.30 spam fighting script to NucleusCMS. The Bad Behavior script is written by MichaelHampton, MarkJaquith, FirasDurri, and AndySkelton. Bad Behavior is a set of PHP scripts which prevents spambots and other malicious accesses to your PHP-based Web site. It prevents comment spam, trackback spam, guestbook spam, wiki spam, referrer spam, and some types of malicious Web site hacking. It works before your page is fully loaded and can conserve site resources.
As of version 0.26, including the 1.x versions, of this plugin (version 2.0.21+ of the badbehavior scripts), Bad Behavior incorporates data on harvesters and comment spammers compiled by Project Honey Pot and published through its http:BL service. In order to enable this feature, you must obtain an http:BL access key and provide this key to Bad Behavior in its settings as described below. While the http:BL settings can be fine-tuned to block or allow requests based on the threat level and age of a harvester or comment spammer record, the default settings have been extensively tested and found to block virtually all spammers known to http:BL while allowing all legitimate users, even those that http:BL may have classified as suspicious. This feature obsoletes any other http:BL plugins you may have, and they can be removed.
| General Plugin info | |
|---|---|
| Author: | Frank Truscott |
| Current Version: | 1.10 |
| Download: | Zip ~29kB |
| Code: | N/A |
| Demo: | N/A |
| Forum Thread: | 0.2x versions 1.x versions |
include($DIR_PLUGINS.'badbehavior/bad-behavior-nucleuscms.php');
First obtain the key from the Honey Pot Project.
Now, in the Nucleus admin area, visit the BadBehavior admin page from the Plugins Management page. Click the Admin tab, and then add your key in the appropriate field.
Once you’ve installed the plugin, it will be working every time someone tries to access your site. It checks for blacklisted ip addressed and user-agents, as well as malformed http headers.
Stats are kept for one week and can be viewed (rather rudimentarily) in the admin area for the plugin.
If you need to disable the plugin, use the plugin options page to turn it off.
For example, you might put this in your footer:
<a href="http://www.bad-behavior.ioerror.us" title="Bad Behavior">Bad Behavior</a> has blocked <%BadBehavior%> malicious accesses in the past 7 days.
NP_BadBehavior version 1.00 works with Nucleus CMS 3.33 - 2008-11-20 ftruscot