The state of comments spam

Comments (4)

In my never ending quest for world domination to end comment spam for sNews users I've been working on a few ideas, some new, some improvements to existing ideas.

After reading a post over at Patric Ahlqvist's site, I'm going to begin working on a simple function to "sniff out" a lot of the bot spam that commonly hits sNews sites, it will flag them and send those to moderation while allowing other posts to pass through to immediate posting. You probably know the spam if you run sNews... they'll hit 10-30 articles within 20 seconds, all from different IPs, and most of them are garbage links... they look like this;

nZ3nH8 rhqnmtsujwbl, [url=http://lvijciygqaxu.com/]lvijciygqaxu[/url], [link=http://qpzxgdgtfaca.com/]qpzxgdgtfaca[/link], http://gagokzbbbblz.com/

It should be easy to write a function to filter those out and send them straight to moderation. However, first I'm working on an vastly improved image / math hybrid captcha that will be out later today. Stay tuned.

Check it out here; http://www.mdj.us/snews-cms/hacks-mods/a-simple-spam-filter-for-snews-cms/

bookmark / share this: Bookmark and Share
rated 2/5 (1 vote)


4 comments

Add a new comment »

hoofo hoofo said:
Apr 15th, 2009 at 5:22 am

waiting for it
//smile


Matt Matt said:
Apr 16th, 2009 at 4:29 pm

lol :)

I actually wrote a little function for detecting possible spam based on the garbage words, but it's only good with English, so I kind of let it alone while thinking of a better approach, and I've noticed that my image captcha mod seems to have stopped all the spam thus far, so I haven't been in a hurry on that one.

Update 4/20/2009: http://mdj.us/snews-cms/hacks-mods/a-simple-spam-filter-for-snews-cms/

Tada! :P


toolman toolman said:
Mar 1st, 2010 at 5:16 am

Whether a modification will be available "trusted users"? I like the solution to the first comment moderation. Now I have turned on comment moderation, but it is quite cumbersome.


Matt Matt said:
Mar 1st, 2010 at 8:00 am

My trusted user (first comment moderated) is kind of hacked-in right now, but I'll have a look at some time and see about making it into a proper modification.



Write a comment

* = required field

:

:

:

:

You may insert urls in plain text, urls will be automatically linkified for trusted users and on seasoned posts only. All first comments are moderated, so use your email if you want to be remembered.


Back to top