article on blocking by subnets
Graham Wilson
bob at decoy.wox.org
Tue Dec 3 04:03:02 CET 2002
On Mon, Dec 02, 2002 at 08:43:12PM -0500, David Relson wrote:
> At 08:26 PM 12/2/02, Barry Gould wrote:
> >if (token is an IP address (in form a.b.c.d) )
> >{
> > create a new token for each of:
> > class C net (a.b.c.0)
> > class B net (a.b.0.0)
> > class A net (a.0.0.0) (dunno if this is a good idea or not)
> >
> > and Evaluate or Store/Update them as appropriate, in addition to
> >the original IP
> >}
[...]
> Actually, I took a look at lexer.l. It already recognizes URL's and the
> distribution code has the beginnings of code for returning multiple tokens
> (or subtokens) from 1 call to the lexer. Apparently I thought of doing
> something with URL's at on time, because my private copy of bogofilter has
> some relevant code.
>
> If we can figure out what is wanted, I can code it. However, I'm very
> willing to leave the testing to others. Do I have any volunteers?
if you added the code to cvs or sent me a patch against cvs, id be
willing to run some tests.
--
gram
More information about the Bogofilter
mailing list