Some SPAM fighting thoughts

 
Post new topic   Reply to topic   printer-friendly view    b2evolution Forum Index -> b2evolution Support
View previous topic :: View next topic  
Author Message
frazor
Seasoned Poster
Seasoned Poster

Joined: 04 Aug 2006
Posts: 49
Reputation: 27.9Reputation: 27.9Reputation: 27.9 add or subtract from this member's reputationadd or subtract from this member's reputation
votes: 1

PostPosted: Sat Sep 09, 2006 7:31    Post subject: Some SPAM fighting thoughts Reply with quote

The last week or so the amount of SPAM on the comments on my blog has increased dramatically. I blogged about it here:

http://www.workwhiledrunk.com/..._damn_thee

I disabled the commenting temporarily while at work yesterday, using this code in _feedback.php:

Code:
$disp_comment_form = 0;


This seemed to stop it temporarily, but now its continuing again:

http://www.workwhiledrunk.com/...i#comments

So this leads me to beleive that the SPAM bot/script is therefore targetting the b2evo internal functionality, rather than filling in the page like a pseudo-user. That makes sense, probably the best way to automate such a thing is to send the query directly to the php, rather than using some sort of page macro. So, this leads me to the following ideas on how to stop this (or at least make it harder) in future versions of b2evo:

1. Check that the posting of a comment is coming from a page on the same blog - i.e. check the posting referrer is in the same domain as the b2evo blog installation.

2. Devise some way of obfuscating the names of the php files globally, where the installation will internally understand the ofuscation, but it will make the URL's look odd to the outside world. E.g. _{name of file}_{installation dependant key}.php such that it might be _feedback_9e78c3.php - might be useful if each file had a different key?

For now, if the spamming doesn't stop I'll re-enable commenting and live with it until I get time to upgrade to 1.8 and install a bunch of plugins to help out with this.

My area of expertise is coding for accessibility and browser compatability, and I don't code in PHP in my job so my suggestions are based on a very general level of knowledge. Plus I'm not the right person to be implementing them, but I'm trying to help fight the good fight here, as best I know how.

Good luck!
Back to top
View user's profile Send private message
frazor
Seasoned Poster
Seasoned Poster

Joined: 04 Aug 2006
Posts: 49
Reputation: 27.9Reputation: 27.9Reputation: 27.9 add or subtract from this member's reputationadd or subtract from this member's reputation
votes: 1

PostPosted: Sat Sep 09, 2006 9:50    Post subject: Reply with quote

Did I post this in the wrong place?
Back to top
View user's profile Send private message
whoo
Boss Lady
Boss Lady

Joined: 25 Dec 2004
Posts: 1293
Reputation: 100.1 add or subtract from this member's reputationadd or subtract from this member's reputation
votes: 19

PostPosted: Sat Sep 09, 2006 11:24    Post subject: Reply with quote

yes Smile and not surprisingly, most of those ideas have come up before elsewhere Big Razz

take a gander at this: http://forums.b2evolution.net/viewforum.php?f=30

(ill move the thread for ya)

_________________

Do you use last.fm?
Try out my nifty badge generator!


Last edited by whoo on Sat Sep 09, 2006 11:54; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website
frazor
Seasoned Poster
Seasoned Poster

Joined: 04 Aug 2006
Posts: 49
Reputation: 27.9Reputation: 27.9Reputation: 27.9 add or subtract from this member's reputationadd or subtract from this member's reputation
votes: 1

PostPosted: Sat Sep 09, 2006 11:50    Post subject: Reply with quote

Yeah, my bad, I found that forum after posting.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    b2evolution Forum Index -> b2evolution Support All times are GMT - 5 Hours
Page 1 of 1


 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
b2evolution Support Forum RSS Feed Forums powered by php Bulletin Board