diff options
| author | Andrew Dunham <andrew@du.nham.ca> | 2023-12-08 15:03:15 -0500 |
|---|---|---|
| committer | Andrew Dunham <andrew@du.nham.ca> | 2023-12-13 16:33:46 -0500 |
| commit | 727acf96a6864493d1741c78d06662739b139ec2 (patch) | |
| tree | f6226c3337f98c7caa78e6192df5420b7876f089 /control/controlknobs | |
| parent | bac48904679b27684092d6cae9f64288fb01e74b (diff) | |
| download | tailscale-727acf96a6864493d1741c78d06662739b139ec2.tar.xz tailscale-727acf96a6864493d1741c78d06662739b139ec2.zip | |
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
Diffstat (limited to 'control/controlknobs')
0 files changed, 0 insertions, 0 deletions
