FS#72286 - [dnsmasq] build 2.87 with support for nftables sets

Attached to Project: Arch Linux
Opened by Clayton Craft (craftyguy) - Wednesday, 29 September 2021, 16:37 GMT
Last edited by Christian Hesse (eworm) - Sunday, 30 October 2022, 07:51 GMT
Task Type Feature Request
Category Packages: Extra
Status Closed
Assigned To Christian Hesse (eworm)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:

This is a request to build the 2.87 release (when it's made..) with nftables set support, see: https://thekelleys.org.uk/gitweb/?p=dnsmasq.git;a=commit;h=47aefca5e405b4b6627ef952fdc42e61b1baa770

`nftset` implements the nftables equivalent to dnsmasq's `--ipset` option.

It's enabled by building with `-DHAVE_NFTSET`.

Since 2.87 isn't released yet, I wanted to file this now because adding this option will add a new dependency on `nftables`, since Arch Linux does *not* package `libnftables.so` separately from the runtime service/exe, etc in `nftables`. The `nftables` package is fairly small and it doesn't seem to change system runtime config when it's installed (users have to manually enable the service etc), so maybe adding that dependency doesn't matter too much. Ideally, Arch Linux would just package the nftables so separately so that apps which link against it don't have to `depend` on the full set of nftables tools, etc...

Anyways, I hope that the next release of dnsmasq can be built with this option enabled, since it's really useful!
This task depends upon

Closed by  Christian Hesse (eworm)
Sunday, 30 October 2022, 07:51 GMT
Reason for closing:  Implemented
Additional comments about closing:  dnsmasq 2.87-3
Comment by Nullizer (nullizer) - Sunday, 30 October 2022, 04:44 GMT
It's a very useful feature. Hope it include by default.

Loading...