tailscale/tailcfg
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
..
c2ntypes.go ipn/ipnlocal: add c2n method to get SSH username candidates 2022-09-19 10:37:04 -07:00
derpmap.go net/netcheck: deflake (maybe) magicsock's TestNewConn 2022-11-05 22:02:13 -07:00
tailcfg_clone.go control/controlclient, tailcfg: add Node.Expired field, set for expired nodes 2023-01-11 09:45:21 -05:00
tailcfg_test.go control/controlclient, tailcfg: add Node.Expired field, set for expired nodes 2023-01-11 09:45:21 -05:00
tailcfg_view.go control/controlclient, tailcfg: add Node.Expired field, set for expired nodes 2023-01-11 09:45:21 -05:00
tailcfg.go control/controlclient, tailcfg: add Node.Expired field, set for expired nodes 2023-01-11 09:45:21 -05:00
tka.go cmd/tailscale,ipn: improve UX of lock init command, cosmetic changes 2022-11-28 10:39:04 -08:00