13/02/06

Anti-spam RegEx updated

Permalink 10:14:07 pm, Categories: Programming, 181 words  

It seems like it's the most effective measure out there - create a custom RegEx within the Comment code, Trackback code and hit logging and alter it as I get things that pass through. It might be less effective on busier sites, where it'll get more false positives, but for this size and popularity of blog it's fine.

I've been keeping my "Trackback blocked" emails since the 24th January (I also used to send Comment blocked emails, but stopped them when comment spam came in a flood and I started getting too many emails). I've just updated my RegEx with the latest bout of words - about 20 in total - and checked the success ratio.

Having not updated the RegEx for a couple of weeks, and not blocking anything, I had 28 comments or trackbacks that had managed to sneak through in the three weeks, and 191 trackbacks stopped. Yes, that's just trackbacks, not including comments (which don't email me any more) or hit logs (which never emailed me). Not a bad ratio :)

Now to see how long this update lasts before someone gets through it!

Comments, Trackbacks:

Trackback from: IBBoard [Visitor]
More anti-spam regex updating
Recently there seems to have been a minor swarm of a new style of spam - insurance spam. An extra little bit to the regex and all should be good: insurance for your car, travel, motor, life or medical should all now be blocked.
Also, I've noticed befo...
Permalink 25/02/06 @ 10:24

Navigation