tailscale/control/controlclient
Andrew Dunham 1e67947cfa control/controlclient, tailcfg: add Node.Expired field, set for expired nodes
Nodes that are expired, taking into account the time delta calculated
from MapResponse.ControlTime have the newly-added Expired boolean set.
For additional defense-in-depth, also replicate what control does and
clear the Endpoints and DERP fields, and additionally set the node key
to a bogus value.

Updates #6932

Signed-off-by: Andrew Dunham <andrew@du.nham.ca>
Change-Id: Ia2bd6b56064416feee28aef5699ca7090940662a
2023-01-11 09:45:21 -05:00
..
auto.go control/controlclient: make Status.Persist a PersistView 2022-11-11 10:45:47 +05:00
client.go cmd,ipn/ipnlocal,tailcfg: implement TKA disablement 2022-10-31 11:05:44 -05:00
controlclient_test.go control/controlclient: store netinfo and hostinfo separately 2022-05-03 15:33:01 -07:00
debug.go ipn/ipnlocal: add c2n /debug/{goroutines,prefs,metrics} 2022-09-26 11:16:38 -07:00
direct.go tailcfg, ipn, controlclient: add MapResponse.ClientVersion, plumb to IPN bus 2022-11-23 20:24:12 -08:00
direct_test.go all: convert more code to use net/netip directly 2022-07-25 21:53:49 -07:00
map.go control/controlclient, tailcfg: add Node.Expired field, set for expired nodes 2023-01-11 09:45:21 -05:00
map_test.go control/controlclient, tailcfg: add Node.Expired field, set for expired nodes 2023-01-11 09:45:21 -05:00
noise.go control/controlclient: export NoiseClient 2022-11-04 01:44:43 +05:00
noise_test.go control/controlclient: export NoiseClient 2022-11-04 01:44:43 +05:00
sign.go control/controlclient: update machine certificate signature version 2021-09-17 17:43:06 -04:00
sign_supported.go all: remove old +build tags 2022-11-04 07:25:42 -07:00
sign_supported_test.go all: remove old +build tags 2022-11-04 07:25:42 -07:00
sign_unsupported.go all: remove old +build tags 2022-11-04 07:25:42 -07:00
status.go control/controlclient: make Status.Persist a PersistView 2022-11-11 10:45:47 +05:00