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