All of lore.kernel.org
 help / color / mirror / Atom feed
* iptables-1.4.5 REPLACE rule problem
@ 2009-11-14  9:25 Werner Pawlitschko
  2009-11-15 15:05 ` Jan Engelhardt
  0 siblings, 1 reply; 2+ messages in thread
From: Werner Pawlitschko @ 2009-11-14  9:25 UTC (permalink / raw)
  To: netfilter-devel

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-11-15 15:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-14  9:25 iptables-1.4.5 REPLACE rule problem Werner Pawlitschko
2009-11-15 15:05 ` Jan Engelhardt

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.