Identifying Comment Spammers

By , 3 July 2007

Identifying Comment Spammers

Today I've been having a closer look at the Apache log files to try and sort out a problem we've been having with comment spam. It was surprisingly easy to find the log entries for comment spam. The pattern is basically:

  • A POST without a Referer header or preceding GET, and/or
  • The text 'User-Agent' in the User-Agent identifier

I was surprised that the spammer(s) made the mistake of beginning their fake User-Agent identifier with the words 'User-Agent'. That made it very simple for me to find the relevant log entries.

Thanks

Identifying Comment Spammers

About Roger Keays

Identifying Comment Spammers

I guess I'd call myself a problem solver. Either that, or I'm some sort of organic machine designed to convert oxygen into carbon dioxide. You could go either way on that. I'm into languages and stuff. I wrote a book. It's okay, I guess. What else? I like reading, swimming, eating, and playing music. Satisfied? Sheesh.

Leave a Comment

Please visit https://rogerkeays.com/blog/identifying-comment-spammers to add your comments.

Comment posted by: pawciogawcio, 4 years ago
Comment posted by: deeptiotreadex, 4 years ago
Comment posted by: provwechslichard, 4 years ago
Comment posted by: joannacrupa, 4 years ago