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/tstest/integration
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
..
nat wgengine/magicsock: use learned DERP route as send path of last resort 9 months ago
testcontrol all: add Node.HomeDERP int, phase out "127.3.3.40:$region" hack [capver 111] 11 months ago
vms all: fix new lint warnings from bumping staticcheck 1 year ago
gen_deps.go all: update tools that manage copyright headers 3 years ago
integration.go vnet: add control/derps to test, stateful firewall 1 year ago
integration_test.go all: use new LocalAPI client package location 10 months ago
tailscaled_deps_test_darwin.go all: use new LocalAPI client package location 10 months ago
tailscaled_deps_test_freebsd.go all: use new LocalAPI client package location 10 months ago
tailscaled_deps_test_linux.go all: use new LocalAPI client package location 10 months ago
tailscaled_deps_test_openbsd.go all: use new LocalAPI client package location 10 months ago
tailscaled_deps_test_windows.go various: keep tailscale connected when Always On mode is enabled on Windows 10 months ago