Logo

Maarten Balliauw {blog}

ASP.NET, ASP.NET MVC, Windows Azure, PHP, ...

About the author

Maarten Balliauw is currently employed as .NET Technical Consultant at RealDolmen. His interests are mainly web applications developed in ASP.NET (C#) or PHP and the Windows Azure cloud platform.
More about me More about me
Send mail E-mail me


ASP.NET MVC Quickly Subscribe to my RSS feed Follow me on Twitter! View Maarten Balliauw's profile on LinkedIn
View Maarten Balliauw's MVP profile

Search

Latest Twitter

    Follow me on Twitter...

    Archive

    Disclaimer

    The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.

    © Copyright Maarten Balliauw 2012


    BlogEngine.NET comment spam filtering

    SpamIt’s been a month or three since I was utterly fed up with comment spam on my blog. Sure, I did turn on comment moderation so you, as a visitor, would not notice this spam if I did not approve it as a valid comment. However, I found myself cleaning up comment spam from in between legitimate comments in the BlogEngine.NET admin interface.

    In an effort of trying to reduce comment spam, I tried the following:

    • Close comments after 90 days – This effort worked for a few days, but afterwards I was just seeing more comment spam on the topics that were still open to comments.
    • Use a CAPTCHA – This effort reduced some comment spam, but not all. Which makes me believe there are people actually making a living by just sending out comment spam and filling out CAPTCHA’s out there.
    • Whining and cursing while again cleaning out comments manually – This effort worked, until I found out that this was what I’ve been doing before the other 2 efforts. Back to start…

    Luckily, the latest version of BlogEngine.NET (and also earlier version if you go down the hacky road) featured a new comment system, including spam filtering. After using it for a few months, I must say I’m very close to zero comment spam!

    The results

    I have configured BlogEngine.NET as follows:

    • Comments enabled, never closed
    • Comment moderation: “on” and “automatic”
    • Whitelisting rules enabled (if you have 5 legitimate comments, you are probably OK)
    • Spam filters enabled: AkismetFilter, StopForumSpam and TypePadFilter

    Now if you look at the results, there’s an interesting difference between the spam filter services being used:

    image

    The accuracy of the spam filters is mostly > 90%, for Akismet it’s even 97.30 %. Which I also feel: a small check every week on whether there are spam filter mistakes is quite enough. Only the TypePadFilter is letting me down there, and I will probably disable this one and rely on only two filters.


    Comments (3) -

    Chris Pietschmann United States |

    Tuesday, November 16, 2010 8:40 PM

    Chris Pietschmann

    Thanks for the tips. I've implemented these on my own blog. I'll see how well this works in a couple days. I actually disabled comments awhile ago since the spam was ridiculous. Thanks.

    ehliyet sınav sonuçları Turkey |

    Sunday, January 09, 2011 3:30 PM

    ehliyet sınav sonuçları

    very nice, thank you.

    walk in bath tubs United Kingdom |

    Saturday, March 05, 2011 11:22 AM

     walk in bath tubs

    this blog is great ,  i am also looking forward to get one like blogengine net . may i download it free of charge

    Pingbacks and trackbacks (1)+

    Comments are closed