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.
M. J. Fromberger
211ef67222
tailcfg,ipn/ipnlocal: regulate netmap caching via a node attribute ( #19117 )
...
Add a new tailcfg.NodeCapability (NodeAttrCacheNetworkMaps) to control whether
a node with support for caching network maps will attempt to do so. Update the
capability version to reflect this change (mainly as a safety measure, as the
control plane does not currently need to know about it).
Use the presence (or absence) of the node attribute to decide whether to create
and update a netmap cache for each profile. If caching is disabled, discard the
cached data; this allows us to use the presence of a cached netmap as an
indicator it should be used (unless explicitly overridden). Add a test that
verifies the attribute is respected. Reverse the sense of the environment knob
to be true by default, with an override to disable caching at the client
regardless what the node attribute says.
Move the creation/update of the netmap cache (when enabled) until after
successfully applying the network map, to reduce the possibility that we will
cache (and thus reuse after a restart) a network map that fails to correctly
configure the client.
Updates #12639
Change-Id: I1df4dd791fdb485c6472a9f741037db6ed20c47e
Signed-off-by: M. J. Fromberger <fromberger@tailscale.com>
2 weeks ago
..
netmapcache
all: use Go 1.26 things, run most gofix modernizers
1 month ago
testdata
ipn/ipnlocal: fix the path for writing cert files ( #7203 )
3 years ago
breaktcp_darwin.go
all: remove AUTHORS file and references to it
3 months ago
breaktcp_linux.go
all: use Go 1.26 things, run most gofix modernizers
1 month ago
bus.go
all: remove AUTHORS file and references to it
3 months ago
bus_test.go
all: use Go 1.26 things, run most gofix modernizers
1 month ago
c2n.go
ipn/ipnlocal, feature/ssh: move SSH code out of LocalBackend to feature
1 month ago
c2n_pprof.go
all: remove AUTHORS file and references to it
3 months ago
c2n_test.go
all: remove AUTHORS file and references to it
3 months ago
captiveportal.go
all: remove AUTHORS file and references to it
3 months ago
cert.go
ipn/ipnlocal, cmd/tailscale: use wildcard. prefix for cert filenames ( #18748 )
2 months ago
cert_disabled.go
all: remove AUTHORS file and references to it
3 months ago
cert_test.go
ipn/ipnlocal, cmd/tailscale: use wildcard. prefix for cert filenames ( #18748 )
2 months ago
diskcache.go
tailcfg,ipn/ipnlocal: regulate netmap caching via a node attribute ( #19117 )
2 weeks ago
dnsconfig_test.go
net/dns, ipn/local: skip health warnings in dns forwarder when accept-dns is false ( #18572 )
2 months ago
drive.go
all: remove AUTHORS file and references to it
3 months ago
drive_test.go
all: remove AUTHORS file and references to it
3 months ago
drive_tomove.go
all: remove AUTHORS file and references to it
3 months ago
expiry.go
all: remove AUTHORS file and references to it
3 months ago
expiry_test.go
all: remove AUTHORS file and references to it
3 months ago
extension_host.go
ipn/ipnlocal: debounce extra enqueues in ExtensionHost.AuthReconfigAsync
3 weeks ago
extension_host_test.go
ipn/{ipnext,ipnlocal}: expose authReconfig in ipnext.Host as AuthReconfigAsync
4 weeks ago
hwattest.go
all: remove AUTHORS file and references to it
3 months ago
local.go
tailcfg,ipn/ipnlocal: regulate netmap caching via a node attribute ( #19117 )
2 weeks ago
local_test.go
tailcfg,ipn/ipnlocal: regulate netmap caching via a node attribute ( #19117 )
2 weeks ago
loglines_test.go
all: remove AUTHORS file and references to it
3 months ago
netstack.go
types/ptr: deprecate ptr.To, use Go 1.26 new
1 month ago
network-lock.go
tka: refer consistently to "DisablementValues"
2 weeks ago
network-lock_test.go
tka: refer consistently to "DisablementValues"
2 weeks ago
node_backend.go
ipn/ipnlocal: add a map for node public key to node ID lookups ( #19051 )
4 weeks ago
node_backend_test.go
types/ptr: deprecate ptr.To, use Go 1.26 new
1 month ago
peerapi.go
all: use Go 1.26 things, run most gofix modernizers
1 month ago
peerapi_drive.go
all: remove AUTHORS file and references to it
3 months ago
peerapi_macios_ext.go
all: remove AUTHORS file and references to it
3 months ago
peerapi_test.go
all: remove AUTHORS file and references to it
3 months ago
prefs_metrics.go
all: remove AUTHORS file and references to it
3 months ago
profiles.go
tailcfg: reintroduce UserProfile.Groups
1 month ago
profiles_notwindows.go
all: remove AUTHORS file and references to it
3 months ago
profiles_test.go
all: remove AUTHORS file and references to it
3 months ago
profiles_windows.go
all: remove AUTHORS file and references to it
3 months ago
serve.go
all: use Go 1.26 things, run most gofix modernizers
1 month ago
serve_disabled.go
all: remove AUTHORS file and references to it
3 months ago
serve_test.go
all: remove AUTHORS file and references to it
3 months ago
serve_unix_test.go
all: remove AUTHORS file and references to it
3 months ago
state_test.go
control,health,ipn: move IP forwarding check to health tracker ( #19007 )
1 month ago
tailnetlock_disabled.go
all: remove AUTHORS file and references to it
3 months ago
web_client.go
all: remove AUTHORS file and references to it
3 months ago
web_client_stub.go
all: remove AUTHORS file and references to it
3 months ago