ipset 7.20-1 breaks ipset save

Problems with packages? Post here, using [tags] of the package name.

ipset 7.20-1 breaks ipset save

Postby karog » Tue Feb 06, 2024 7:09 pm

The recent upgrade of ipset from 7.19-1 to 7.20-1 breaks ipset save by making it identical to ipset list.

Example output of ipset list
$ sudo ipset list SOME_IPSET
Name: SOME_IPSET
Type: bitmap:port
Revision: 3
Header: range 1-65535
Size in memory: 8264
References: 2
Number of entries: 1
Members:
57565

Example output of ipset save
$ sudo ipset save SOME_IPSET
create SOME_IPSET bitmap:port range 1-65535
add SOME_IPSET 57565

But with 7.20-1, ipset save now outputs identical to ipset list making ipset save useless. This caused me terrible problems before I figured out the change.

Downgrading to 7.19-1 set things right again.

Please fix this ASAP.
karog
 
Posts: 301
Joined: Thu Jan 05, 2012 7:55 pm

Re: ipset 7.20-1 breaks ipset save

Postby karog » Thu Feb 15, 2024 12:39 am

I checked out netfilter ipset and see there is a newer version 7.21 that is not yet available here. It contains the change comment:

+ - The patch "Fix hex literals in json output" broke save mode, restore it

so hopefully when this shows up for archlinuxarm this will be fixed.

I am surprised no one at all remarked on this issue.
karog
 
Posts: 301
Joined: Thu Jan 05, 2012 7:55 pm


Return to Packages

Who is online

Users browsing this forum: No registered users and 8 guests