Battening Down the Hatches

I’ve been inspired and encouraged by Dougal and Michael to tie together their respective spamblocking scripts. I’m testing the hybrid now.

Assuming all works as planned, if a spambot is detected and blocked by Bad Behavior, SpamValve will also take its IP address and log the abuse. Five offences from the same IP and the address will be blocked at the firewall for a couple of days. Any bots missed by Bad Behaviour that trigger the heuristics built into Wordpress will also have their IP passed to SpamValve.

My changes are crude and can definitely be improved. Consider this a proof of concept. If anyone wants a copy please contact me via =timhardy or leave a comment below.

NB a new update is available for Bad Behavior (which I notice I’ve been misspelling “Behaviour” in the English fashion until now) bringing it up to version 1.1.1.

4 Responses to “Battening Down the Hatches”

  1. IO ERROR Says:

    Oh, feel free to spell it in the English fashion. :)

  2. Tim Hardy Says:

    Cheers! You like potato and I like potahto, You like tomato and I like tomahto… :)

  3. corey Says:

    Interested to see what you come up with. You’re starting to scare me with all of your spam talk :-) I haven’t experienced any problems yet but the more I read the more I think I had better get prepared. And yeah, obscurity is nice!

  4. Tim Hardy Says:

    I’ll be happy to share it, Corey. I’d strongly recommend Bad Behavio(u)r. If you’ve goot root access on your server and are able to add rules to the firewall, I’ll gladly share my modifications to SpamValve - I’m sure you can help me iron out my mistakes in it!

Leave a Reply