I just did it with 7.0.0-44:
Reproducer:
ubuntu@n-nftables:~$ uname -a
Linux n-nftables 7.0.0-44-generic #44~24.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue
Nov 10 20:33:11 UTC 2 x86_64 x86_64 x86_64 GNU/Linux
ubuntu@n-nftables:~$ sudo -i
root@n-nftables:~# vi nft.sh
root@n-nftables:~# bash -x ./nft.sh
+ nft add table inet t
+ nft add chain inet t c
+ nft add set inet t s '{ type inet_proto . inet_service; flags interval; }'
+ nft add rule inet t c meta l4proto . th dport @s accept
Error: Could not process rule: Operation not supported
add rule inet t c meta l4proto . th dport @s accept
^^^^^^^^^^^^
Now with nftables from proposed:
root@n-nftables:~# apt-cache policy nftables
nftables:
Installed: 1.0.9-1ubuntu0.2
Candidate: 1.0.9-1ubuntu0.2
Version table:
*** 1.0.9-1ubuntu0.2 100
100 http://br.archive.ubuntu.com/ubuntu noble-proposed/main amd64
Packages
100 /var/lib/dpkg/status
1.0.9-1ubuntu0.1 500
500 http://br.archive.ubuntu.com/ubuntu noble-updates/main amd64
Packages
1.0.9-1build1 500
500 http://br.archive.ubuntu.com/ubuntu noble/main amd64 Packages
root@n-nftables:~# bash -x ./nft.sh
+ nft add table inet t
+ nft add chain inet t c
+ nft add set inet t s '{ type inet_proto . inet_service; flags interval; }'
+ nft add rule inet t c meta l4proto . th dport @s accept
root@n-nftables:~# echo $?
0
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2175626
Title:
[noble] 6.8.0-151-generic can't load certain nftable rulesets with
interval sets
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2175626/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs