From: Roman Mamedov <rm@romanrm.net>
To: netfilter-devel@vger.kernel.org
Subject: iptables: considers incomplete rule in -C and finds an erroneous match
Date: Mon, 5 Feb 2024 04:45:19 +0500 [thread overview]
Message-ID: <20240205044519.45334f8e@nvm> (raw)
Hello,
According to my ip6tables, a rule like this already exists:
# ip6tables -C INPUT -p tcp -m multiport --dports 80,443 -j ACCEPT && echo Exists
Exists
Except that it doesn't, and an extra IP filter is present:
# ip6tables-save | grep 80,443
-A INPUT -s fd39::/16 -p tcp -m multiport --dports 80,443 -j ACCEPT
Is that the expected behaviour?
ip6tables v1.8.9 (legacy)
Thanks
--
With respect,
Roman
next reply other threads:[~2024-02-04 23:52 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-02-04 23:45 Roman Mamedov [this message]
2024-02-04 23:59 ` iptables: considers incomplete rule in -C and finds an erroneous match Roman Mamedov
2024-02-06 15:07 ` Phil Sutter
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=20240205044519.45334f8e@nvm \
--to=rm@romanrm.net \
--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.