tailscale/ipn
Nick Khyl 21a4058ec7 ipn/ipnlocal: add test to verify handling of unknown auto exit node expressions
We already check this for cases where ipn.Prefs.AutoExitNode is configured via syspolicy.
Configuring it directly through EditPrefs should behave the same, so we add a test for that as well.

Additionally, we clarify the implementation and future extensibility in (*LocalBackend).resolveAutoExitNodeLocked,
where the AutoExitNode is actually enforced.

Updates tailscale/corp#29969
Updates #cleanup

Signed-off-by: Nick Khyl <nickk@tailscale.com>
2025-07-09 12:48:12 -05:00
..
auditlog ipn/ipnext: remove some interface indirection to add hooks 2025-04-25 09:03:39 -07:00
conffile ipn/conffile: don't depend on hujson on iOS/Android 2024-10-10 09:14:36 -07:00
desktop ipn/ipnext: remove some interface indirection to add hooks 2025-04-25 09:03:39 -07:00
ipnauth ipn/{ipnauth,ipnlocal,localapi}: make EditPrefs return an error if changing exit node is restricted by policy 2025-07-07 17:18:00 -05:00
ipnext ipn/ipnlocal: make GetExt work earlier, before extension init 2025-05-19 15:36:25 -07:00
ipnlocal ipn/ipnlocal: add test to verify handling of unknown auto exit node expressions 2025-07-09 12:48:12 -05:00
ipnserver ipn: add missing entries for OpenBSD 2025-06-17 17:53:22 -07:00
ipnstate Revert "ipn/ipnstate: add home DERP to tailscale status JSON" 2025-04-10 11:34:48 -07:00
lapitest ipn/ipn{server,test}: extract the LocalAPI test client and server into ipntest 2025-05-09 18:12:54 -05:00
localapi cmd/tailscale/cli,ipn/ipnlocal: restrict logout when AlwaysOn mode is enabled 2025-07-08 15:02:51 -05:00
policy ipn,tailconfig: clean up unreleased and removed app connector service 2023-11-09 22:36:52 -08:00
store ipn/store: make StateStore.All optional (#16409) 2025-06-27 15:14:18 -07:00
backend.go ipn: add watch opt to include actions in health messages 2025-06-04 11:01:02 +01:00
conf.go ipn: ensure that conffile is source of truth for advertised services. (#15361) 2025-03-20 14:40:36 +00:00
doc.go ipn: generate LoginProfileView and use it instead of *LoginProfile where appropriate 2025-01-30 18:12:54 -06:00
ipn_clone.go cmd/tailscale/cli,ipn,ipn/ipnlocal: add AutoExitNode preference for automatic exit node selection 2025-07-03 14:12:25 -05:00
ipn_test.go all: do not depend on the testing package 2024-05-24 05:23:36 -07:00
ipn_view.go cmd/tailscale/cli,ipn,ipn/ipnlocal: add AutoExitNode preference for automatic exit node selection 2025-07-03 14:12:25 -05:00
prefs_test.go ipn: move ParseAutoExitNodeID from ipn/ipnlocal to ipn 2025-07-09 12:48:12 -05:00
prefs.go ipn: move ParseAutoExitNodeID from ipn/ipnlocal to ipn 2025-07-09 12:48:12 -05:00
serve_test.go scripts/check_license_headers.sh: delete, rewrite as a Go test 2025-06-16 13:35:38 -07:00
serve.go tailcfg: add ServiceName 2025-01-22 15:27:46 -05:00
store_test.go ipn/store: automatically migrate between plaintext and encrypted state (#16318) 2025-06-26 17:09:13 -07:00
store.go tailcfg: report StateEncrypted in Hostinfo (#16434) 2025-07-02 10:52:00 -07:00