From: Xiubo Li <xiubli@redhat.com>
To: netdev@vger.kernel.org, netfilter-devel@vger.kernel.org,
coreteam@netfilter.org
Cc: kernel list <linux-kernel@vger.kernel.org>,
Jeff Layton <jlayton@kernel.org>,
Patrick Donnelly <pdonnell@redhat.com>
Subject: netfilter: does the API break or something else ?
Date: Wed, 13 May 2020 23:20:35 +0800 [thread overview]
Message-ID: <cf0d02b2-b1db-7ef6-41b8-7c345b7d53d5@redhat.com> (raw)
Hi Experts,
Recently I hit one netfilter issue, it seems the API breaks or something
else.
On CentOS8.1 with the recent upstream kernel built from source, such as
5.6.0-rc6/5.7.0-rc4. When running the following command:
$ sudo bash -c 'iptables -A FORWARD -o enp3s0f1 -i ceph-brx -j ACCEPT'
iptables v1.8.2 (nf_tables): CHAIN_ADD failed (Operation not supported):
chain INPUT
With the nftables command:
$ sudo nft add chain ip filter INPUT { type filter hook input priority 0\; }
Error: Could not process rule: Operation not supported
add chain ip filter INPUT { type filter hook input priority 0; }
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
$ sudo nft add chain ip filter FORWARD { type filter hook forward
priority 0\; }
Error: Could not process rule: Operation not supported
add chain ip filter FORWARD { type filter hook forward priority 0; }
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
$ sudo nft add chain ip filter OUTPUT { type filter hook output
priority 0\; }
Error: Could not process rule: Operation not supported
add chain ip filter OUTPUT { type filter hook output priority 0; }
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
While tried them with downstream kernel 4.18.0-147.8.1.el8_1.x86_64,
they all could work well.
The nftables/libnftnl packages are:
$ rpm -qa|grep nft
nftables-0.9.0-14.el8.x86_64
libnftnl-1.1.1-4.el8.x86_64
And we have tried v5.7.0-rc4+ with f31 userspace, they all could work
well too.
From above I just suspect the API should break. Could someone kindly
point out which and where ?
Thanks
BRs
Xiubo
next reply other threads:[~2020-05-13 15:20 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-13 15:20 Xiubo Li [this message]
2020-05-14 10:54 ` netfilter: does the API break or something else ? Phil Sutter
2020-05-14 11:15 ` Xiubo Li
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=cf0d02b2-b1db-7ef6-41b8-7c345b7d53d5@redhat.com \
--to=xiubli@redhat.com \
--cc=coreteam@netfilter.org \
--cc=jlayton@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=netfilter-devel@vger.kernel.org \
--cc=pdonnell@redhat.com \
/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).