tailscale/wgengine/magicsock
Brad Fitzpatrick ea4425d8a9 ipn/ipnlocal, wgengine/magicsock: move UpdateStatus stuff around
Upcoming work on incremental netmap change handling will require some
replumbing of which subsystems get notified about what. Done naively,
it could break "tailscale status --json" visibility later. To make sure
I understood the flow of all the updates I was rereading the status code
and realized parts of ipnstate.Status were being populated by the wrong
subsystems.

The engine (wireguard) and magicsock (data plane, NAT traveral) should
only populate the stuff that they uniquely know. The WireGuard bits
were fine but magicsock was populating stuff stuff that LocalBackend
could've better handled, so move it there.

Updates #1909

Change-Id: I6d1b95d19a2d1b70fbb3c875fac8ea1e169e8cb0
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
2023-08-23 13:35:47 -07:00
..
batching_conn.go wgengine/magicsock: factor out more separable parts 2023-07-26 14:39:43 -07:00
blockforever_conn.go wgengine/magicsock: factor out more separable parts 2023-07-26 14:39:43 -07:00
debughttp.go types/netmap, all: use read-only tailcfg.NodeView in NetworkMap 2023-08-18 20:04:35 -07:00
debugknobs_stubs.go magicsock: set the don't fragment sockopt (#8715) 2023-08-11 09:34:51 +01:00
debugknobs.go magicsock: set the don't fragment sockopt (#8715) 2023-08-11 09:34:51 +01:00
derp.go wgengine/magicsock: improve endpoint selection for WireGuard peers with rx time 2023-08-22 15:39:08 -07:00
discopingpurpose_string.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
dontfrag_darwin.go magicsock: set the don't fragment sockopt (#8715) 2023-08-11 09:34:51 +01:00
dontfrag_default.go magicsock: set the don't fragment sockopt (#8715) 2023-08-11 09:34:51 +01:00
dontfrag_linux.go magicsock: set the don't fragment sockopt (#8715) 2023-08-11 09:34:51 +01:00
endpoint_default.go wgengine/magicsock: clear out endpoint statistics when it becomes bad 2023-08-22 15:22:50 -07:00
endpoint_js.go wgengine/magicsock: clear out endpoint statistics when it becomes bad 2023-08-22 15:22:50 -07:00
endpoint_tracker_test.go wgengine/magicsock: only cache N most recent endpoints per-Addr 2023-08-15 14:06:42 -07:00
endpoint_tracker.go wgengine/magicsock: only cache N most recent endpoints per-Addr 2023-08-15 14:06:42 -07:00
endpoint.go wgengine/magicsock: improve endpoint selection for WireGuard peers with rx time 2023-08-22 15:39:08 -07:00
magicsock_default.go wgengine/magicsock: delete unused stuff 2023-07-26 11:44:41 -07:00
magicsock_linux.go wgengine/magicsock: clarify a log message is a warning, not an error 2023-06-22 08:16:41 -07:00
magicsock_test.go ipn/ipnlocal, wgengine/magicsock: move UpdateStatus stuff around 2023-08-23 13:35:47 -07:00
magicsock_unix_test.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
magicsock.go ipn/ipnlocal, wgengine/magicsock: move UpdateStatus stuff around 2023-08-23 13:35:47 -07:00
peermap.go wgengine/magicsock: factor out peerMap into separate file 2023-07-26 13:39:57 -07:00
rebinding_conn.go wgengine/magicsock: factor out more separable parts 2023-07-26 14:39:43 -07:00