Comment-SPAM getting out of control

I have started getting massive amounts of comment-SPAM so last night I toggled off comments and trackbacks for all existing posts using a combination of regex and Perl. This seems to have stopped the flooding. I’m looking into two more permanent solutions:

  1. Using a hack to Pebble by Glen Smith where the user has to answer a simple math problem before submitting a comment.
  2. Leaving comments open and having a scheduler (such as Quartz) toggle the possibility of comments off after a week or so.

While option 1 is by far the easiest to implement it will mean changing the codebase for Pebble itself. Option number two could be implemented by using a ContextListener which would mean that the existing codebase could be left unaltered (simply an extra jar, a class and a small change to web.xml).

I’m leaning towards option number 2 for now.

Published by

lekkim

Positive, competent, out-spoken, frank and customer focused architect and developer with a strong foundation in web, cloud and product development. I'm a strong advocate for API first and cloud based solutions and development. I have a knack for being able to communicate and present technically complicated matters in conference, customer and training settings. I've previously acted as team member and leader in a product organisation.