Blog Spam Trap

I went from 100′s of blog spams a week to under 10 in the last week with a simple .htaccess addition:

# begin spammer
SetEnvIfNoCase User-Agent "^TrackBack/*" spammer=yes
Order allow,deny
allow from all
deny from env=spammer
# end spammer

This catches an evil little script with a UserAgent of “TrackBack/1.02″ that has been hitting from many IP addresses – I would guess that this UserAgent has been uploaded to vulnerable workstations or servers and acts as a bot-net..

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>