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