You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Nick Khyl
9bf99741dd
ipn/ipnlocal: refactor resolveExitNodeInPrefsLocked, setExitNodeID and resolveExitNodeIP
...
Now that resolveExitNodeInPrefsLocked is the only caller of setExitNodeID,
and setExitNodeID is the only caller of resolveExitNodeIP, we can restructure
the code with resolveExitNodeInPrefsLocked now calling both
resolveAutoExitNodeLocked and resolveExitNodeIPLocked directly.
This prepares for factoring out resolveAutoExitNodeLocked and related
auto-exit-node logic into an ipnext extension in a future commit.
While there, we also update exit node by IP lookup to use (*nodeBackend).NodeByAddr
and (*nodeBackend).NodeByID instead of iterating over all peers in the most recent netmap.
Updates tailscale/corp#29969
Signed-off-by: Nick Khyl <nickk@tailscale.com>
9 months ago
..
auditlog
ipn/ipnext: remove some interface indirection to add hooks
12 months ago
conffile
ipn/conffile: don't depend on hujson on iOS/Android
2 years ago
desktop
ipn/ipnext: remove some interface indirection to add hooks
12 months ago
ipnauth
ipn/{ipnauth,ipnlocal,localapi}: make EditPrefs return an error if changing exit node is restricted by policy
9 months ago
ipnext
ipn/ipnlocal: make GetExt work earlier, before extension init
11 months ago
ipnlocal
ipn/ipnlocal: refactor resolveExitNodeInPrefsLocked, setExitNodeID and resolveExitNodeIP
9 months ago
ipnserver
ipn: add missing entries for OpenBSD
10 months ago
ipnstate
Revert "ipn/ipnstate: add home DERP to tailscale status JSON"
1 year ago
lapitest
ipn/ipn{server,test}: extract the LocalAPI test client and server into ipntest
11 months ago
localapi
cmd/tailscale/cli,ipn/ipnlocal: restrict logout when AlwaysOn mode is enabled
9 months ago
policy
ipn,tailconfig: clean up unreleased and removed app connector service
2 years ago
store
ipn/store: make StateStore.All optional ( #16409 )
10 months ago
backend.go
ipn: add watch opt to include actions in health messages
11 months ago
conf.go
ipn: ensure that conffile is source of truth for advertised services. ( #15361 )
1 year 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
10 months ago
ipn_test.go
all: do not depend on the testing package
2 years ago
ipn_view.go
cmd/tailscale/cli,ipn,ipn/ipnlocal: add AutoExitNode preference for automatic exit node selection
10 months ago
prefs.go
cmd/tailscale/cli,ipn,ipn/ipnlocal: add AutoExitNode preference for automatic exit node selection
10 months ago
prefs_test.go
cmd/tailscale/cli,ipn,ipn/ipnlocal: add AutoExitNode preference for automatic exit node selection
10 months ago
serve.go
tailcfg: add ServiceName
1 year ago
serve_test.go
scripts/check_license_headers.sh: delete, rewrite as a Go test
10 months ago
store.go
tailcfg: report StateEncrypted in Hostinfo ( #16434 )
10 months ago
store_test.go
ipn/store: automatically migrate between plaintext and encrypted state ( #16318 )
10 months ago