tailscale/net
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
..
dns Move DNS flush logic to net/dns. 2021-03-25 17:40:52 -07:00
dnscache control/controlclient, net/{dnscache,dnsfallback}: add DNS fallback mechanism 2021-03-01 18:42:03 -08:00
dnsfallback net/dnsfallback: fix infinite loop and limit number of candidates 2021-03-04 19:19:40 -08:00
flowtrack net/packet, wgengine/filter: support SCTP 2021-03-20 21:34:13 -07:00
interfaces interfaces: allow IPv6 ULA as a valid address. 2021-03-30 12:33:53 -07:00
netcheck net/netcheck: add a few more STUN retries for prior DERP home 2021-03-12 11:46:08 -08:00
netns net/{interfaces,netns}: add some new tests, missed from prior commit 2021-02-14 21:18:27 -08:00
netstat net/netstat: remove a bit more unsafe 2020-11-17 13:49:24 -08:00
nettest net/nettest: de-flake tests on Windows 2021-01-15 18:21:56 -08:00
packet net/{packet,tstun}: send peerapi port in TSMP pongs 2021-03-29 15:18:23 -07:00
portmapper net/portmapper: silently handle PCP NOT_AUTHORIZED responses. 2021-03-17 19:44:35 -07:00
socks5 cmd/tailscaled, wgengine: remove --fake, replace with netstack 2021-03-01 11:09:19 -08:00
stun tstest/natlab: use net.ErrClosed instead of a new error 2021-02-05 13:44:46 -08:00
tlsdial net/tlsdial, derp/derphttp: finish DERPNode.CertName validation 2020-06-01 09:01:37 -07:00
tsaddr net/tsaddr: IsUla() for IPv6 Unique Local Address 2021-03-30 12:33:53 -07:00
tshttpproxy net/tshttpproxy: call winhttp calls from a fixed OS thread 2021-03-03 19:16:04 -08:00
tstun net/{packet,tstun}: send peerapi port in TSMP pongs 2021-03-29 15:18:23 -07:00