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/ipn/ipnlocal
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
..
testdata
breaktcp_darwin.go
breaktcp_linux.go
c2n.go
c2n_pprof.go
cert.go
cert_js.go
cert_test.go
dnsconfig_test.go
expiry.go
expiry_test.go
local.go ipn/ipnlocal, wgengine/magicsock: move UpdateStatus stuff around 1 year ago
local_test.go
loglines_test.go
network-lock.go
network-lock_test.go
peerapi.go
peerapi_h2c.go
peerapi_macios_ext.go
peerapi_test.go
profiles.go
profiles_notwindows.go
profiles_test.go
profiles_windows.go
serve.go
serve_test.go
ssh.go
ssh_stub.go
ssh_test.go
state_test.go