From: Roman Mamedov <rm@romanrm.net>
To: netfilter-devel@vger.kernel.org
Subject: Re: iptables: considers incomplete rule in -C and finds an erroneous match
Date: Mon, 5 Feb 2024 04:59:22 +0500 [thread overview]
Message-ID: <20240205045922.78b48ebc@nvm> (raw)
In-Reply-To: <20240205044519.45334f8e@nvm>
On Mon, 5 Feb 2024 04:45:19 +0500
Roman Mamedov <rm@romanrm.net> wrote:
> # ip6tables-save | grep 80,443
> -A INPUT -s fd39::/16 -p tcp -m multiport --dports 80,443 -j ACCEPT
Actually the 2nd rule doesn't matter at all, it just returns success (rule
exists) on anything.
# ip6tables -C INPUT -p udp --dport 12345 -j ACCEPT && echo Exists
Exists
# ip6tables-save | grep 12345
#
--
With respect,
Roman
next prev parent reply other threads:[~2024-02-05 0:04 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-02-04 23:45 iptables: considers incomplete rule in -C and finds an erroneous match Roman Mamedov
2024-02-04 23:59 ` Roman Mamedov [this message]
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=20240205045922.78b48ebc@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).