Re: ipset returns "Zero valued IP address" when trying to add '0.0.0.0/7'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

On Tue, Nov 11, 2008 at 10:23 PM, Grant Taylor
<gtaylor@xxxxxxxxxxxxxxxxx> wrote:
> It sounds like ipset does not like the fact that you are using an IP address
> that is all zeros.  You may have to add something like the following:

Ok, It looks like 0.0.0.1/7 works too.

For all of those, the usable range looks the same,

 First Usable IP Address = .....: 0.0.0.1
 Last Usable IP Address = ......: 1.255.255.254

> Also, are you sure you meant to enter a netmask of /7 and not /8?

Welll, that's the range the list defines ...

On Tue, Nov 11, 2008 at 11:43 PM, Jozsef Kadlecsik
<kadlec@xxxxxxxxxxxxxxxxx> > > But "0.0.0.0/7" as a network address is
not zero valued: the checking
> happens prematurely and prevents adding the network address to the hash.
> I'm going to fix it.

Thanks for explaining and the fix.

--JC
--
To unsubscribe from this list: send the line "unsubscribe netfilter" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux