As it is said, this command failed :
nft 'add set netdev blacklist blocklist_v4 {type ipv4_addr; flags interval;}'
But this one succeded :
nft 'add set netdev blacklist blocklist_v4 {type ipv4_addr;}'
I tried with flags constant, and it works. So it seems "interval" is not supported, or am i missing something ??
I'm trying to achieve something like this.
Don't migrate to nftables until you have kernel 5.6 if you want to have IP intervals ! As it is said here and SHOULD have been wrote here
No, thanks, fed up with horrible "workarounds". Iptables was able to do that before, and i hate regression. So I will remove CIDR IPs and wrote each IP. Marvelous.
They didn't mention in the right place that flags interval doesn't work under kernel 5.6. and then you get screwed. Ok, fine. Problem "solved".