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 [2] - 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.
Monday, 24 July 2017 01:52:47 (Eastern Daylight Time, UTC-04:00)
After I initially commented I seem to have clicked the -Notify me when new comments are added- checkbox and
from now on every time a comment is added I recieve four emails with the same comment.
There has to be a means you are able to remove me from that service?
Please login with either your OpenID above, or your details below.
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