Recently I have had tons of referral spam in my blog logs.   I didn't want to mess with IIS filters or modifying the dasBlog source code.  I planned on writing a HTTP Module to check the request against a set of rules to help block invalid request when I found ReverseDOS.  It lets you specify a set of filters as regular expressions and if the request matches any of the filters it blocks the request. SubText (another Open Source ASP.Net blog engine) ships with ReverseDOS and I'm not sure why dasBlog doesn't.

So far this is working quite well.  I had to tweak the filters a bit to match the spam I've been getting and haven't had any issues so far.  Once my filters are tweaked out I'll post my configuration file.

Posted at 5/28/2007 11:07 PM
Comments [1] - Permalink
Monday, 04 June 2007 09:16:21 (Eastern Daylight Time, UTC-04:00)
Cool news. I have been having the same problem and its driving me nuts. Its definatly some thing we need to bring into DasBlog. I feel bad for all those websites that have been taken over by some trackback/pingback spammer.
OpenID
Please login with either your OpenID above, or your details below.
Name
E-mail
Home page

Comment (Some html is allowed: a@href@title, i) where the @ means "attribute." For example, you can use <a href="" title=""> or <blockquote cite="Scott">.  

Enter the code shown (prevents robots):

Live Comment Preview