Coming Underground
« Missing directory structure in Mythweb videosTranscoding LATM packed HE-AAC audio with MythTV »

B2evolution antispam list

Permalink 2010-03-01 08:39, by jaervosz, Categories: General, Gentoo Tips, Universe/English, Opensource , Tags: antispam, b2evolution

Before I implemented comment captchas on this blog I was flodded with comment spam. Captchas helped a lot! Like removing 95+% of all comment spam, however some still gets through. Deleting a spam comment now and then have irritated me greatly, but until earlier this week I haven't really done much about it.

After just a bit of research I decided that my first move was to automatically pull the B2evolution antispam list. I also considered Akismet but one step at a time.

Here is the simple script called from cron I use to pull the updates:

 #!/bin/sh

site=http://example.com/admin.php
name=username
pass=password
cookies=`mktemp`

wget -O /dev/null --post-data="login=$name&pwd=$pass" \
        "${site}?ctrl=antispam&action=poll"

It's not perfect since at least one comment spam went through already.

I'd like to hear what other people to prevent comment spam (other than disabling comments :-) )?

2 comments »Send a trackback »

Trackback address for this post

This is a captcha-picture. It is used to prevent mass-access by robots.
Please enter the characters from the image above. (case insensitive)

2 comments

Comment from: Darren King [Visitor] · http://www.souped.net/
I found that linksleeve is another good option. It's got a rolling database of "no go" domains and URLs. We use it at my work which is a very large corporate site servicing over 2 million uniques a day and very little comment spam makes it through the slink sleeve filter. YOu can read about it here: linksleeve[dot]org
2010-04-08 @ 03:42
Comment from: jaervosz [Member] Email
Sounds cool, I guess I'll check it out. Yet another line of defense:)
2010-04-08 @ 08:03

Leave a comment


Your email address will not be revealed on this site.

Your URL will be displayed.
(Line breaks become <br />)
(Name, email & website)
(Allow users to contact you through a message form (your email will not be revealed.)
This is a captcha-picture. It is used to prevent mass-access by robots.
Please enter the characters from the image above. (case insensitive)

©2010 by admin

Contact Jaervosz