I think, therefore I blog

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.


Identifying Comment Spammers

About Roger Keays

Identifying Comment Spammers

Roger Keays is an artist, an engineer, and a student of life. Since he left Australia in 2009, he has been living as a digital nomad in over 40 different countries around the world. Roger is addicted to surfing. His other interests are music, psychology, languages, and finding good food. Click here to subscribe to his weekly blog, or stalk him on Facebook and Twitter.

Leave a Comment

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

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

Join Over 1000 Subscribers

I write every Sunday about travel, psychology, and technology. Thousands of people just like you have already subscribed—and for good reason. It'll change your life. And it's free :)

Read a Good Book

“A spellbinding true story of love, passion and adventure. One can’t help but be swept away by 100% Love Guaranteed.” —Dr Tammie Matson, author of Elephant Dance.

Chat For A While

Your Vote Matters

Which animal will take over when humans go extinct?