ArticlesForumDownload AboutContact

boakes.org

nice of you to drop by. tea?

Tags: WordPress, Spam

Akismet - Comment Spam Killer

October 25th, 2005, by Rich.

spacer

This website - like any website that allows readers to submit comments - receives comment-spam, usually advertising medicines, gambling, or other vices.

I’ve been trialling a new anti-comment-spam plugin since mid September. It’s called Kismet, it’s from Automattic, (hence Akismet for short) and it’s working very well.

Comment spam is more costly than email spam because it either wastes the time of the website owner, who has to remove it, or it wastes the time of every reader of the website who has to separate the wheat from the chaff.

It’s going to be launched tonight (i.e. Tuesday Afernoon, in Texas).

Effective Comment-Spam Relief

According to Matt Mullenweg, the curator of Automattic, there were “only a dozen or so” active users during the trial that I was involved in, and the system should “become more effective as more people use it”. The basic stats from my trial experience were as follows:

spacer

Message Count Percentage of Total Explanation
574 100% The total number of comments this site received since the trial began.
425 74% The number of those comments that were spam.
6 1.4% The number of comments that had to be manually marked as spam.
1 0.17% The number of comments incorrectly identified as spam by Akismet (a.k.a. false positives).

For people whose blog content is predominantly idle chatter, this plugin will remove the need for user moderation, allowing a far more interactive blogging experience between blogger and readers.

How it Works

It’s based on the principle that once a comment spam message is identified by one recipient, and corroborated by others, all similar messages can be marked as spam, reducing the spammer’s potential audience from thousands of people, to the few that report the message when it first arrives. It works, approximately like this…

When a comment is received by a website, it is checked against a worldwide database to see if it matches any messages that are known to be from spammers, this might be based on:

  1. the IP addresses that the message originated from,
  2. the web addresses being promoted,
  3. a string in the content that can be matched by a regular expression,
  4. or any other number of potential techniques that have not (yet) been disclosed.

Messages that are considered to be spam are automatically separated, and the moderator then has 15 days to check through them (in case there are any false positives) before they are removed forever. Spam comments are never visible on the site and the spam checking interface is very simple to use.

spacer

Threats to it’s Effectiveness

I’ve been thinking such a service should exist for a long time, so I’m keeping my fingers crossed that it stays effective. There are, however, several obstacles that may have to be overcome if it is to be a success.

Spam-Run Duration

Services such as this will change the delivery pattern of comment spam.

This will happen because the time window in which spam comments can get through will be drastically reduced to the very short period of time between start of the spam-run and the point when the spam has been identified and corroborated. In the short time before the spam is reported, messages can get through, so it is likely that spam-runs will become short, high volume bursts.

In lieu of this it may eventually be necessary to check each received message more than once, so that spam messages which are not immediately spotted when they are received can still be automatically discarded.

DDoS Target

The central server(s) may become a prime target for DDoS attacks if/when spammers realise that their spamming is no longer effective. The purpose of a DDoS attack would be to disable the automatic checking of comments, perhaps breaking the system and thereby letting their comments through.

It is likely that spammers would have to coordinate such an attack to coincide with a spam run, rather than relying on luck. The good news is that this would elevate the spammer from nuisance to criminal, so there are some very heavy legal books that can be thrown at anyone silly enough to try it.

Privacy

Some people may be concerned about the fact that every message they receive is sent to a third party for analysis. When one considers that these are supposed to be public comments on a public website, the privacy concern fades a little, but some people do still write private information in comments because the web is used by people, and people make mistakes, so it’s a concern that can’t be completely ignored.

One possible solution to both the Privacy and DDoS issues might be to provide replicated access to the Spam Database (probably on a registration only basis) so that there are multiple sites that could provide the service. Privacy concerns could be offset by enabling the website owner to select which service provider is used, or to provide their own service. Another possible solution to some privacy concerns would be the ability to mark some posts for manual checking only, thus ensuring message privacy.

Comment Censorship

What the service does, effectively, is silence individuals who are misusing the Web, however, there is potential for this capability to be misused, because it becomes feasible to mount a censorship attack on an individual or company - i.e. If you have the programming skill, it’s not too difficult to create a dummy message, mark it as spam and submit it to the service. If the spam-identification mechanisms are too sensitive or simplistic, then it may be possible to censor someone who hasn’t actually sent any spam.

Download & Installation

If you’re familiar with installing WordPress plugins, it’s all a simple process.

You can get the Akismet plugin already, it’s available from the open source software repository that manages all WordPress plugins.

You can also get it from the Akismet download page.

Installation is simple, just add the php file to your wp-content directory and enable it.

Enabling the plugin gets you 80% there, but you’re not done yet.

In order to protect itself against spammers who, Akismet uses an API key. You must obtain a key before the plugin will begin to work. The mechanism by which you can get your keys is what Automattic will launch later today.

Automattic for The People

As websites and personal publishing have flourished, comment spam propagated by a selfish few has become a significant problem for the masses. Akismet redresses the balance, at least for WordPress users.

By automatically curtailing spam publication, Akismet takes the wheels off the comment-spam gravy train. Hereafter, spammers will have to look for non-WordPress powered blogs to hawk their wares.

Akismet Launches

As akismet has launched, several other testers and early adopters have begin to comment on it, so if you’d like to read a little around the subject perhaps some of these musings will suffice:

  • Craig Hartel also tested it.
  • As did Michael Hampton.
  • Elliott Back asks some good questions of Matt.
  • Ben Gillbankshas turned off all other anti-spam measures (FWIW I have too).
  • Oskar Syahbana has just installed it prior to going on a break - so any spam that gets through will show up on his blog, a baptism by fire.
  • Scott Yang thinks up some good reasons for, and against, using it.
  • Tack Mackenzie also immediately mentions the privacy issue.
  • Chétan Kunte has just enabled it and had the good sense to ask readers to mention if comments are not getting through
  • Eric Setiawan thinks we might be able to forget that spam was ever a problem.
  • Aaron Brazell had some misgivings, but these seem to have helped clarify that Akismet really is free.
  • N. Godbout was unsure about why it’s relevant to people who don’t blog on wordpress.com.
  • Ryan Kennedy wasn’t initially keen on the default 15 day spam retention policy, and highlights the need for a config panel.

23 Responses to “Akismet - Comment Spam Killer”

Pages: [1] 2 3 » (Show All)

  1. 1
    Trackback from: Elliott Back
    October 26th, 2005 at 3:56 am
  2. 2
    spacer IO ERROR Says:
    October 26th, 2005 at 11:56 am

    A couple of comments:

    It’s been my experience that the most interesting interactions on a blog are not between the blog author and the readers, but between the readers themselves. Moderation virtually kills this community-building aspect, and anything that removes the need for moderation is a good thing.

    The nature of spam runs will probably change a bit in response to Akismet, though it remains to be seen whether the spammers will win this one or not. In any event, Akismet is not the final solution to blog spam. Akismet combined with Bad Behavior may very well be, however. (Disclaimer: I code for both projects.)

    Denial of service attacks against the central server are an issue I hadn’t thought of before. I know that Matt has recently changed the hosting for the service (i.e. within the last day or so) to improve reliability. We’ll all see what happens.

    As for privacy, the entire comment, as well as metadata about the request, are sent to the server for analysis, as I noted a few weeks ago. My understanding is that the information is not stored, however, unless the message is judged to be spam. However, private blogs should certainly consider not using Akismet if this is still a concern.

  3. 3
    Trackback from: iBlog » Blog Archive » Stop Blog Spam with Akismet!
    October 26th, 2005 at 12:13 pm
  4. 4
    spacer N. Godbout Says:
    October 26th, 2005 at 12:54 pm

    Great write up, and it’s really nice to see numbers of what it caught and what was supposed to be caught. Definitely valuable information coming from a third party.

    (To be fair, what I was unsure of was why the plugin required a WordPress.com account, though it was completely cleared up by Matt.)

  5. 5
    Trackback from: What makes you happy ? » Akismet
    October 26th, 2005 at 1:50 pm
  6. 6
    Trackback from: Agendacide: Minutes from Somewhere Else » The plugin formerly known as…
    October 26th, 2005 at 8:46 pm
  7. 7
    Trackback from: Akismet WP Plugin stops comment and trackback spam
    October 26th, 2005 at 11:22 pm
  8. 8
    Trackback from: rollsroick: Akismet.
    October 27th, 2005 at 8:32 am
  9. 9
    spacer Tinus Says:
    October 27th, 2005 at 3:28 pm

    Cool. I was waiting for some hard evidence. I’ll also test it and post my findings.

  10. 10
    spacer Ozzie Says:
    October 28th, 2005 at 1:30 pm

    Just some comments regarding Akismet. Well, I’ve tried this for several days and it runs smoothly just as expected. However, how do we know when there’s a false positive? I don’t see this option on akismet’s website. Is there a way?

Pages: [1] 2 3 » (Show All)

Leave a Reply

  • Related Articles

    • Akismet Million
    • Akismet Worst Offenders Extension
    • Spammed by MyNiceMailAt .com
    • Latest Referral Spam Domains
    • Comment Spam
    • New Referral Spam Tactic?
    • Extending StatTraq and Spam Control
    • Comment Spam, RIP soon?
    • BBPress Released
    • Akismet htaccess extension
  • This Article

    • Subscribe to the comments spacer
    • Leave a comment.
    • Trackback.
    • Send it by email.
    • Bookmark on del.icio.us
  • Technorati

    • akismet
    • automattic
    • spam
    • anti spam
    • comment spam
    • wordpress
    • word press
    • blog spam
    • blogspam
spacer
spacer spacer

Unless otherwise stated, all content is copyright of the authors from the date of publication and may not be reproduced in whole, or in part without permission.

Comments reflect the opinions of individual readers and no guarantee can be given as to their validity or provenance.

By submitting information to boakes.org, you grant boakes.org a perpetual, royalty-free license to use, reproduce, modify, publish, distribute, and otherwise exercise all copyright and publicity rights with respect to that information at its sole discretion, including storing it on boakes.org servers and incorporating it in other works in any media now known or later developed without limitation. If you do not wish to grant boakes.org these rights, it is suggested that you do not submit information to this website.

boakes.org reserves the right to select, edit and arrange submissions, and to remove information from the website at any time at its sole discretion.

©2006 R.Boakes

gipoco.com is neither affiliated with the authors of this page nor responsible for its contents. This is a safe-cache copy of the original web site.