tailscale/net/interfaces
Denton Gentry 54ba6194f7 interfaces: allow IPv6 ULA as a valid address.
IPv6 Unique Local Addresses are sometimes used with Network
Prefix Translation to reach the Internet. In that respect
their use is similar to the private IPv4 address ranges
10/8, 172.16/12, and 192.168/16.

Treat them as sufficient for AnyInterfaceUp(), but specifically
exclude Tailscale's own IPv6 ULA prefix to avoid mistakenly
trying to bootstrap Tailscale using Tailscale.

This helps in supporting Google Cloud Run, where the addresses
are 169.254.8.1/32 and fddf:3978:feb1:d745::c001/128 on eth1.

Signed-off-by: Denton Gentry <dgentry@tailscale.com>
2021-03-30 12:33:53 -07:00
..
interfaces.go interfaces: allow IPv6 ULA as a valid address. 2021-03-30 12:33:53 -07:00
interfaces_darwin.go net/interfaces: rewrite the darwin likelyHomeRouterIP from C to Go 2021-03-15 13:27:36 -07:00
interfaces_darwin_test.go net/interfaces: rewrite the darwin likelyHomeRouterIP from C to Go 2021-03-15 13:27:36 -07:00
interfaces_default_route_test.go net/{interfaces,netns}: add some new tests, missed from prior commit 2021-02-14 21:18:27 -08:00
interfaces_defaultrouteif_todo.go net/interfaces: merge darwin files for DefaultRouteInterface in sandbox 2021-03-02 21:15:25 -08:00
interfaces_linux.go net/netns, net/interfaces: move defaultRouteInterface, add Android fallback 2020-08-10 13:02:47 -07:00
interfaces_linux_test.go net/netns, net/interfaces: move defaultRouteInterface, add Android fallback 2020-08-10 13:02:47 -07:00
interfaces_test.go interfaces: allow IPv6 ULA as a valid address. 2021-03-30 12:33:53 -07:00
interfaces_windows.go net/interfaces: use windows API to get the default route instead of parsing `route print` output 2021-03-19 14:07:36 +01:00
interfaces_windows_test.go net/interfaces: quiet PAC detection logging in no-PAC case, add benchmark 2020-10-01 22:02:39 -07:00
route.h net/interfaces: use syscalls to find private gateway IP address 2020-08-04 15:45:56 -07:00