tailscale/control/controlclient
Claus Lensbøl ffaebd71fb
control/controlclient: filter out disco updates from full map (#19220)
When getting a full map from control, disco keys for the nodes will also
be delivered. When communicating with a peer that is running without
being connected to control, and having that connection running based on
a TSMP learned disco key, we need to avoid overwriting the disco key for
that peer with the stale one control knows about.

Add a filter that filteres out keys from control, and replace them with
the TSMP learned disco keys.

Updates #12639

Signed-off-by: Claus Lensbøl <claus@tailscale.com>
2026-04-02 13:08:01 -04:00
..
auto.go control/controlclient,ipn/ipnlocal,wgengine: avoid restarting wireguard when key is learned via tsmp (#19142) 2026-03-30 14:26:08 -04:00
client.go control,health,ipn: move IP forwarding check to health tracker (#19007) 2026-03-18 16:24:12 -04:00
controlclient_test.go all: use Go 1.26 things, run most gofix modernizers 2026-03-06 13:32:03 -08:00
direct_test.go all: remove AUTHORS file and references to it 2026-01-23 15:49:45 -08:00
direct.go control/controlclient: take mapsession and release lock early in sub (#19192) 2026-03-31 12:47:13 -04:00
errors.go all: remove AUTHORS file and references to it 2026-01-23 15:49:45 -08:00
map_test.go control/controlclient: filter out disco updates from full map (#19220) 2026-04-02 13:08:01 -04:00
map.go control/controlclient: filter out disco updates from full map (#19220) 2026-04-02 13:08:01 -04:00
sign_supported_test.go all: remove AUTHORS file and references to it 2026-01-23 15:49:45 -08:00
sign_supported.go all: remove AUTHORS file and references to it 2026-01-23 15:49:45 -08:00
sign_unsupported.go all: remove AUTHORS file and references to it 2026-01-23 15:49:45 -08:00
sign.go all: remove AUTHORS file and references to it 2026-01-23 15:49:45 -08:00
status.go all: remove AUTHORS file and references to it 2026-01-23 15:49:45 -08:00