Bad Behavior for SMF mod

Started by butchs, April 12, 2010, 05:23:56 PM

Previous topic - Next topic

Sudhakar Arjunan

I have installed bad behavior for smf 3 months ago. And for last 3 months even for admin it shows.

An Error Has Occurred
Sorry Guest, you are banned from using this forum!
spam post
This ban is not set to expire.

Dont know what to do ? any help is appreciated.
Working on New Mods & Themes for SMF... Will update soon... My Blog page
My Smf forum : Discuss ITAcumens :: My SMF Forum

Kindred

I don't think that has to do with the bad behavior mod...  to me, it looks as if you banned your own IP address...
if it affects EVERYBODY, then you are possibly using something like cloudflare, and you banned the incoming IP (which would affect everyone)
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Sudhakar Arjunan

Thank you Kindred for the reply.

I dont use any cloud flare or such cloud application. I host my site on a dedicated server only.

So please help me how to remove everybody / ip address ban or how to un banned the incoming ip.

If i access from some new computer, i can see the forum is opening.
Working on New Mods & Themes for SMF... Will update soon... My Blog page
My Smf forum : Discuss ITAcumens :: My SMF Forum

Kindred

then access it form a new computer, log in as an admin and remove the bans
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Sudhakar Arjunan

I checked it , but i see bans which i done in last 8 years.

No such bans on guest , or the ip address i use or the admin etc.

Only in ban log it shows that the ip am using shows as blocked - its just a log.
Working on New Mods & Themes for SMF... Will update soon... My Blog page
My Smf forum : Discuss ITAcumens :: My SMF Forum

Boskonovic

Dear butchs,

I have completed the translation to Italian (both utf-8 and standard) of the mod.

Best Regards
Andrea

butchs

Quote from: Kindred on May 06, 2016, 09:30:54 AM
I don't think that has to do with the bad behavior mod...  to me, it looks as if you banned your own IP address...
if it affects EVERYBODY, then you are possibly using something like cloudflare, and you banned the incoming IP (which would affect everyone)

Yea, I do not have an expire note on my bans.

Sorry it took so long to reply - I crashed my computer with crazy overclocking...
I have been truly inspired by the SUGGESTIONS as I sit on my throne and contemplate the wisdom imposed upon me.

JaGuR

Hi guys,

I hve had to disable the Bad Behavoiur Mod as it was blocking a few of my members, and idea's why or what I need to do to rectify the issue ?

butchs

For several years I listed all the helps in the first post.  Then someone at SMF cam up with the brilliant idea to standardize all the first posts and wipe them all out without warning.  I do not have the time to do it again.  Search HELP and you will find the answer.

In your case whitelsit all members:  http://www.simplemachines.org/community/index.php?topic=375980.msg3403306;topicseen#msg3403306
I have been truly inspired by the SUGGESTIONS as I sit on my throne and contemplate the wisdom imposed upon me.

vbgamer45

I agree i dislike that we can't edit posts...
Here is the html that i found from your orginal

<div class="inner" id="msg_2582045">
<ul class="bbc_list"></ul><span style="font-size: 14pt;" class="bbc_size"><a href="http://custom.simplemachines.org/mods/index.php?mod=2502" class="bbc_link" target="_blank">Link to Mod</a></span><br><br><div align="center"><span style="color: red;" class="bbc_color"><span style="font-size: 18pt;" class="bbc_size"><strong>Bad Behavior Mod</strong></span></span></div><div align="center"><span style="color: blue;" class="bbc_color">PHP-based solution for blocking link spam and robots</span></div><div align="center"><span style="color: blue;" class="bbc_color">Turning the Spam Flood Into a Trickle for Years</span></div><div align="center"><strong>Written by:</strong>&nbsp; &nbsp; <a href="http://www.simplemachines.org/community/index.php?action=profile;u=77887" class="bbc_link" target="_blank">butchs</a><br><br><a href="https://www.paypal.com/cgi-bin/webscr?cmd=_donations&amp;business=UJTMMF8FKGLZ6&amp;lc=US&amp;item_name=butchs%2f%20continued%20updates&amp;currency_code=USD&amp;bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted" class="bbc_link" target="_blank">Donations accepted to help support this mod</a></div><br><hr><strong><span style="font-size: 24pt;" class="bbc_size">INSTALLATION:</span></strong><br><br><em><strong>Please look at all the preview images on the <a href="http://custom.simplemachines.org/mods/index.php?mod=2502" class="bbc_link" target="_blank">mod</a> page.</strong></em><br><br><strong>Adjust settings before you enable the mod.</strong><br>(Mod will disable it's self when uninstalled)<br><br>Check all the options that are "Recommended" in "Bad Behavior Admin/ SETTINGS".<br><br>Whitelist all your regular members.&nbsp; Read "<a href="http://www.simplemachines.org/community/index.php?topic=375980.msg3403306#msg3403306" class="bbc_link" target="_blank">WHITELIST MEMBERS HELP</a>" for details.<br><br><div align="center">- - - - - - - - - - - - - - - - - - - - - - - <strong>OPTIONAL httpBL</strong> - - - - - - - - - - - - - - - - - - - - - - - </div>The core of the mod protects your site even if httpBL is not enabled.&nbsp; It is recommended to increase protection by adding httpBL.<br><br><span class="bbc_u">httpBL procedure:</span><br>Register your site at <a href="http://www.projecthoneypot.org/faq.php#b" class="bbc_link" target="_blank">ProjectHoneyPot</a>.<br>Get the access key at <a href="http://www.projecthoneypot.org/faq.php#g" class="bbc_link" target="_blank">ProjectHoneyPot</a>.<br>Add an OPTIONAL <a href="http://www.projecthoneypot.org/manage_honey_pots.php" class="bbc_link" target="_blank">honey pot</a> script for your site.<br>Copy the OPTIONAL honey pot script to your site (the same location as the SMF folder).<br>Activate the OPTIONAL <a href="http://www.projecthoneypot.org/manage_honey_pots.php" class="bbc_link" target="_blank">honey pot</a> script and confirm it is active.<br><br>Copy over the HoneyPot information in the "Bad Behavior Admin/ SETTINGS/ Project Honey Pot HTTP Blacklist" area:<br><ul class="bbc_list"><li>http:BL Access Key - Access Keys are 12-alpha characters (no numbers). They are lower-case. You should copy the Access Key exactly as it appears at the <a href="http://www.projecthoneypot.org/httpbl_configure.php" class="bbc_link" target="_blank">Project Honey Pot network</a>.</li><li>Minimum Threat Level - 25</li><li>Maximum Age of Data - 30</li><li>Honeypot Link - The link to the OPTIONAL honey pot Script Location or a <a href="http://www.projecthoneypot.org/manage_quicklink.php" class="bbc_link" target="_blank">QuickLink</a>.</li><li>Honeypot Link word - A word you make up.</li></ul><div align="center">- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - </div><br><div align="center">- - - - - - - - - - - - - - - - - - - - - - - <strong>OPTIONAL CloudFlare</strong> - - - - - - - - - - - - - - - - - - - - - - - </div>If you are successfully using CloudFlare:&nbsp; Enter "Cf-Connecting-Ip" in "IP call to Reverse Proxy" and check "Enable Reverse Proxy".<br><br>THIS MOD ASSUMES THAT YOU MADE MODIFICATIONS TO SMF SUCH THAT CLOUDFLARE IS OPERATIONAL ON YOUR SITE.&nbsp; See the Cloudflare mod <a href="http://www.simplemachines.org/community/index.php?topic=391926.msg2726085#msg2726085" class="bbc_link" target="_blank">here</a>.<br><div align="center">- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - </div><br><div align="center">- - - - - - - - - - - - - - - - - - - - - - - <strong>OPTIONAL Admin Choice</strong> - - - - - - - - - - - - - - - - - - - - - - - </div>Administrators are automatically whitelisted by the mod.&nbsp; If you are paranoid, you can make the these changes.<br><br>Enter your personal admin IP address or CIDR range "Bad Behavior Admin/ SETTINGS/ Whitelist/ IP Address".&nbsp; For more information read "<a href="http://www.simplemachines.org/community/index.php?topic=375980.msg3149023;topicseen#msg3149023" class="bbc_link" target="_blank">ADVANCED WHITELIST HELP"</a>.<br><div align="center">- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - </div><br>Check "Enable Bad Behavior".<br><hr><strong><span style="font-size: 24pt;" class="bbc_size">HELP:</span></strong><br>Click the help icons <img src="/web/20150221011444im_/http://www.simplemachines.org/community/Themes/default/images/helptopics.gif" alt="" class="bbc_img"> in the mod for additional help.<br><br>Standard option information is located at the <a href="http://bad-behavior.ioerror.us/support/configuration/" class="bbc_link" target="_blank">core bad-behavior</a> site.<br><hr><strong><span style="font-size: 24pt;" class="bbc_size">FAQs:</span></strong><br><ul class="bbc_list"><li><a href="http://www.simplemachines.org/community/index.php?topic=375980.msg3403306#msg3403306" class="bbc_link" target="_blank">WHITELIST MEMBERS HELP</a></li><li><a href="http://www.simplemachines.org/community/index.php?topic=375980.msg3149023;topicseen#msg3149023" class="bbc_link" target="_blank">ADVANCED WHITELIST HELP</a></li><li><a href="http://www.simplemachines.org/community/index.php?topic=375980.msg3152400;topicseen#msg3152400" class="bbc_link" target="_blank">USING OpenID HELP</a></li><li><a href="http://www.simplemachines.org/community/index.php?topic=375980.msg3152326;topicseen#msg3152326" class="bbc_link" target="_blank">USING PAYPAL HELP</a></li><li><a href="http://www.simplemachines.org/community/index.php?topic=375980.msg3122889;topicseen#msg3122889" class="bbc_link" target="_blank">SUSPICIOUS BBC TAG HELP - Only for SMF 2.0 Gold.</a></li><li><a href="http://www.simplemachines.org/community/index.php?topic=375980.msg3478178#msg3478178" class="bbc_link" target="_blank">UPGRADING FROM AN OLDER VERSION HELP.</a></li><li><a href="http://www.simplemachines.org/community/index.php?topic=375980.msg3565493#msg3565493" class="bbc_link" target="_blank">MANY BOT HITS A WEEK</a></li><li><a href="http://www.simplemachines.org/community/index.php?topic=375980.msg3499684;topicseen#msg3499684" class="bbc_link" target="_blank">RANDOM CHARACTERS ABOVE FORUM HEADER</a></li></ul><hr><strong><span style="font-size: 24pt;" class="bbc_size">TESTING:</span></strong><br>To insure that Bad Behavior is functioning correctly you can add the sting "Bad Behavior Test" to the User Agent (UA) of a HTTP request from someone who is not in the whitelist and is not the administrator.<br><ul class="bbc_list"><li><span class="bbc_u">Windows</span> use FireFox with the [nofollow]<a href="https://addons.mozilla.org/en-US/firefox/addon/header-tool/" class="bbc_link" target="_blank">"Header Tool"</a>[/nofollow] add-on and enter "User-Agent : Bad Behavior Test"&nbsp; in the dialog box. </li><li><span class="bbc_u">Macintosh</span>, [nofollow]<a href="http://macs.about.com/od/usingyourmac/qt/safaridevelop.htm" class="bbc_link" target="_blank">"enable the Develop menu"</a>[/nofollow] in Safari and paste "Bad Behavior Test" in "User Agent/Other".</li></ul><br>If you look at the page source (just below the title) you will see the speed of this mod at work:&nbsp; &lt;!-- Bad Behavior 2.x.xx run time: 3.025 ms --&gt;<br>[/list]</div>
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

butchs

Thank you.  I will try to move it...
I have been truly inspired by the SUGGESTIONS as I sit on my throne and contemplate the wisdom imposed upon me.

Biology Forums

Where's the setting to purge the cache?

butchs

It automatically purges based on the "Cache Duration".
I have been truly inspired by the SUGGESTIONS as I sit on my throne and contemplate the wisdom imposed upon me.

Biology Forums

Quote from: butchs on July 31, 2016, 01:18:23 PM
It automatically purges based on the "Cache Duration".


Are you sure it works? I had it on one day and I learned that there were more than 900 k files in that folder

butchs

I vigorously test all my code.  Opps, I had a bad day and pointed you the wrong way.  That setting is the duration the visitor is tested by the application before it starts all over.  If the visitor is identified as good and etc they stay there until the purge!

What you want is in Maintenance/ Scheduled tasks:  Purge all Bad Behavior cache files older than one day.
You can change the default settings if you like..  I suggest keeping in hours or days.   Try run now.
I have been truly inspired by the SUGGESTIONS as I sit on my throne and contemplate the wisdom imposed upon me.

Christiansen

I'm running Bad Behavior on my Jeep club forum at www dot rocketcitywranglers dot com.

I just got a couple errors in the Bad Behavior mod, image attached.  Any help would be much appreciated.  Let me know if you need anything else.

butchs

I am working on it.   The error will not stop the mod from working.   What is the version of your mod, SMF and php?
I have been truly inspired by the SUGGESTIONS as I sit on my throne and contemplate the wisdom imposed upon me.

Christiansen

SMF:  2.0.12
Bad Behavior:  1.5.19

I'll have to get back to you on the PHP version tonight.

Christiansen

Quote from: Christiansen on November 04, 2016, 10:49:24 AM
SMF:  2.0.12
Bad Behavior:  1.5.19

I'll have to get back to you on the PHP version tonight.

Sorry it took me so long.  PHP version is 5.6.27

Adrek

I also noticed this error from few days ago - it was triggered by logged in user and for this membergroup permission "Bad Behavior Whitelist Group" is checked.


MySQL version: 5.5.45
PHP: 5.4.45
SMF: 2.0.12
Server version: Apache
Bad Behavior mod: 1.5.19

Polskie wsparcie SMF na simplemachines.org

the simplest solution is most likely the right one

Advertisement: