Funny iptables -L output with 0.0.0.3 netmask

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

 



Hi,

just noticed something funny with "iptables -L" - was always fine in the past, 
e.g. with iptables 1.4.10, but now on a box with iptables 1.4.19 (opensuse 
13.1) I see a funny thing.

Rule:
iptables -A somewhere -s 0.0.0.1/0.0.0.3 -j ACCEPT

Previous / normal list output:
ACCEPT     all  --  0.0.0.1/0.0.0.3      anywhere

Funny output I see now:
ACCEPT     all  --  0.0.0.1/-1           anywhere

The "-1" shows for variations of the nifty mask, too, e.g. /0.0.0.1 or 
/0.0.0.5 or even /127.255.255.255 - apparently anything with a leading 0-bit.

iptables-save output is fine.

Sorry if this is known + maybe already fixed in newer iptables versions...

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




[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux