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/router
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
..
callback.go wgengine/router: avoid unncessary routing configuration changes 2 years ago
ifconfig_windows.go wgengine/router: fix MTU configuration on Windows 2 years ago
ifconfig_windows_test.go go.mod: bump wireguard/windows, which moves to using net/netip 2 years ago
router.go all: convert more code to use net/netip directly 2 years ago
router_darwin.go wgengine/router: take a link monitor 3 years ago
router_default.go all: remove old +build tags 2 years ago
router_fake.go wgengine: pass in an explicit router.Router, rather than a generator. 4 years ago
router_freebsd.go wgengine/router: take a link monitor 3 years ago
router_linux.go wgengine/router: [linux] add before deleting interface addrs 2 years ago
router_linux_test.go wgengine/router: [linux] add before deleting interface addrs 2 years ago
router_openbsd.go all: convert more code to use net/netip directly 2 years ago
router_test.go all: convert more code to use net/netip directly 2 years ago
router_userspace_bsd.go wgengine/router: [bsd/darwin] remove and readd routes on profile change 2 years ago
router_windows.go all: fix spelling mistakes 2 years ago
runner.go all: remove old +build tags 2 years ago