Your message dated Sun, 12 Apr 2020 15:48:56 +0000 with message-id <[email protected]> and subject line Bug#949565: fixed in dnsmasq 2.81-1 has caused the Debian Bug report #949565, regarding IPv6 Router Advertisement: skip interfaces by no-dhcp-interface to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [email protected] immediately.) -- 949565: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=949565 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: dnsmasq Version: 2.80-1 Severity: normal Tags: ipv6 patch upstream Hello, Situation: My ISP doesn't offer IPv6 prefix delegation and just gives /64 IPv6 address. I configure my router with ndppd (NDP Proxy Daemon), running dnsmasq for internal network. It mostly works, but I observed no periodical IPv6 Router Advertisement (only reply to Router Solicitation) to internal network. With a line in dnsmasq.conf: no-dhcp-interface=<external_interface_with_same_ipv6_net> interface=<internal_interface_with_ipv6_net> I expected dnsmasq does IPv6 Router Advertisement, even though these interfaces share same IPv6 network address. It does for Router Solicitation request, but no periodical ones. I think I found a problem in src/radv.c. When an interface is searched, it doesn't skip interfaces with no-dhcp-interface, so, invalid interface may be identified. (Note that in the periodic_ra function, there is code to skip the interface _after_ interface is identified.) When I applied following patch, I started to observe IPv6 Router Advertisement in internal network. I'm not sure if this patch is correct, or good one. This is for sharing the problem. diff --git a/src/radv.c b/src/radv.c index cad0530..82f9603 100644 --- a/src/radv.c +++ b/src/radv.c @@ -917,6 +917,17 @@ static int iface_search(struct in6_addr *local, int prefix, param->iface = 0; return 0; } + + { + struct iname *tmp; + for (tmp = daemon->dhcp_except; tmp; tmp = tmp->next) + if (tmp->name && wildcard_match(tmp->name, param->name)) + break; + + /* Skip this interface. */ + if (tmp) + return 1; + } new_timeout(context, param->name, param->now); -- System Information: Debian Release: 10.2 APT prefers stable APT policy: (990, 'stable'), (500, 'stable-debug'), (500, 'unstable'), (500, 'oldstable') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.19.0-6-amd64 (SMP w/4 CPU cores) Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE=C (charmap=UTF-8) Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages dnsmasq depends on: ii dnsmasq-base [dnsmasq-base] 2.80-1 ii init-system-helpers 1.56+nmu1 ii lsb-base 10.2019051400 ii netbase 5.6 dnsmasq recommends no packages. Versions of packages dnsmasq suggests: pn resolvconf <none> -- Configuration Files: /etc/default/dnsmasq changed [not included] -- no debconf information
--- End Message ---
--- Begin Message ---Source: dnsmasq Source-Version: 2.81-1 Done: Simon Kelley <[email protected]> We believe that the bug you reported is fixed in the latest version of dnsmasq, which is due to be installed in the Debian FTP archive. A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to [email protected], and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Simon Kelley <[email protected]> (supplier of updated dnsmasq package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing [email protected]) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Format: 1.8 Date: Wed, 8 Apr 2020 17:33:15 +0000 Source: dnsmasq Binary: dnsmasq dnsmasq-base dnsmasq-base-lua dnsmasq-utils Architecture: source amd64 all Version: 2.81-1 Distribution: unstable Urgency: low Maintainer: Simon Kelley <[email protected]> Changed-By: Simon Kelley <[email protected]> Description: dnsmasq - Small caching DNS proxy and DHCP/TFTP server dnsmasq-base - Small caching DNS proxy and DHCP/TFTP server dnsmasq-base-lua - Small caching DNS proxy and DHCP/TFTP server dnsmasq-utils - Utilities for manipulating DHCP leases Closes: 914305 914755 920224 922422 922758 929884 932695 940985 942363 948373 949565 Changes: dnsmasq (2.81-1) unstable; urgency=low . * New upstream. * Fix nodocs/nodoc confusion in rules. (closes: #922758) * Add Vcs-* fields to control. (closes: #922422) * Add systemd support for multiple daemon instances. (closes: #914305) * Add note explaining that ENABLED is SYSV-init only. (closes: #914755) * Replace ash with dash in contrib/reverse-dns. (closes: #920224) * Move to libidn2. (closes: #932695) * Fix RA problem with two interfaces on same net, but RA service on only one of the interfaces. (closes: #949565) * Fix breakage of dig +trace. (closes: #942363) * Fix build faliure with newer Nettle libraries. (closes: #940985) * Support runscript init-system (closes: #929884) * Security fix for CVE-2019-14834 (closes: #948373) Checksums-Sha1: c824dc44c26d21c3e512540a89ffc45bbf7c44d8 2153 dnsmasq_2.81-1.dsc b319c0522d463a866102b4283ed5e41cbf20003b 734661 dnsmasq_2.81.orig.tar.gz 98ce68cef50936943685abe6703bd64fd04f77f9 26111 dnsmasq_2.81-1.diff.gz 4e7ffdacc4d11c279e174a96730379a11aa46011 450992 dnsmasq-base-lua_2.81-1_amd64.deb b752a81cfa34de9586db8279171d3e4c0e536741 449256 dnsmasq-base_2.81-1_amd64.deb 3c411fcd0c2260988a61c05b1bc47113a694c08b 24580 dnsmasq-utils_2.81-1_amd64.deb c77837b0ca88276b3abad7c293290be47968cbd1 31460 dnsmasq_2.81-1_all.deb c6864af5b72b9574a9c36a92fbc64e9013c0d6cd 7839 dnsmasq_2.81-1_amd64.buildinfo Checksums-Sha256: fe8bb2849b1abd336ec4290888712cff0f74ee07ebc539ce904b1d1ffb9c924a 2153 dnsmasq_2.81-1.dsc b489c8b6a85286fe4e5c723b7d35c6b138b1a7506c0cb78723d0ed0c48a27013 734661 dnsmasq_2.81.orig.tar.gz f6a6fe6e3d3fe5b495f2708a646020d22ace55f7101d6c73a7c95349db579ce1 26111 dnsmasq_2.81-1.diff.gz 74bb7eaa8f2756fd4940d2da8b70900f05febce48135d8b3502906a471c0957c 450992 dnsmasq-base-lua_2.81-1_amd64.deb a058a2c6811d5479d57fad6dd8731b4109e3109ed3f6c650d5c4e089e04bb255 449256 dnsmasq-base_2.81-1_amd64.deb 306be99c49e33b74dfac37706f4b9cb2b5a8164731c0612cc158ae4515b50805 24580 dnsmasq-utils_2.81-1_amd64.deb 6136a497fa228bb3a0f1265a456ca637d7969ad1d6fd7c2f8fbaaa987ca915fb 31460 dnsmasq_2.81-1_all.deb 24dc0bb2fbd2febda36ea05f592c453fe6fabc0e66afc321224a6045d7d7c5fa 7839 dnsmasq_2.81-1_amd64.buildinfo Files: fb7061669efd7215a63400e706745b9e 2153 net optional dnsmasq_2.81-1.dsc 52db125c5fdeb4f2478ed95b8dd174f4 734661 net optional dnsmasq_2.81.orig.tar.gz 92bf425bd598b17ce9a5c4ed77391ddc 26111 net optional dnsmasq_2.81-1.diff.gz b081d432f70763216e7a7e0f31776ef7 450992 net optional dnsmasq-base-lua_2.81-1_amd64.deb e3ee824aeb0c0b562f53bce6fb89420e 449256 net optional dnsmasq-base_2.81-1_amd64.deb 6131af8bc3da1d997196d3cdc46790c4 24580 net optional dnsmasq-utils_2.81-1_amd64.deb 59d18ce60c819972378c3e75a07a5242 31460 net optional dnsmasq_2.81-1_all.deb 4cbd388bda9a86158ccfccc8ab2aca80 7839 net optional dnsmasq_2.81-1_amd64.buildinfo -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEE1urL1u5GuDQkjRESFc3aauGRNaIFAl6TMh0ACgkQFc3aauGR NaLtvg/8DFd61edG2I0Sn7G5KWBc25HJI+7IKhYuETK1BFbk+4HsBZHa/MTyjIzp MKjWBRabwY2iNhJ7VUUg6RL8Qlq92PLGFbxHyaNdiPRZGaktpL7B5rje286KEZw6 SiNKMfW+O8PwzVbGjC4q5AtqOV3VgwvigilQIEVAPBSebiUyhfNJtYmb0hNtiY5m LzYWnjgO/8ZYXzkDiCtUQ0cmxPM3FF166t2wznLpNxxkOIfkBaQSY59cWITmR1h6 z8pOb+ZQcLda2s4Bt7YY4RqdqWTgP+Umzz84R4fMZunhkexeg2VWklyzdg52Z6LT wfncx2HtfUv3wXAQs0N5gK1eEZfyann46Rhr4FlrXedWY/j9o/iA3seB8L+o7gg1 yjQOMUELnGNFfhuTF7Ncq2gP5184ey7Sz8KSA1vlpx/+iNzi59GiLoOFFgF7q0bG 6GgxHmLLoGJzPs4nStZt+i8Cl67FQgiNhXFJVTBQz+LLuUQ2IbSgv8X5u7iU8wBj HzmCwR9d7joIkE0mldGCixSyQ9boo07yB8CpMNuzMttskGvTtJ/FSt/jul0u6kwW 0ynV2kceRF8l5XgWRpZvowww5MZSSd9nD3a/NPrYfp7BM0TdSrflAebZ5ddEyhVF Pjsi7e3tovobYfI1jPQBISyZk2S5CqxgoFodX657TXGv/rXrmBE= =2WYM -----END PGP SIGNATURE-----
--- End Message ---

