Hi,

I also observe that iptables ignores mask specification on source or destination options. The problem is observed when replacing rules. Eg.

iptables -A INPUT -s 10.0.0.0/24 -j ACCEPT
iptables -R INPUT 1 -s 10.0.0.0/24 -j ACCEPT
iptables-save

produces:
...
-A INPUT -s 10.0.0.0/0 -j ACCEPT
...

which is clearly wrong.
The first line (append) produces a correct rule. Only replaces rules seems to exhibit the strange behavior.

Regards
Anders Fugmann






--
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to