Posted on: 11/07/07 10:46am
By: LeeG
Hi All
Need a little help with this, I am getting lots of hits from IP Address Range xx.xx.xx.* where the xx.xx.xx is always the same but * is the only number that changes. How do I add this to SpamX so they can be blocked. Do I use * as a wildcard in the address? Please help.
Lee
Re: How too - Add IP address range in SpamX
Posted on: 11/07/07 01:58pm
By: Dirk
If you wanted to block, say, 127.0.0.* you would enter it like so (and I hope the backslashes come out):
Text Formatted Code
^127\.0\.0\..*
That's an ugly regexp
The CVS version of the Spam-X plugin actually accepts IP ranges now, so that you could enter the above as either 127.0.0.0-127.0.0.255 or as 127.0.0.0/24. I'll have to backport that to 1.4.1 on occasion ...
bye, Dirk