Comments: Less Comment Spam

Spammers must die.

Posted by Adrian at August 16, 2004 10:47 AM

Glad you like my tip.

However you have a few bugs.

1. You can select both yes and no for your are you a spammer question.
2. If you say that you are a spam your error message reads

Your comment submission failed for the following reasons:

Your comment has been posted.

Which contradicts itself.

Posted by Adrian at August 16, 2004 10:49 AM

And if you can see this, I've not broken anything :-)

Posted by Adrian at August 16, 2004 10:50 AM

Glad you like my tip.

However you have a few bugs.

1. You can select both yes and no for your are you a spammer question.
2. If you say that you are a spam your error message reads

Your comment submission failed for the following reasons:

Your comment has been posted.

Which contradicts itself.

Posted by Adrian at August 16, 2004 10:52 AM

Oh and you have another bug where if you say no to are you a spammer it fails. I think you have your boolean logic the wrong way round.

Posted by Adrian at August 16, 2004 10:54 AM

Oh and can you delete that first comment, I was just testing your error message.

Posted by Adrian at August 16, 2004 10:55 AM

Oh and you might want to change your comment scrip name from mt-comments.cgi to mt-anythingelse.cgi as it makes the spammers life harder too.

Posted by Adrian at August 16, 2004 10:56 AM

Only I did break it. Hopefully it's fixed now.

Posted by Adrian at August 16, 2004 10:57 AM

Yep It's fixed.

Posted by Adrian at August 16, 2004 11:00 AM

No it's not, still broken.

Posted by Adrian at August 16, 2004 11:02 AM

Actually I stand corrected. It's half fixed.

Your error message on "Are you a spammer - Yes" is still confusing.

Posted by Adrian at August 16, 2004 11:02 AM

Ah, the perils of doing development on a live system :-) I decided not to confuse people with strange comments to old posts, and so wrote the explanation post first so I could test on that. Only I'd made a stupid error in the HTML form, so with my first comment already knew that the non-spammer bit was broken, and that the I'm-a-spammer bit gave me a confusing error message. Most of it now fixed, although I need to understand a bit more about what I'm hacking to fix the I'm-a-spammer message...

And Adrian, MT-Bayesian had decided that half your comments were spam, which is why they've suddenly appeared.

Adrian.

p.s. I've not been talking to myself, Mr. Sevitz is just continuing his campaign to steal my name ;-)

Posted by Adrian at August 16, 2004 11:13 AM

See this is why I don't use black lists. They just don't work accurately enough.

Posted by Adrian Sevitz no Adrian McEwen at August 16, 2004 11:21 AM

And then, of course, MT-Bayesian thought my last comment was spam. This is to test whether the I'm-a-spammer error page isn't as confusing (although it's rather basic).

It also seems that the comment spammers aren't as clueless as I'd assumed, as one spam comment has come in since I added this feature...

Posted by Adrian at August 16, 2004 11:36 AM

You'll still get spam, but I've gone from 3 a day with 300 on the odd days to 5 a week.

Posted by Adrian Sevitz no Adrian McEwen at August 16, 2004 06:10 PM

Removing the default answer in the "Are you a spammer" bit seems to have helped - there were two spam comments which just copied the defaults over from the comments page and got through, but since I removed the default selection of "No" there've been 16 attempts but none successfully (although the 16 may include retries because things weren't successful).

I'll see how things go, and the next step will probably be script name as you suggested, and also checking for a referrer URL - the spammers I've noticed don't seem to provide one, although that would be pretty easy to get round.

Posted by Adrian at August 16, 2004 06:43 PM

Just got my first spam since removing the default option for the "Are you a spammer". All my work circumvented because they used GET rather than POST...

Posted by Adrian at August 17, 2004 09:21 AM

And now the first POST comments get straight past my new scheme, I'm guessing 'bakecookie' isn't the best form field to look for :-)

Posted by Adrian at August 17, 2004 11:45 AM

Well, five or six spams through this morning. Time to extend things to the referrer url too methinks.

Posted by Adrian at August 18, 2004 10:41 AM
Post a comment









Remember personal info?





Note: I'm running the MT-Keystrokes plugin to filter out spam comments, which unfortunately means you have to have Javascript turned on to be able to comment.