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/control/controlclient
Brad Fitzpatrick 75a03fc719 wgengine/magicsock: use learned DERP route as send path of last resort
If we get a packet in over some DERP and don't otherwise know how to
reply (no known DERP home or UDP endpoint), this makes us use the
DERP connection on which we received the packet to reply. This will
almost always be our own home DERP region.

This is particularly useful for large one-way nodes (such as
hello.ts.net) that don't actively reach out to other nodes, so don't
need to be told the DERP home of peers. They can instead learn the
DERP home upon getting the first connection.

This can also help nodes from a slow or misbehaving control plane.

Updates tailscale/corp#26438

Change-Id: I6241ec92828bf45982e0eb83ad5c7404df5968bc
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
9 months ago
..
auto.go control/controlclient: flesh out a recently added comment 10 months ago
client.go control/controlclient: delete unused Client.Login Oauth2Token field 2 years ago
controlclient_test.go control/controlclient: skip SetControlClientStatus when queue has newer results later 10 months ago
direct.go wgengine/magicsock: use learned DERP route as send path of last resort 9 months ago
direct_test.go tka: test SigCredential signatures and netmap filtering 1 year ago
map.go wgengine/magicsock: use learned DERP route as send path of last resort 9 months ago
map_test.go tailcfg,control/controlclient: treat nil AllowedIPs as Addresses [capver 112] 11 months ago
noise.go controlclient: do not set HTTPS port for any private coordination server IP (#14564) 11 months ago
noise_test.go controlclient: do not set HTTPS port for any private coordination server IP (#14564) 11 months ago
sign.go all: update copyright and license headers 3 years ago
sign_supported.go control/controlclient: use the most recent syspolicy.MachineCertificateSubject value 1 year ago
sign_supported_test.go all: update copyright and license headers 3 years ago
sign_unsupported.go control/controlclient: support certstore without cgo 2 years ago
status.go all: implement AppendText alongside MarshalText (#9207) 2 years ago