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/wgengine/magicsock
Andrew Dunham 727acf96a6 net/netcheck: use DERP frames as a signal for home region liveness
This uses the fact that we've received a frame from a given DERP region
within a certain time as a signal that the region is stil present (and
thus can still be a node's PreferredDERP / home region) even if we don't
get a STUN response from that region during a netcheck.

This should help avoid DERP flaps that occur due to losing STUN probes
while still having a valid and active TCP connection to the DERP server.

RELNOTE=Reduce home DERP flapping when there's still an active connection

Updates #8603

Signed-off-by: Andrew Dunham <andrew@du.nham.ca>
Change-Id: If7da6312581e1d434d5c0811697319c621e187a0
2 years ago
..
batching_conn.go wgengine/magicsock: improve don't fragment bit set/get support 2 years ago
blockforever_conn.go wgengine/magicsock: improve don't fragment bit set/get support 2 years ago
debughttp.go wgengine/magicsock: stop retaining *netmap.NetworkMap 2 years ago
debugknobs.go wgengine/magicsock: replace CanPMTUD() with ShouldPMTUD() 2 years ago
debugknobs_stubs.go wgengine/magicsock: replace CanPMTUD() with ShouldPMTUD() 2 years ago
derp.go health: don't report a warning in DERP homeless mode 2 years ago
discopingpurpose_string.go all: update copyright and license headers 3 years ago
endpoint.go wgengine/magicsock: move trustBestAddrUntil forward on non-disco rx (#10274) 2 years ago
endpoint_default.go all: adjust some build tags for plan9 2 years ago
endpoint_stub.go all: adjust some build tags for plan9 2 years ago
endpoint_tracker.go wgengine/magicsock: only cache N most recent endpoints per-Addr 2 years ago
endpoint_tracker_test.go wgengine/magicsock: only cache N most recent endpoints per-Addr 2 years ago
magicsock.go net/netcheck: use DERP frames as a signal for home region liveness 2 years ago
magicsock_default.go wgengine/magicsock: delete unused stuff 2 years ago
magicsock_linux.go wgengine/magicsock: simplify tryEnableUDPOffload() (#9872) 2 years ago
magicsock_test.go cmd/tailscaled,net/tstun: fix data race on start-up in TUN mode 2 years ago
magicsock_unix_test.go all: update copyright and license headers 3 years ago
peermap.go wgengine/magicsock: make peerMap also keyed by NodeID 2 years ago
peermtu.go disco,net/tstun,wgengine/magicsock: probe peer MTU 2 years ago
peermtu_darwin.go wgengine/magicsock: improve don't fragment bit set/get support 2 years ago
peermtu_linux.go wgengine/magicsock: improve don't fragment bit set/get support 2 years ago
peermtu_stubs.go wgengine/magicsock: replace CanPMTUD() with ShouldPMTUD() 2 years ago
peermtu_unix.go wgengine/magicsock: replace CanPMTUD() with ShouldPMTUD() 2 years ago
rebinding_conn.go wgengine/magicsock: improve don't fragment bit set/get support 2 years ago