Tested on a Focal VM in Canonistack.
Using current ipset:
| ubuntu@juju-87625f-hloeung-110:~$ sudo apt-get install ipset | ... | Get:1 http://us.archive.ubuntu.com/ubuntu focal/main amd64 libipset13 amd64 7.5-1~exp1 [53.4 kB] | Get:2 http://us.archive.ubuntu.com/ubuntu focal/main amd64 ipset amd64 7.5-1~exp1 [29.8 kB]
| ubuntu@juju-87625f-hloeung-110:~$ time sudo ipset restore < whitelist-ipv4-2021-06-29-with-proto-nums | | real 1m55.870s | user 1m3.704s | sys 0m26.604s
Using the one in -proposed:
| Get:1 http://us.archive.ubuntu.com/ubuntu focal-proposed/main amd64 ipset amd64 7.5-1ubuntu0.20.04.1 [29.8 kB] | Get:1 http://us.archive.ubuntu.com/ubuntu focal-proposed/main amd64 libipset13 amd64 7.5-1ubuntu0.20.04.1 [53.6 kB]
| ubuntu@juju-87625f-hloeung-110:~$ time sudo ipset restore < whitelist-ipv4-2021-06-29-with-proto-nums | | real 0m41.372s | user 0m18.724s | sys 0m16.023s
Full output - https://paste.ubuntu.com/p/w74Kjvnn84/
Tested on a Focal VM in Canonistack.
Using current ipset:
| ubuntu@ juju-87625f- hloeung- 110:~$ sudo apt-get install ipset us.archive. ubuntu. com/ubuntu focal/main amd64 libipset13 amd64 7.5-1~exp1 [53.4 kB] us.archive. ubuntu. com/ubuntu focal/main amd64 ipset amd64 7.5-1~exp1 [29.8 kB]
| ...
| Get:1 http://
| Get:2 http://
| ubuntu@ juju-87625f- hloeung- 110:~$ time sudo ipset restore < whitelist- ipv4-2021- 06-29-with- proto-nums
|
| real 1m55.870s
| user 1m3.704s
| sys 0m26.604s
Using the one in -proposed:
| Get:1 http:// us.archive. ubuntu. com/ubuntu focal-proposed/main amd64 ipset amd64 7.5-1ubuntu0. 20.04.1 [29.8 kB] us.archive. ubuntu. com/ubuntu focal-proposed/main amd64 libipset13 amd64 7.5-1ubuntu0. 20.04.1 [53.6 kB]
| Get:1 http://
| ubuntu@ juju-87625f- hloeung- 110:~$ time sudo ipset restore < whitelist- ipv4-2021- 06-29-with- proto-nums
|
| real 0m41.372s
| user 0m18.724s
| sys 0m16.023s
Full output - https:/ /paste. ubuntu. com/p/w74Kjvnn8 4/