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
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
..
ipnauth all: update copyright and license headers 1 year ago
ipnlocal ipn/ipnlocal, wgengine/magicsock: move UpdateStatus stuff around 10 months ago
ipnserver logpolicy, various: allow overriding log function 12 months ago
ipnstate ipn/ipnstate: add PeerStatus.AltSharerUserID, stop mangling Node.User 10 months ago
localapi cmd/tailscale/cli, ipn/ipnlocal: [funnel] add stream mode 10 months ago
policy ipn: prefer allow/denylist terminology 1 year ago
store ipn/store/awsstore: persist state with intelligent tiering 1 year ago
backend.go all: update copyright and license headers 1 year ago
doc.go all: update copyright and license headers 1 year ago
fake_test.go all: update copyright and license headers 1 year ago
ipn_clone.go cmd/cloner: use maps.Clone and ptr.To 10 months ago
ipn_view.go cmd/viewer, types/views, all: un-special case slice of netip.Prefix 11 months ago
prefs.go cmd/viewer, types/views, all: un-special case slice of netip.Prefix 11 months ago
prefs_test.go types/persist: drop duplicated Persist.LoginName 11 months ago
serve.go ipn, ipn/ipnlocal: clean up documentation and use clock instead of time 10 months ago
serve_test.go tailscale/cli: add interactive flow for enabling Funnel 11 months ago
store.go ipn: avoid useless no-op WriteState calls 11 months ago
store_test.go ipn: avoid useless no-op WriteState calls 11 months ago