What is ipset?
ipset is made by Jozsef Kadlecsik. Linux kernel framework with a user-space command-line utility for maintaining in-kernel sets of network identifiers (e.g., addresses, networks, ports, MAC addresses, interface names and combinations) for very fast membership matching by packet-filtering rules, with support for dynamic updates and persistence.
What ipset does
Linux kernel framework with a user-space command-line utility for maintaining in-kernel sets of network identifiers (e.g., addresses, networks, ports, MAC addresses, interface names and combinations) for very fast membership matching by packet-filtering rules, with support for dynamic updates and persistence.
- Maintains in-kernel sets for fast membership matching by packet-filtering rules
- Supports set elements including IP addresses, IP networks, TCP/UDP port numbers, MAC addresses, interface names, and combinations of these
- Provides commands to create, add, delete, test, destroy, list, save, restore, flush, rename, and swap sets
- Supports multiple set type families using method:datatype naming (e.g., bitmap/hash/list with ip/net/mac/port/iface datatypes)
- Can output list/save data in multiple formats including plain, save, XML, and JSON
- Supports extensions/options such as timeouts, counters (packets/bytes), and comments on set entries
- Designed to allow grouping many addresses/ports to match in a single iptables rule and update dynamically without performance penalty
Category: Network Firewalls. ipset is open source and free to use.
What teams use it for
- Improve firewall rule performance by matching packets against large address/port collections via set membership
- Dynamically update allow/deny lists (e.g., threat feeds, temporary blocks) without rewriting many packet-filtering rules
- Condense complex address/port rulesets into a small number of packet-filtering rules using set references
- Persist and restore firewall-related sets across reboots using save/restore workflows
What it overlaps with
These tools do similar work and turn up in the same large estates. Owning more than one is common, and it is often where the savings are.
Questions buyers ask
What does ipset do?
Linux kernel framework with a user-space command-line utility for maintaining in-kernel sets of network identifiers (e.g., addresses, networks, ports, MAC addresses, interface names and combinations) for very fast membership matching by packet-filtering rules, with support for dynamic updates and persistence.
How common is ipset in large enterprises?
Samplify finds ipset in about 1 in 10 of the large enterprise software estates it has analysed.
Is ipset free?
ipset is open source and free to use.
What can replace ipset?
Other tools in the same category include firewalld, stunnel, Arptables, Conntrack.
Do we already own something that does what ipset does?
Often, yes. Large estates commonly hold several tools that overlap. Samplify compares every tool you own at feature level, across every category, and decides which one stays.
Paying twice for the same job?
Most large estates own several tools that do the same thing, often without anyone knowing. Samplify compares every tool you own at feature level and decides which one stays, with the evidence attached.
Where this comes from
Samplify's software catalogue and the large enterprise estates it has analysed, as at 2 Dec 2026. Features and use cases are Samplify's own reading of the product. Check anything important with Jozsef Kadlecsik.