Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
nftables: nft >= 0.9.9 does not show list of tables
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
stef999
n00b
n00b


Joined: 12 Sep 2021
Posts: 4

PostPosted: Sun Sep 12, 2021 5:36 pm    Post subject: nftables: nft >= 0.9.9 does not show list of tables Reply with quote

Hi

I have just done a full upgrade of one of my PCs.
Almost everything looks good: "emerge --update --deep --newuse @world" and "emerge @preserved-rebuild" and "revdep-rebuild" all do not show anything that needs to be done.

Does anybody know if "net-firewall/nftables" version 0.9.9 (same for 1.0.0 which is not yet marked stable) have changed behaviour concerning printing the list of tables and rules?

My PC that has nftables 0.9.9 installed boots normally.
Then if I execute...
Code:
quad ~ # nft list tables

...it doesn't output anything.

If I downgrade to v. 0.9.8 then it immediately (no reboot, no firewall restart, etc...) works as expected:
Code:
quad ~ # nft list tables
table ip nat
table ip filter


Same thing with "nft list ruleset": versions 0.9.9 & 1.0.0 do not output anything, version 0.9.8 works fine.

(btw this obviously means that loading the rules with version 0.9.9 works normally, it's just displaying them later that doesn't work as with version 0.9.8 )

I looked at "man nft" but from what I understand "nft list tables" should still be a valid command.

Does anybody know anything about this?
Thank you :)

EDIT:
nftables installed with following flags:

version 0.9.8:
Code:
quad ~ # emerge -pv =nftables-0.9.8
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild   R    ] net-firewall/nftables-0.9.8::gentoo  USE="gmp modern-kernel readline -debug -doc -json -python -static-libs -xtables" PYTHON_TARGETS="python3_8 python3_9" 0 KiB


Version 0.9.9:
Code:

quad ~ # emerge -pv =nftables-0.9.9
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild   R    ] net-firewall/nftables-0.9.9:0/1::gentoo  USE="gmp modern-kernel readline -debug -doc -json -libedit -python -static-libs -xtables" PYTHON_TARGETS="python3_8 python3_9 (-python3_10)" 0 KiB


Kernel being used:
Code:

quad ~ # uname -a
Linux quad 4.14.245-gentoo #1 SMP PREEMPT Sun Sep 12 16:23:46 CEST 2021 x86_64 Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz GenuineIntel GNU/Linux
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum