tailscale/util/deephash
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
..
testtype util/deephash: fix unexported time.Time hashing 2022-07-27 09:28:23 -07:00
debug.go util/deephash: add debug printer (#5460) 2022-08-27 12:14:07 -07:00
deephash_test.go control/controlclient, tailcfg: add Node.Expired field, set for expired nodes 2023-01-11 09:45:21 -05:00
deephash.go all: fix spelling mistakes 2022-09-29 13:36:13 -07:00
pointer_norace.go util/deephash: use unsafe.Pointer instead of reflect.Value (#5459) 2022-08-27 12:30:35 -07:00
pointer_race.go util/deephash: use unsafe.Pointer instead of reflect.Value (#5459) 2022-08-27 12:30:35 -07:00
pointer.go all: fix spelling mistakes 2022-09-29 13:36:13 -07:00
types_test.go util/deephash: move typeIsRecursive and canMemHash to types.go (#5386) 2022-08-16 09:31:19 -07:00
types.go util/deephash: specialize for netip.Addr and drop AppendTo support (#5402) 2022-08-18 22:54:56 -07:00