Identifying Comment Spammers

Posted by Roger Keays, 3 July 2007, 6:52 PM

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:

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