Spamery of the highest order

Posted: 30th Nov 2007, in: Spam - Older Post - Newer Post

Lots of people are talking about turning off Akismet for a day to see how much work it actually does. I think that’s mental!

I am inclined to think that it would be better to use an altered version with some kind of logging function so you get the stats without having to spend 24-36 hours de-spamming your comments.

I am considering it though, but for a different reason.

I am quite interested in preventing the spam in the first place, rather than dealing with it once it arrives, and so have been experimenting with ideas for a little while. I am running something experimental at the moment just to see what effect it has. Turning off Akismet would give me a greater challenge, but I’m slightly scared in case it goes wrong.

One thing I have found is that it is particularly difficult to intercept spam before it gets processed by WordPress. For my current experiment I needed to be able to alter the Post variables before they were used by WordPress. I have actually had to change some of the core files to allow this as the only way to deal with it totally via a plugin is to let the comment happen, and then roll it back with it after the fact.

That seems slightly odd to me, so perhaps I have missed something.

 

Comments

  1. 1

    andrea_r (http://wpmututorials.com) commented at 6:41 pm, 30th 11 2007:

    Doesn’t Bad Behaviour stop most spam before it gets processed? that’s how I thought it worked. Haven’t tried it much; just going by what a few users have said.

     
  2. 2

    Andrew Rickmann (http://www.arickmann.co.uk) commented at 7:18 pm, 30th 11 2007:

    I haven’t looked at Bad Behaviour, but I will. Thanks Andrea.

     
  3. 3

    jimmy (http://www.jimjamzoo.com) commented at 4:54 pm, 1st 12 2007:

    dealing with spams waste a lot of time for me too.

     
  4. 4

    andrea_r (http://wpmututorials.com) commented at 3:34 pm, 2nd 12 2007:

    SpamKarma2 is also quite good, and while it does process everything, it gives you numbers. :) And inserts a foot saying how many it snagged.

    I’m also currently trying out a trifecta of smaller spam-stoppers on a medium-sized WPMU install.

     
  5. 5

    Andrew Rickmann (http://www.arickmann.co.uk) commented at 6:31 pm, 2nd 12 2007:

    I had a quick look at Bad Behaviour and it looked like a Javascript based validation solution. I didn’t have much time to look in depth unfortunately.

    That is certainly one way to add additional protection.

    I think Spam Karma rolls the comments back as well.

    I have found that there is a pre-process filter hook: preprocess_comment

    This lets the comment data be filtered before it is added to the database.

    Unfortunately it is still a little too late to alter the post variables.

     
  6. 6

    Janis Elsts (http://w-shadow.com/) commented at 7:29 pm, 2nd 12 2007:

    Is your experiment by any chance similar to what I did recently?

    You might also be interested in the Comment Spam Trap plugin (it uses preprocess_comment).

    P.S.
    Okay, I looked at the page source, I can see what you’re doing ;)

     
  7. 7

    Andrew Rickmann (http://www.arickmann.co.uk) commented at 8:34 pm, 2nd 12 2007:

    Janis,

    I did consider the fake field option. It’s been going around for a little while and when I have used it, it has worked well.

    In this instance though I wanted to see how things would go with just this one interception technique on its own.

    At the moment it is pretty easy to get around if someone really wanted to but I working on that.

     

Leave a Reply

I am currently testing a comment link policy which means commenters do not get a link. There is a poll, and open comments for feedback on the comment policy page.

Please note. I am currently using an experimental antispam technique on this blog. If you run into problems please let me know using the Get in Touch link at the top of the page. Thanks, Andy.

Subscribe without commenting

Feed Icon - Get fed with RSS