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
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>
9 months ago
..
bench types/netmap, all: use read-only tailcfg.NodeView in NetworkMap 10 months ago
capture various: add golangci-lint, fix issues (#7905) 1 year ago
filter all: import x/exp/maps as xmaps to distinguish from Go 1.21 "maps" 10 months ago
magicsock ipn/ipnlocal, wgengine/magicsock: move UpdateStatus stuff around 9 months ago
netlog wgengine/netlog: fix nil pointer dereference in logtail (#8598) 11 months ago
netstack types/netmap, all: make NetworkMap.SelfNode a tailcfg.NodeView 10 months ago
router wgengine/router: fall back and set iptables as default again 10 months ago
wgcfg types/netmap, all: make NetworkMap.SelfNode a tailcfg.NodeView 10 months ago
wgint all: update copyright and license headers 1 year ago
wglog all: update copyright and license headers 1 year ago
winnet all: update copyright and license headers 1 year ago
mem_ios.go all: update copyright and license headers 1 year ago
pendopen.go types/netmap, all: use read-only tailcfg.NodeView in NetworkMap 10 months ago
userspace.go net/netmon: make ChangeFunc's signature take new ChangeDelta, not bool 9 months ago
userspace_ext_test.go tsd: add package with System type to unify subsystem init, discovery 1 year ago
userspace_test.go types/netmap, all: use read-only tailcfg.NodeView in NetworkMap 10 months ago
watchdog.go all: remove some Debug fields, NetworkMap.Debug, Reconfig Debug arg 10 months ago
watchdog_js.go all: update copyright and license headers 1 year ago
watchdog_test.go all: update copyright and license headers 1 year ago
wgengine.go types/netmap, all: use read-only tailcfg.NodeView in NetworkMap 10 months ago