You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tailscale/wgengine
Brad Fitzpatrick e0a7914d88 wgengine: simplify how discokey change session dropping is implemented
When a discokey changes, we take that as a sign that the peer
restarted and our previous wireguard-go session state is invalid. What
we did previously was reconfig the wireguard-go Device with all peers
but the ones that changed, and then add them back.

Instead, just synchronously delete a single peer from wireguard-go
when we see that it's changed, and then let it be added back later by
the one Reconfig. This avoids a second reconfig and some twisty code.
(Plenty more twisty code yet to delete...)

Updates #17858

Change-Id: I084d51c26e368c909091da403bbf6b59d929e5af
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
2 months ago
..
bench types/netmap: remove PrivateKey from NetworkMap 2 months ago
filter
magicsock types/key,wgengine/magicsock,control/controlclient,ipn: add debug disco key rotation 2 months ago
netlog wgengine/netlog: strip dot suffix from node name (#17954) 2 months ago
netstack all: rename variables with lowercase-l/uppercase-I 2 months ago
router all: rename variables with lowercase-l/uppercase-I 2 months ago
wgcfg types/netmap: remove PrivateKey from NetworkMap 2 months ago
wgint
wglog
winnet
mem_ios.go
pendopen.go
pendopen_omit.go
userspace.go wgengine: simplify how discokey change session dropping is implemented 2 months ago
userspace_ext_test.go
userspace_test.go
watchdog.go ipn/ipnlocal: remove all the weird locking (LockedOnEntry, UnlockEarly, etc) 2 months ago
watchdog_omit.go
watchdog_test.go
wgengine.go ipn/ipnlocal: remove all the weird locking (LockedOnEntry, UnlockEarly, etc) 2 months ago