iptables-1.4.5 REPLACE rule problem

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

 



Hi dear netfilter team,
I just upgraded from iptables-1.4.3 to 1.4.5 and found the following problem. Probably it has already been reported.

I think it should be just as simple as doing this at the prompt:
iptables -A OUPUT -j LOG -d 10.11.12.13
then iptables-save shows
-A OUPUT -d 10.11.12.13/32 -j LOG
that's ok.
Then doing:
iptables -R OUTPUT 1 -j LOG -d 10.11.12.13
then iptables-save shows
-A OUTPUT -d 10.11.12.13/0 -j LOG
Looks bad. As you see the mask is set to zero for all bits.
But redirecting the output of iptables-save into a file, editing the mask manually and restoring the rules by iptables-restore works perfectly.

Your sincerely,
 Werner
--
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