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
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>
1 year ago
..
batching_conn.go wgengine/magicsock: factor out more separable parts 1 year ago
blockforever_conn.go wgengine/magicsock: factor out more separable parts 1 year ago
debughttp.go types/netmap, all: use read-only tailcfg.NodeView in NetworkMap 1 year ago
debugknobs.go magicsock: set the don't fragment sockopt (#8715) 1 year ago
debugknobs_stubs.go magicsock: set the don't fragment sockopt (#8715) 1 year ago
derp.go wgengine/magicsock: improve endpoint selection for WireGuard peers with rx time 1 year ago
discopingpurpose_string.go all: update copyright and license headers 2 years ago
dontfrag_darwin.go magicsock: set the don't fragment sockopt (#8715) 1 year ago
dontfrag_default.go magicsock: set the don't fragment sockopt (#8715) 1 year ago
dontfrag_linux.go magicsock: set the don't fragment sockopt (#8715) 1 year ago
endpoint.go wgengine/magicsock: improve endpoint selection for WireGuard peers with rx time 1 year ago
endpoint_default.go wgengine/magicsock: clear out endpoint statistics when it becomes bad 1 year ago
endpoint_js.go wgengine/magicsock: clear out endpoint statistics when it becomes bad 1 year ago
endpoint_tracker.go wgengine/magicsock: only cache N most recent endpoints per-Addr 1 year ago
endpoint_tracker_test.go wgengine/magicsock: only cache N most recent endpoints per-Addr 1 year ago
magicsock.go ipn/ipnlocal, wgengine/magicsock: move UpdateStatus stuff around 1 year ago
magicsock_default.go wgengine/magicsock: delete unused stuff 1 year ago
magicsock_linux.go wgengine/magicsock: clarify a log message is a warning, not an error 1 year ago
magicsock_test.go ipn/ipnlocal, wgengine/magicsock: move UpdateStatus stuff around 1 year ago
magicsock_unix_test.go all: update copyright and license headers 2 years ago
peermap.go wgengine/magicsock: factor out peerMap into separate file 1 year ago
rebinding_conn.go wgengine/magicsock: factor out more separable parts 1 year ago