Topic: Bad Behavior for SMF 2.0 RC2 & RC3 Beta

0 Members and 1 Guest are viewing this topic.

butchas on March 21, 2010, 09:52:01 PM
Reply #15

Offline butchas

  • Elite Member
  • *
  • Posts: 642
  • Karma: 399
  • Illustrious key typer
    • East Coast Rolling Thunder car club
  • SMF Version: 2.0 RC5
Attached is a picture of the new reports screen.
My mod, My site
Logged

bigguy on March 21, 2010, 10:41:53 PM
Reply #16

Offline bigguy

  • Site Owner
  • Administrator
  • *
  • Posts: 13305
  • Karma: 270
  • Gender: Male
  • Get'r Done
    • Bigguy's Web
  • SMF Version: 4.1
Where is the most recent version of this. ???
Logged

butchas on March 21, 2010, 11:11:53 PM
Reply #17

Offline butchas

  • Elite Member
  • *
  • Posts: 642
  • Karma: 399
  • Illustrious key typer
    • East Coast Rolling Thunder car club
  • SMF Version: 2.0 RC5
The base installation "bad-behavior-install.zip" is at reply number one.
The mod "bad-behavior-mod.zip" is at reply number twenty.

To be safe, I delete all the older versions.
 :beta  :righton
« Last Edit: March 23, 2010, 06:14:14 PM by butchas »
My mod, My site
Logged

butchas on March 23, 2010, 12:35:38 AM
Reply #18

Offline butchas

  • Elite Member
  • *
  • Posts: 642
  • Karma: 399
  • Illustrious key typer
    • East Coast Rolling Thunder car club
  • SMF Version: 2.0 RC5
Changes:
1. The BB core did not delete the old log unless a spammer arrived at the site.  This could cause an old log entry collecting dust if the spammers were beaten back.  So the pruning of the log has been moved to SMF scheduled tasks.  Scheduled Tasks will automatically check the log once a day for log entries greater than 7 days from the time of the check and delete all old entries.
2.  Fixed an extra /div that was floating around in the admin template.
3.  Cleaned up and double checked all the text.
4.  Made the title bar for reports look nicer.
5.  Added sort by key.
6.  Fixed one report title text that was not displayed correctly.

This mod should be finished????  Now we will wait to see if there are any bugs/ recommendations/ comments.
 ;)

From my site...
Bad Behavior has blocked 130 access attempts in the last 7 days.
« Last Edit: March 23, 2010, 08:25:21 AM by butchas »
My mod, My site
Logged

butchas on March 23, 2010, 08:23:04 AM
Reply #19

Offline butchas

  • Elite Member
  • *
  • Posts: 642
  • Karma: 399
  • Illustrious key typer
    • East Coast Rolling Thunder car club
  • SMF Version: 2.0 RC5
Good and bad news.  The scheduled tasks works.  But the httpbl block did not.

In the last version I tried to let the core ignore httpbl.  This caused a db error in my log.  So I went back to what I did the first time.  I know this will not cause an error.  Plus I added auto uninstall for settings and scheduled tasks just for fun.  As per standard protocol you have to click the check mark to uninstall the log.
« Last Edit: March 23, 2010, 06:13:44 PM by butchas »
My mod, My site
Logged

butchas on March 23, 2010, 06:13:23 PM
Reply #20

Offline butchas

  • Elite Member
  • *
  • Posts: 642
  • Karma: 399
  • Illustrious key typer
    • East Coast Rolling Thunder car club
  • SMF Version: 2.0 RC5
Here is the version going to SMF for approval.  :cool

I added a short cache because I have seen many hits by a bot in a few seconds.  Default is currently 15 sec.  A bots rampage can be somewhere from 10-40 seconds.  The number can be set to zero on many sites.  Need to think some more about it.  As I see it, if they fail the first time send them away...  Well that is the thought.

I sent them two versions:
1. Bad_Behavior_mod.zip  ---  With SMF caching.
2. Bad_Behavior_modnc.zip  ---  Without caching.

Not sure which is faster because I have an admin bypass.  But if you view source you will see the speed:
<!-- Bad Behavior 2.1.2 run time: 0.xxx ms -->
« Last Edit: April 01, 2010, 05:39:46 PM by butchas »
My mod, My site
Logged

bigguy on March 23, 2010, 07:15:06 PM
Reply #21

Offline bigguy

  • Site Owner
  • Administrator
  • *
  • Posts: 13305
  • Karma: 270
  • Gender: Male
  • Get'r Done
    • Bigguy's Web
  • SMF Version: 4.1
I didn't get a chance to install this on the weekend but I have no work this whole week so I will find time to try it out.
Logged

butchas on March 24, 2010, 10:14:33 PM
Reply #22

Offline butchas

  • Elite Member
  • *
  • Posts: 642
  • Karma: 399
  • Illustrious key typer
    • East Coast Rolling Thunder car club
  • SMF Version: 2.0 RC5
Looking at the results I see at my site, spending well over 150 hours writing this mod is bearing fruit.  As the Bad Behavior site promised it seems that my flood of spam is now reduced to a trickle.  I still do not believe it and look forward to a resumption of the attack later this week.  But who knows maybe Bad Behavior is what it advertises to be????  Home of the Web’s premier link spam killer that turns Spam Flood Into a Trickle for Four Years.   :righton


Kiss my pasty white  :embrsd you spam bots!!!  Do not tread on me!!   :angry
« Last Edit: March 24, 2010, 10:20:54 PM by butchas »
My mod, My site
Logged

butchas on March 28, 2010, 05:32:32 AM
Reply #23

Offline butchas

  • Elite Member
  • *
  • Posts: 642
  • Karma: 399
  • Illustrious key typer
    • East Coast Rolling Thunder car club
  • SMF Version: 2.0 RC5
Here is an upgraded cache version.

I re-worked the database and made it more practical.  I added hovers (ref my boardhover mod) to the list for non-IE admins and an link to the same thing that hovers on key.  Now the program lists 30 events per page.  On mouse over the background will change color.  Simply click anywhere inside the highlighted area (except for the IP lookup links) it will zoom out to the detailed event page.  See the attached pictures.

Factory set the SMF cache to zero on new installations.  Still unsure if I need this feature...

I think I am done with improvements this time.  I hope.   :p
« Last Edit: April 04, 2010, 10:28:44 AM by butchas »
My mod, My site
Logged

butchas on March 29, 2010, 10:23:03 AM
Reply #24

Offline butchas

  • Elite Member
  • *
  • Posts: 642
  • Karma: 399
  • Illustrious key typer
    • East Coast Rolling Thunder car club
  • SMF Version: 2.0 RC5
Those trying this please send me a PM with a link to your site.  I will like to see the speed report.
My mod, My site
Logged

butchas on April 03, 2010, 03:53:06 AM
Reply #25

Offline butchas

  • Elite Member
  • *
  • Posts: 642
  • Karma: 399
  • Illustrious key typer
    • East Coast Rolling Thunder car club
  • SMF Version: 2.0 RC5
Here is an interesting blog about this mod.
 :great
My mod, My site
Logged

butchas on April 04, 2010, 10:46:52 AM
Reply #26

Offline butchas

  • Elite Member
  • *
  • Posts: 642
  • Karma: 399
  • Illustrious key typer
    • East Coast Rolling Thunder car club
  • SMF Version: 2.0 RC5
Since my ability to edit posts is timing out on the last update, attached is the latest revision.  There are very minor changes made in this version. 

I set the default cache to 0.  Though I am starting to like it and use it set at 8 on my site.  It seems to be most effective when a bot hits me 5-10 times in a short time period.  8 seconds is getting me an average of 2 checks per bot visit just to be sure they are good.  I have yet to find a bot that passed the first check actually fail a second test and vice versa. This feature simply repeats the last tested result for the time duration and reduces all that work the program will have to do if it tested every page hit.  When set at the default "0" it checks every page hit.

Second there were some minor changes to text values, formatting and other things like that in the pursuit of perfection.  This version has been running on my site for a week, collecting dust on my hard disk and I have not made any changes since.  No bugs to be found...  No errors in the log for both 2.0 RC2 & 2.0 RC3.  :righton

I hope this is going to be the initial official release.  SMF started to look at the Bad Behavior installation part but has not asked me any questions.  They have not looked at the mod portion.  I hope they understand that they have to run both the install and the mod for Bad Behavior to work?

FYI - The installation portion is in the first post of this thread.

« Last Edit: April 04, 2010, 11:26:39 AM by butchas »
My mod, My site
Logged

butchas on April 08, 2010, 10:18:42 PM
Reply #27

Offline butchas

  • Elite Member
  • *
  • Posts: 642
  • Karma: 399
  • Illustrious key typer
    • East Coast Rolling Thunder car club
  • SMF Version: 2.0 RC5
There are no changes to the last version.  It has been working bug free on my site for some time, where spammery is non existent.  Still waiting for SMF.  Maybe they will get around to looking at it soon?  Get your copy here before this site shuts down!!!
 :righton
My mod, My site
Logged

butchas on April 12, 2010, 07:54:52 PM
Reply #28

Offline butchas

  • Elite Member
  • *
  • Posts: 642
  • Karma: 399
  • Illustrious key typer
    • East Coast Rolling Thunder car club
  • SMF Version: 2.0 RC5
The mod was approved with only changes to the readme.  Here is the link:
http://custom.simplemachines.org/mods/index.php?mod=2502
 :dnc
My mod, My site
Logged