You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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>
5 years ago
..
interfaces.go interfaces: allow IPv6 ULA as a valid address. 5 years ago
interfaces_darwin.go net/interfaces: rewrite the darwin likelyHomeRouterIP from C to Go 5 years ago
interfaces_darwin_test.go net/interfaces: rewrite the darwin likelyHomeRouterIP from C to Go 5 years ago
interfaces_default_route_test.go net/{interfaces,netns}: add some new tests, missed from prior commit 5 years ago
interfaces_defaultrouteif_todo.go net/interfaces: merge darwin files for DefaultRouteInterface in sandbox 5 years ago
interfaces_linux.go net/netns, net/interfaces: move defaultRouteInterface, add Android fallback 6 years ago
interfaces_linux_test.go net/netns, net/interfaces: move defaultRouteInterface, add Android fallback 6 years ago
interfaces_test.go interfaces: allow IPv6 ULA as a valid address. 5 years ago
interfaces_windows.go net/interfaces: use windows API to get the default route instead of parsing `route print` output 5 years ago
interfaces_windows_test.go net/interfaces: quiet PAC detection logging in no-PAC case, add benchmark 5 years ago
route.h net/interfaces: use syscalls to find private gateway IP address 6 years ago