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
Jonathan Nobels 80f5a00e76
ipn/local: add the suggested exit node to the ipn bus (#16748)
fixes tailscale/corp#26369

The suggested exit node is currently only calculated during a localAPI request.
For older UIs, this wasn't a bad choice - we could just fetch it on-demand when a menu
presented itself.  For newer incarnations however, this is an always-visible field
that needs to react to changes in the suggested exit node's value.

This change recalculates the suggested exit node ID on netmap updates and
broadcasts it on the IPN bus.   The localAPI version of this remains intact for the
time being.

Signed-off-by: Jonathan Nobels <jonathan@tailscale.com>
5 months ago
..
auditlog ipn/ipnext: remove some interface indirection to add hooks 9 months ago
conffile ipn/conffile: don't depend on hujson on iOS/Android 1 year ago
desktop ipn/ipnext: remove some interface indirection to add hooks 9 months ago
ipnauth ipn/{ipnauth,ipnlocal,localapi}: make EditPrefs return an error if changing exit node is restricted by policy 7 months ago
ipnext ipn/ipnlocal: make GetExt work earlier, before extension init 8 months ago
ipnlocal ipn/local: add the suggested exit node to the ipn bus (#16748) 5 months ago
ipnserver ipn/localapi: plumb an event bus through the localapi.Handler (#16892) 5 months ago
ipnstate cmd/tailscale, ipn/ipnstate, wgengine/magicsock: update ping output for peer relay (#16515) 7 months ago
lapitest ipn/ipn{server,test}: extract the LocalAPI test client and server into ipntest 9 months ago
localapi ipn/localapi: make tailscale debug derp STUNOnly-aware (#16927) 5 months ago
policy ipn,tailconfig: clean up unreleased and removed app connector service 2 years ago
store ipn/store/kubestore,kube: fix cert error in admin UI (#16717) 6 months ago
backend.go ipn/local: add the suggested exit node to the ipn bus (#16748) 5 months ago
conf.go ipn: ensure that conffile is source of truth for advertised services. (#15361) 10 months ago
doc.go ipn: generate LoginProfileView and use it instead of *LoginProfile where appropriate 1 year ago
ipn_clone.go cmd/tailscale/cli,ipn,ipn/ipnlocal: add AutoExitNode preference for automatic exit node selection 7 months ago
ipn_test.go all: do not depend on the testing package 2 years ago
ipn_view.go cmd/viewer, types/views: implement support for json/v2 (#16852) 6 months ago
prefs.go ipn,tsnet: update AdvertiseTags documentation (#16931) 5 months ago
prefs_test.go ipn: move ParseAutoExitNodeID from ipn/ipnlocal to ipn 7 months ago
serve.go cmd/tailscale/cli: revert key for web config for services to FQDN (#16627) 6 months ago
serve_test.go cmd/tailscale/cli: Add service flag to serve command (#16191) 6 months ago
store.go tailcfg: report StateEncrypted in Hostinfo (#16434) 7 months ago
store_test.go ipn/store: automatically migrate between plaintext and encrypted state (#16318) 7 months ago