How to Install and Uninstall ipset Package on Ubuntu 21.04 (Hirsute Hippo)

Last updated: May 17,2024

1. Install "ipset" package

This guide let you learn how to install ipset on Ubuntu 21.04 (Hirsute Hippo)

$ sudo apt update $ sudo apt install ipset

2. Uninstall "ipset" package

This guide covers the steps necessary to uninstall ipset on Ubuntu 21.04 (Hirsute Hippo):

$ sudo apt remove ipset $ sudo apt autoclean && sudo apt autoremove

3. Information about the ipset package on Ubuntu 21.04 (Hirsute Hippo)

Package: ipset
Architecture: amd64
Version: 7.10-1
Priority: extra
Section: net
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Netfilter Packaging Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 133
Provides: ipset-7.10
Depends: libc6 (>= 2.4), libipset13 (>= 7.0-1~)
Recommends: iptables
Breaks: xtables-addons-common (<< 1.41~)
Filename: pool/main/i/ipset/ipset_7.10-1_amd64.deb
Size: 29824
MD5sum: 32c16bfb4ce5b7a5df9c81b17466a8e3
SHA1: 21b736be41afef8c62e312e2983bd856e709006f
SHA256: 8d00c8897eb1aed981b2bad50a45a5445c2a945f013d24674d34826748c60124
SHA512: 8a934441b376c8b030699d7ca80486e264768175910cf50dc1aa6c6a353d18421fe334f357f0a5d7cc4298853727a998cbc5dd5b9195d272fd02f0eb51ed2675
Homepage: http://ipset.netfilter.org/
Description-en: administration tool for kernel IP sets
IP sets are a framework inside the Linux 2.4.x and 2.6.x kernel which can be
administered by the ipset(8) utility. Depending on the type, currently an
IP set may store IP addresses, (TCP/UDP) port numbers or IP addresses with
MAC addresses in a way which ensures lightning speed when matching an
entry against a set.
.
If you want to
.
* store multiple IP addresses or port numbers and match against the
entire collection using a single iptables rule.
* dynamically update iptables rules against IP addresses or ports without
performance penalty.
* express complex IP address and ports based rulesets with a single
iptables rule and benefit from the speed of IP sets.
.
then IP sets may be the proper tool for you.
Description-md5: d87e199641d9d6fbb0e52a65cf412bde