From: Werner Pawlitschko <werner.pawlitschko@arcor.de>
To: netfilter-devel@vger.kernel.org
Subject: iptables-1.4.5 REPLACE rule problem
Date: Sat, 14 Nov 2009 10:25:16 +0100 [thread overview]
Message-ID: <4AFE777C.8090106@net.wpww> (raw)
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
next reply other threads:[~2009-11-14 9:25 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-11-14 9:25 Werner Pawlitschko [this message]
2009-11-15 15:05 ` iptables-1.4.5 REPLACE rule problem Jan Engelhardt
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4AFE777C.8090106@net.wpww \
--to=werner.pawlitschko@arcor.de \
--cc=netfilter-devel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.