Bug#887642: Fwd: nftables: nft flush map error

2018-01-22 Thread Arturo Borrero Gonzalez
On Thu, 18 Jan 2018 11:29:26 -0500 "ad^2" wrote: > Kernel: Linux 4.4.0-87-generic (SMP w/1 CPU core) You are using an old kernel. Please update. Also, it seems you are using Ubuntu. In that case, is better to ask for help in proper Ubuntu support channels, since they may

Bug#887642: Fwd: nftables: nft flush map error

2018-01-19 Thread ad^2
Unfortunately this does not work for me using the exact commands. root@nftables-router:~# nft list ruleset root@nftables-router:~# nft add table inet filter root@nftables-router:~# nft add map inet filter m1 { type ipv4_addr : verdict \; } root@nftables-router:~# nft list ruleset table inet

Bug#887642: Fwd: nftables: nft flush map error

2018-01-19 Thread Arturo Borrero Gonzalez
On 18 January 2018 at 17:29, ad^2 wrote: > --- >* Expected outcome: remove the elements from the map. This works here: % sudo nft add map inet filter m1 {type ipv4_addr : verdict \; } % sudo nft list ruleset table inet filter { map m1 { type ipv4_addr :

Bug#887642: Fwd: nftables: nft flush map error

2018-01-18 Thread ad^2
Package: nftables Version: 0.8.1-1 Severity: normal Dear Maintainer, * Observed while functionality testing * flush a map before restoring from file. ** nft list table test > backup ** flush the maps ** nft -f backup * Example below - valid map exists nft list map test