tailscale/wgengine/router
James Tucker 76256d22d8 wgengine/router: windows: set SkipAsSource on IPv6 LL addresses
Link-local addresses on the Tailscale interface are not routable.
Ideally they would be removed, however, a concern exists that the
operating system will attempt to re-add them which would lead to
thrashing.

Setting SkipAsSource attempts to avoid production of packets using the
address as a source in any default behaviors.

Before, in powershell: `ping (hostname)` would ping the link-local
address of the Tailscale interface, and fail.
After: `ping (hostname)` now pings the link-local address on the next
highest priority metric local interface.

Fixes #4647
Signed-off-by: James Tucker <james@tailscale.com>
2022-06-22 15:26:40 -07:00
..
callback.go net/dns: add GetBaseConfig to CallbackRouter. 2021-12-08 16:49:11 -08:00
ifconfig_windows_test.go wgengine/router: windows: set SkipAsSource on IPv6 LL addresses 2022-06-22 15:26:40 -07:00
ifconfig_windows.go wgengine/router: windows: set SkipAsSource on IPv6 LL addresses 2022-06-22 15:26:40 -07:00
router_darwin.go wgengine/router: take a link monitor 2021-07-20 13:43:40 -07:00
router_default.go all: fix some js/wasm compilation issues 2021-10-20 10:06:16 -07:00
router_fake.go wgengine: pass in an explicit router.Router, rather than a generator. 2021-03-26 22:01:55 -07:00
router_freebsd.go wgengine/router: take a link monitor 2021-07-20 13:43:40 -07:00
router_linux_test.go wgengine/router: demote TestDebugListRules fail to skip 2021-11-22 11:04:45 -08:00
router_linux.go Revert "wgengine/router,util/kmod: load & log xt_mark" 2022-04-21 09:53:23 -07:00
router_openbsd.go wgengine/router: take a link monitor 2021-07-20 13:43:40 -07:00
router_test.go all: gofmt with Go 1.17 2021-08-05 15:54:00 -07:00
router_userspace_bsd.go all: gofmt with Go 1.17 2021-08-05 15:54:00 -07:00
router_windows.go all: use any instead of interface{} 2022-03-17 11:35:09 -07:00
router.go wgengine/router: take a link monitor 2021-07-20 13:43:40 -07:00
runner.go wgengine/router: ignore Linux ip route error adding dup route 2021-10-14 14:00:45 -07:00