Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
nftables stops working after updating to kernel 4.20
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
prologen
n00b
n00b


Joined: 02 Jan 2019
Posts: 5

PostPosted: Wed Jan 02, 2019 4:57 pm    Post subject: nftables stops working after updating to kernel 4.20 Reply with quote

Hello.
This happens for every operation after an upgrade from gentoo-sources-4.15.0 to gentoo-sources-4.20.0:

Code:
# nft add table filter
Error: Could not process rule: Operation not supported
add table filter

# nft flush ruleset
Error: Could not process rule: Operation not supported
flush ruleset
^^^^^^^^^^^^^^


Here's emerge --info nftables:
https://bpaste.net/show/d4d3549590a5

Here's kernel's 4.20.0 config file:
https://bpaste.net/show/899fd8bab85d
Back to top
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 6920

PostPosted: Wed Jan 02, 2019 8:10 pm    Post subject: Reply with quote

You've disabled IPv6 nftables support in the kernel, so you need to explicitly say you want a single-stack ipv4-only table instead.
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