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>
2025-03-07 05:37:24 -08:00
..
nat wgengine/magicsock: use learned DERP route as send path of last resort 2025-03-07 05:37:24 -08:00
testcontrol all: add Node.HomeDERP int, phase out "127.3.3.40:$region" hack [capver 111] 2025-01-14 12:27:14 -08:00
vms all: fix new lint warnings from bumping staticcheck 2024-08-22 12:31:08 -07:00
gen_deps.go all: update tools that manage copyright headers 2023-01-27 15:36:29 -08:00
integration_test.go all: use new LocalAPI client package location 2025-02-05 14:41:42 -08:00
integration.go vnet: add control/derps to test, stateful firewall 2024-08-09 09:06:54 -07:00
tailscaled_deps_test_darwin.go all: use new LocalAPI client package location 2025-02-05 14:41:42 -08:00
tailscaled_deps_test_freebsd.go all: use new LocalAPI client package location 2025-02-05 14:41:42 -08:00
tailscaled_deps_test_linux.go all: use new LocalAPI client package location 2025-02-05 14:41:42 -08:00
tailscaled_deps_test_openbsd.go all: use new LocalAPI client package location 2025-02-05 14:41:42 -08:00
tailscaled_deps_test_windows.go various: keep tailscale connected when Always On mode is enabled on Windows 2025-02-14 16:40:54 -06:00