immortalwrt/package/network
Kevin Darbyshire-Bryant 3c6da45018
dnsmasq: Enable dnsmasqs new nftables support
Add build option for nftables sets.

Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>

dnsmasq: nftset: serve from ipset config

Use existing ipset configs as source for nftsets to be compatible with
existing configs. As the OS can either have iptables XOR nftables
support, it's fine to provide both to dnsmasq. dnsmasq will silently
fail for the present one. Depending on the dnsmasq compile time options,
the ipsets or nftsets option will not be added to the dnsmasq config
file.

dnsmasq will try to add the IP addresses to all sets, regardless of the
IP version defined for the set. Adding an IPv6 to an IPv4 set and vice
versa will silently fail.

Signed-off-by: Mathias Kresin <dev@kresin.me>
(cherry picked from commit 7d098b04b8cbec946428fb85ad8e7ff21f256bfd)
2022-09-04 12:48:59 +08:00
..
config Merge Official Source 2022-09-03 17:00:03 +08:00
ipv6 odhcp6c: update to git HEAD 2022-08-05 18:31:24 +02:00
services dnsmasq: Enable dnsmasqs new nftables support 2022-09-04 12:48:59 +08:00
utils Merge Official Source 2022-08-31 09:07:21 +08:00