ipset is not useful in ubuntu, because kernel and iptables do not support it.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Debian |
Fix Released
|
Unknown
|
|||
ipset (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
iptables (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
linux (Ubuntu) |
Fix Released
|
Wishlist
|
Unassigned | ||
Bug Description
Binary package hint: ipset
Installing ipset allows you to interact with ipsets in a kernel that supports ipsets. There are no kernels or modules installable via apt that support ipsets.
If you download patch-o-matic-ng from the netfilter website, you can patch iptables, kernel and ipset.
I have managed to build a kernel that supports ipsets. With this kernel it is possible use the 'ipset' binary provided with the 'ipset' package to add/remove/alter ipsets.
A patched iptables does not build the 'set' module, and I can't figure out how to make it do that. It requires rebuilding iptables with sets support. I get this error:
$ iptables -m set
iptables v1.3.6: Couldn't load match `set':/
Without iptables supporting matching on sets, it is actually not possible to use an ipset. As a result, it is basically impossible to make this 'ipset' package useful in ubuntu.
I recommend adding a package that provides the kernel modules (ip_set_*) to universe, and altering iptables to support sets.
tags: | added: review-request |
Changed in linux (Ubuntu): | |
importance: | Undecided → Wishlist |
status: | New → Triaged |
tags: | removed: review-request |
Changed in debian: | |
status: | Unknown → Incomplete |
Changed in debian: | |
status: | Incomplete → Fix Released |
I also wanted to use this package, but haven't even tried to install it after reading your bug report. I suspected that Ubuntu might not contain ipset patch...
This would be a great addition, although I'm not a kernel hacker and I'm not sure what's the impact of this patch, IMO it has to be decided how to proceed here.
My use case is that I set up Shorewall and want to use its built-in support for ipset to see how it performs with large rulesets - supposed to be very promising. But without manual kernel recompilation, it's not something you can do on Ubuntu now.