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
M. J. Fromberger ce12863ee5
ipn/ipnlocal: manage per-profile subdirectories in TailscaleVarRoot (#18485)
In order to better manage per-profile data resources on the client, add methods
to the LocalBackend to support creation of per-profile directory structures in
local storage. These methods build on the existing TailscaleVarRoot config, and
have the same limitation (i.e., if no local storage is available, it will
report an error when used).

The immediate motivation is to support netmap caching, but we can also use this
mechanism for other per-profile resources including pending taildrop files and
Tailnet Lock authority caches.

This commit only adds the directory-management plumbing; later commits will
handle migrating taildrop, TKA, etc. to this mechanism, as well as caching
network maps.

Updates #12639

Change-Id: Ia75741955c7bf885e49c1ad99f856f669a754169
Signed-off-by: M. J. Fromberger <fromberger@tailscale.com>
23 hours ago
..
auditlog syncs: add Mutex/RWMutex alias/wrappers for future mutex debugging 2 months ago
conffile cmd/tailscale/cli,ipn/conffile: add declarative config mode for Services (#17435) 4 months ago
desktop go.mod: bump golang.org/x/crypto (#17907) 2 months ago
ipnauth ipn/ipnauth, safesocket: defer named pipe client's token retrieval until ipnserver needs it 1 month ago
ipnext ipn/ipnlocal: remove all the weird locking (LockedOnEntry, UnlockEarly, etc) 2 months ago
ipnlocal ipn/ipnlocal: manage per-profile subdirectories in TailscaleVarRoot (#18485) 23 hours ago
ipnserver feature/featuretags, all: add build features, use existing ones in more places 4 months ago
ipnstate cmd/tailscale/cli: stabilise the output of `tailscale lock status --json` 2 months ago
lapitest various: allow tailscaled shutdown via LocalAPI 4 months ago
localapi ipn/ipnlocal: allow retrieval of serve config ETags from local API 1 week ago
policy ipn,tailconfig: clean up unreleased and removed app connector service 2 years ago
store ipn/store/kubestore: don't load write replica certs in memory (#18395) 2 weeks ago
backend.go types/netmap: remove PrivateKey from NetworkMap 2 months ago
backend_test.go ipn: fix the string representation of an empty ipn.Notify 4 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 12 months ago
ipn_clone.go cmd/tailscale/cli,ipn,all: make peer relay server port a *uint16 2 months ago
ipn_test.go all: do not depend on the testing package 2 years ago
ipn_view.go cmd/tailscale/cli,ipn,all: make peer relay server port a *uint16 2 months ago
prefs.go cmd/tailscale/cli,ipn,all: make peer relay server port a *uint16 2 months ago
prefs_test.go cmd/tailscale/cli,ipn,all: make peer relay server port a *uint16 2 months ago
serve.go ipn,cmd/tailscale/cli: set correct SNI name for TLS-terminated TCP Services (#17752) 2 weeks ago
serve_expand_test.go cmd/tailscale,ipn: add Unix socket support for serve 2 months ago
serve_test.go ipn/serve: validate service paths in HasPathHandler 2 months ago
store.go cmd/tailscaled,ipn: show a health warning when state store fails to open (#17883) 2 months ago
store_test.go ipn/store: automatically migrate between plaintext and encrypted state (#16318) 7 months ago