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
Maisem Ali d585cbf02a wgengine/router: [bsd/darwin] remove and readd routes on profile change
Noticed when testing FUS on tailscale-on-macOS, that routing would break
completely when switching between profiles. However, it would start working
again when going back to the original profile tailscaled started with.

Turns out that if we change the addrs on the interface we need to remove and readd
all the routes.

Updates #713

Signed-off-by: Maisem Ali <maisem@tailscale.com>
2 years ago
..
bench all: fix more resource leaks found by staticmajor 2 years ago
filter all: fix spelling mistakes 2 years ago
magicsock all: remove old +build tags 2 years ago
monitor all: remove old +build tags 2 years ago
netlog wgengine/netlog: preserve Tailscale addresses for exit traffic (#6165) 2 years ago
netstack ipn/ipnlocal: add support for multiple user profiles 2 years ago
router wgengine/router: [bsd/darwin] remove and readd routes on profile change 2 years ago
wgcfg wgengine/netlog: embed the StableNodeID of the authoring node (#6105) 2 years ago
wgint go.mod, wgengine/wgint: bump wireguard-go 2 years ago
wglog all: use syncs.AtomicValue 2 years ago
winnet all: remove old +build tags 2 years ago
mem_ios.go go.mod: upgrade wireguard-windows, de-fork wireguard-go 4 years ago
pendopen.go wgengine: remove all peer status from open timeout diagnostics 2 years ago
userspace.go wgengine: respect --no-logs-no-support flag for network logging (#6172) 2 years ago
userspace_ext_test.go go.mod: upgrade wireguard-windows, de-fork wireguard-go 4 years ago
userspace_test.go all: convert more code to use net/netip directly 2 years ago
watchdog.go all: remove old +build tags 2 years ago
watchdog_js.go wasm: drop pprof dependency 3 years ago
watchdog_test.go wgengine: remove all peer status from open timeout diagnostics 2 years ago
wgengine.go wgengine: fix typo in Engine.PeerForIP (#5912) 2 years ago