Bill Sommerfeld
2024-01-25 927d03bfc81a53d599ef8ca1b3193b9d84d251fc
refs
author Bill Sommerfeld <sommerfeld@hamachi.org>
Thursday, January 25, 2024 08:35 +0100
committer GitHub <noreply@github.com>
Thursday, January 25, 2024 08:35 +0100
commit927d03bfc81a53d599ef8ca1b3193b9d84d251fc
tree 402ff2b2961747aee60c159d409ec062e08c6e6a tree | zip | gz
parent caa3c2d6f0338d9cbf178c2e1c37b6271d49f31c view | diff
bind: fix link-local addresses scoped with interface names

If bind's configure can't find if_nametoindex(), it only lets you use
numeric interface ids (fe80::1%5) instead of interface names
(fe80::1%wan0) to scope link-local addresses. At the suggestion of
Alan Coopersmith, update configure.ac to search for if_nametoindex in
libsocket.

Also along for the ride, to fix tests:

1) unexport SHELLOPTS to avoid libtool wrapper failures

2) Clear LD_B_DIRECT; direct binding of bind's shared libraries breaks several
of the self tests.

3) Fix how we set the timezone to GMT in one of the tests.

4) When adding test ipv4 addresses to lo0, use a /32 prefix len so that
it doesn't default to a /8.
3 files added
2 files modified
249 ■■■■■ changed files
components/network/bind/Makefile 12 ●●●●● diff | view | raw | blame | history
components/network/bind/patches/03-fix-netmask.patch 11 ●●●●● diff | view | raw | blame | history
components/network/bind/patches/04-fix-update-test.patch 11 ●●●●● diff | view | raw | blame | history
components/network/bind/patches/05-if-nametoindex.patch 10 ●●●●● diff | view | raw | blame | history
components/network/bind/test/results-all.master 205 ●●●● diff | view | raw | blame | history