tailscale/cmd/tailscaled
Denton Gentry ad288baaea net/interfaces: use IPv4 link local if nothing better
The only connectivity an AWS Lambda container has is an IPv4 link-local
169.254.x.x address using NAT:
12: vtarget_1@if11: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500
                    qdisc noqueue state UP group default qlen 1000
     link/ether 7e:1c:3f:00:00:00 brd ff:ff:ff:ff:ff:ff link-netnsid 1
     inet 169.254.79.1/32 scope global vtarget_1
     valid_lft forever preferred_lft forever

If there are no other IPv4/v6 addresses available, and we are running
in AWS Lambda, allow IPv4 169.254.x.x addresses to be used.

----

Similarly, a Google Cloud Run container's only connectivity is
a Unique Local Address fddf:3978:feb1:d745::c001/128.
If there are no other addresses available then allow IPv6
Unique Local Addresses to be used.
We actually did this in an earlier release, but now refactor it to
work the same way as the IPv4 link-local support is being done.

Signed-off-by: Denton Gentry <dgentry@tailscale.com>
2021-06-18 21:52:47 -07:00
..
debug.go Revert "cmd/tailscaled: split package main into main shim + package" 2021-03-25 09:06:00 -07:00
depaware.txt net/interfaces: use IPv4 link local if nothing better 2021-06-18 21:52:47 -07:00
install_darwin.go cmd/tailscaled: remove tailscaled binary on uninstall-system-daemon 2021-03-31 15:44:04 -07:00
install_windows.go ipn/ipnlocal: add file sharing to windows shell 2021-04-23 13:32:33 -07:00
tailscaled_notwindows.go Revert "cmd/tailscaled: split package main into main shim + package" 2021-03-25 09:06:00 -07:00
tailscaled_windows.go cmd/tailscaled: use the wf package instead of wireguard-windows/firewall 2021-05-17 13:07:25 -07:00
tailscaled.defaults cmd/tailscaled: rename relaynode reference in defaults file comment 2020-03-13 14:38:04 -07:00
tailscaled.go all: adapt to opaque netaddr types 2021-05-16 14:52:00 -07:00
tailscaled.openrc tstest/integration: test Alpine Linux (#2098) 2021-06-11 09:20:13 -04:00
tailscaled.service cmd/tailscaled: start after NetworkManager and systemd-resolved. 2021-06-15 14:25:44 -07:00