spamassassin-users October 2010 archive
Main Archive Page > Month Archives  > spamassassin-users archives
spamassassin-users: R: SA 3.3.1 and NetAddr::IP 4.034

R: SA 3.3.1 and NetAddr::IP 4.034

From: Giampaolo Tomassoni <giampaolo_at_nospam>
Date: Fri Oct 29 2010 - 15:51:16 GMT
To: <users@spamassassin.apache.org>

> still incorrect:
> $ perl -le 'use NetAddr::IP; print NetAddr::IP->new6("127/8")'
> 0:0:0:0:0:0:7F00:0/8

This seems way too ambiguos to me, isn't? How could the NetAddr::IP module
get you're instantiating an IPv6 net address, after all. That seems to me a
valid IPv6 syntax, too...

> A workaround for SpamAssassin is to avoid shorthand IPv4 network
> specifications, both in a config file (trusted/internal networks,
> if any), as well as the hardwired one:
>
> - $set->add_cidr ('127/8');
> + $set->add_cidr ('127.0.0.0/8');

Wow, such a beast was in Conf.pm, uhu?

So, SA 3.3.2 will be NetAddr::IP 4.035 -compatible, right?

Thanks Mark.

Giampaolo

> Mark