lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <cf0d02b2-b1db-7ef6-41b8-7c345b7d53d5@redhat.com>
Date:   Wed, 13 May 2020 23:20:35 +0800
From:   Xiubo Li <xiubli@...hat.com>
To:     netdev@...r.kernel.org, netfilter-devel@...r.kernel.org,
        coreteam@...filter.org
Cc:     kernel list <linux-kernel@...r.kernel.org>,
        Jeff Layton <jlayton@...nel.org>,
        Patrick Donnelly <pdonnell@...hat.com>
Subject: netfilter: does the API break or something else ?

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ