tailscale/wgengine/magicsock
James Tucker 6e334e64a1 net/netcheck,wgengine/magicsock: align DERP frame receive time heuristics
The netcheck package and the magicksock package coordinate via the
health package, but both sides have time based heuristics through
indirect dependencies. These were misaligned, so the implemented
heuristic aimed at reducing DERP moves while there is active traffic
were non-operational about 3/5ths of the time.

It is problematic to setup a good test for this integration presently,
so instead I added comment breadcrumbs along with the initial fix.

Updates #8603

Signed-off-by: James Tucker <james@tailscale.com>
2024-04-05 13:04:42 -07:00
..
batching_conn.go wgengine/magicsock: improve don't fragment bit set/get support 2023-09-21 04:17:12 -07:00
blockforever_conn.go wgengine/magicsock: improve don't fragment bit set/get support 2023-09-21 04:17:12 -07:00
debughttp.go all: remove LenIter, use Go 1.22 range-over-int instead 2024-02-25 12:29:45 -08:00
debugknobs.go all: cleanup unused code, part 2 (#10670) 2023-12-21 17:40:03 -08:00
debugknobs_stubs.go wgengine/magicsock: replace CanPMTUD() with ShouldPMTUD() 2023-09-21 04:17:12 -07:00
derp.go net/netcheck,wgengine/magicsock: align DERP frame receive time heuristics 2024-04-05 13:04:42 -07:00
derp_test.go net/netcheck,wgengine/magicsock: align DERP frame receive time heuristics 2024-04-05 13:04:42 -07:00
discopingpurpose_string.go wgengine/magicsock: implement probing of UDP path lifetime (#10844) 2024-01-23 09:37:32 -08:00
endpoint.go wgengine/magicsock: prefer link-local addresses to private ones 2024-03-05 20:32:45 -05:00
endpoint_default.go all: adjust some build tags for plan9 2023-08-24 15:42:35 -07:00
endpoint_stub.go all: adjust some build tags for plan9 2023-08-24 15:42:35 -07:00
endpoint_test.go wgengine/magicsock: implement probing of UDP path lifetime (#10844) 2024-01-23 09:37:32 -08:00
endpoint_tracker.go wgengine/magicsock: only cache N most recent endpoints per-Addr 2023-08-15 14:06:42 -07:00
endpoint_tracker_test.go wgengine/magicsock: only cache N most recent endpoints per-Addr 2023-08-15 14:06:42 -07:00
magicsock.go tailcfg, ipn/ipnlocal, wgengine/magicsock: add only-tcp-443 node attr 2024-03-25 08:48:25 -07:00
magicsock_default.go wgengine/magicsock: delete unused stuff 2023-07-26 11:44:41 -07:00
magicsock_linux.go wgengine/magicsock: simplify tryEnableUDPOffload() (#9872) 2023-10-18 18:50:40 -07:00
magicsock_test.go wgengine/magicsock: don't change DERP home when not connected to control 2024-03-08 14:15:13 -05:00
magicsock_unix_test.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
peermap.go wgengine/magicsock: make peerMap also keyed by NodeID 2023-09-11 12:43:47 -07:00
peermtu.go magicsock: mute noisy expected peer mtu related error (#10870) 2024-01-19 20:04:22 -05:00
peermtu_darwin.go wgengine/magicsock: improve don't fragment bit set/get support 2023-09-21 04:17:12 -07:00
peermtu_linux.go wgengine/magicsock: improve don't fragment bit set/get support 2023-09-21 04:17:12 -07:00
peermtu_stubs.go magicsock: mute noisy expected peer mtu related error (#10870) 2024-01-19 20:04:22 -05:00
peermtu_unix.go wgengine/magicsock: replace CanPMTUD() with ShouldPMTUD() 2023-09-21 04:17:12 -07:00
rebinding_conn.go wgengine/magicsock: improve don't fragment bit set/get support 2023-09-21 04:17:12 -07:00