Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] nftables sets kernel module
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
mimosinnet
l33t
l33t


Joined: 10 Aug 2006
Posts: 674
Location: Barcelona, Spain

PostPosted: Sat Nov 02, 2019 10:36 am    Post subject: [SOLVED] nftables sets kernel module Reply with quote

nftables sets stop working after upgrading the kernel. This is the error message:

file trusted.nft:
Code:
#!/sbin/nft
add set ip filter trusted_hosts  { type ipv4_addr; }


command:
Code:
nft -f trusted.nft


error:
Code:
trusted.nft:2:1-60: Error: Could not process rule: Operation not supported
add set ip filter trusted_hosts     { type ipv4_addr; }


The kernel has introduced a new configuration key: NF_TABLES_SET. This setting has to be enabled for nftables sets to work.

Cheers!
_________________
Please add [solved] to the initial post's subject line if you feel your problem is resolved.
Take care of the community answering unanswered posts.
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