Welcome to Geeklog, Anonymous Monday, November 25 2024 @ 01:15 am EST
Geeklog Forums
Bad Behavior plugin for Geeklog
Page navigation
Status: offline
Dirk
Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Bad Behavior is a set of PHP scripts which prevents spambots from accessing your site by analyzing their actual HTTP requests and comparing them to profiles from known spambots. It goes far beyond User-Agent and Referer, however.
(quoted from the author's homepage)
I wrote a Geeklog wrapper for Michael Hampton's Bad Behavior plugin for WordPress. The difference to the hack I provided earlier is that this plugin now logs the blocked requests and provides you with an interface to review them.
Happy blocking ...
bye, Dirk
(quoted from the author's homepage)
I wrote a Geeklog wrapper for Michael Hampton's Bad Behavior plugin for WordPress. The difference to the hack I provided earlier is that this plugin now logs the blocked requests and provides you with an interface to review them.
Happy blocking ...
bye, Dirk
23
29
Quote
IO ERROR
Anonymous
Dirk, you've done it again! I hope you don't mind if I go ahead and integrate your work into the next release of Bad Behavior.
30
24
Quote
Status: offline
Dirk
Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Michael released a security update for Bad Behavior. I've updated the Geeklog plugin accordingly (upgrading instructions are included).
bye, Dirk
bye, Dirk
28
27
Quote
Status: offline
Dirk
Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Quote by IO ERROR: I hope you don't mind if I go ahead and integrate your work into the next release of Bad Behavior.
Feel free ...
Actually, I sent you an email. Did you not get it or did my spam filter eat the reply?
bye, Dirk
23
28
Quote
Status: offline
ScurvyDawg
Forum User
Full Member
Registered: 11/06/02
Posts: 523
I get an error upon trying to open the archive Dirk.
End-of-central-directory signature not found. Either this file is not a Zip file, or it constitutes one disk of a multi-part Zip file.
I have used Zip to unpack many tar.gz files in the past. What do you reccomend for a windows machine if it is a valid archive?
End-of-central-directory signature not found. Either this file is not a Zip file, or it constitutes one disk of a multi-part Zip file.
I have used Zip to unpack many tar.gz files in the past. What do you reccomend for a windows machine if it is a valid archive?
24
29
Quote
Ouch, I just realised that I'd uploaded the wrong version anyway - it did not include the updated Bad Behavior files
Please download the file yet again. It should be 28115 bytes now. And unpacks on the server just fine ...
bye, Dirk
Please download the file yet again. It should be 28115 bytes now. And unpacks on the server just fine ...
bye, Dirk
21
32
Quote
Status: offline
ScurvyDawg
Forum User
Full Member
Registered: 11/06/02
Posts: 523
LOL
Thanks Dirk
You the man
24
25
Quote
Status: offline
Dirk
Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Here's a small patch to make it display the number of logfile entries after its entry in the Admin's block (where it only says "(N/A)" at the moment):
{
global $_CONF, $LANG_BAD_BEHAVIOR, $wp_bb_log;
if (SEC_inGroup ('Bad Behavior Admin')) {
return array ($LANG_BAD_BEHAVIOR['plugin_display_name'],
$_CONF['site_admin_url'] . '/plugins/'
. BAD_BEHAVIOR_PLUGIN . '/index.php',
DB_count ($wp_bb_log));
}
}
This is a replacement for the function of the same name in the plugin's functions.inc file.
Also, please not that Bad Behavior deletes logfile entries older than 7 days automatically.
bye, Dirk
Text Formatted Code
function plugin_getadminoption_bad_behavior (){
global $_CONF, $LANG_BAD_BEHAVIOR, $wp_bb_log;
if (SEC_inGroup ('Bad Behavior Admin')) {
return array ($LANG_BAD_BEHAVIOR['plugin_display_name'],
$_CONF['site_admin_url'] . '/plugins/'
. BAD_BEHAVIOR_PLUGIN . '/index.php',
DB_count ($wp_bb_log));
}
}
This is a replacement for the function of the same name in the plugin's functions.inc file.
Also, please not that Bad Behavior deletes logfile entries older than 7 days automatically.
bye, Dirk
39
26
Quote
Status: offline
ScurvyDawg
Forum User
Full Member
Registered: 11/06/02
Posts: 523
does this download work for everyone else?
I cannot get it for some odd reason. I get an invalid archive. Would someone who can get it unpack it and email me the files to scurvydawgATgmail.com I would owe you one.
Thanks for everything.
I cannot get it for some odd reason. I get an invalid archive. Would someone who can get it unpack it and email me the files to scurvydawgATgmail.com I would owe you one.
Thanks for everything.
26
33
Quote
mach
Anonymous
got it, repacked it, sent it
28
29
Quote
Status: offline
ScurvyDawg
Forum User
Full Member
Registered: 11/06/02
Posts: 523
Quote by mach: got it, repacked it, sent it
Thank you thank you thank you thank you thank you.
32
27
Quote
Status: offline
Dirk
Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
I've updated the plugin now to sync it with the release of Bad Behavior 1.1.1. It also includes the patch described above.
Looking at what it catched on my site, it really seems to help against spam - some of the blocked requests were most likely from our Bulgarian friends. Not to mention the occasional bot it stops in its tracks ...
bye, Dirk
Looking at what it catched on my site, it really seems to help against spam - some of the blocked requests were most likely from our Bulgarian friends. Not to mention the occasional bot it stops in its tracks ...
bye, Dirk
30
26
Quote
Status: offline
ScurvyDawg
Forum User
Full Member
Registered: 11/06/02
Posts: 523
FYI - Will not open in Winzip
Fantastic AMAZING awesome plugin though
32
31
Quote
Status: offline
ScurvyDawg
Forum User
Full Member
Registered: 11/06/02
Posts: 523
Fine force me to get yet another unpacking utility. I will get WinRar as this refuses to open in WinZip.
Dirk why the animosity towards WinZip friendly files?
Dirk why the animosity towards WinZip friendly files?
25
24
Quote
Status: offline
r_f_o_t
Forum User
Full Member
Registered: 07/30/03
Posts: 241
Location:Illinois
Quote by ScurvyDawgirk why the animosity towards WinZip friendly files?
You could also look at it as WinZip's animosity towards gzipped files. (Or is it tarred files that throws WZ)
Other Windows utilities can unpack them properly. Just a random thought.
Chuck
Too many hands on my time.
26
26
Quote
Status: offline
ScurvyDawg
Forum User
Full Member
Registered: 11/06/02
Posts: 523
Quote by r_f_o_t:
You could also look at it as WinZip's animosity towards gzipped files. (Or is it tarred files that throws WZ)
Other Windows utilities can unpack them properly. Just a random thought.
Chuck
Quote by ScurvyDawgirk why the animosity towards WinZip friendly files?
You could also look at it as WinZip's animosity towards gzipped files. (Or is it tarred files that throws WZ)
Other Windows utilities can unpack them properly. Just a random thought.
Chuck
Good point Chuck
20
22
Quote
Status: offline
DTrumbower
Forum User
Moderator
Registered: 01/08/03
Posts: 507
Quote by ScurvyDawg: Fine force me to get yet another unpacking utility. I will get WinRar as this refuses to open in WinZip.
Dirk why the animosity towards WinZip friendly files?
Dirk why the animosity towards WinZip friendly files?
I've never had a problem with WinZip. It uncompressed fine for me.
What version are you using?
22
24
Quote
Status: offline
ScurvyDawg
Forum User
Full Member
Registered: 11/06/02
Posts: 523
8.1.SR1
I am at work and thats what we have installed. Most likely I have the same ver at home.
How about you?
I am at work and thats what we have installed. Most likely I have the same ver at home.
How about you?
21
25
Quote
Status: offline
DTrumbower
Forum User
Moderator
Registered: 01/08/03
Posts: 507
Quote by ScurvyDawg: 8.1.SR1
How about you?
How about you?
9.0 sr-1. But I'm sure I had a version 8 work too, unless version 9 has been out for two years.
22
30
Quote
Page navigation
All times are EST. The time is now 01:15 am.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content