tailscale/wgengine/router
David Anderson 5417ca69a7 wgengine/router: probe better for v6 policy routing support.
Previously we disabled v6 support if the disable_policy knob was
missing in /proc, but some kernels support policy routing without
exposing the toggle. So instead, treat disable_policy absence as a
"maybe", and make the direct `ip -6 rule` probing a bit more
elaborate to compensate.

Fixes #1241.

Signed-off-by: David Anderson <danderson@tailscale.com>
(cherry picked from commit 267531e4f8)
2021-02-01 16:13:32 -08:00
..
dns wgengine/router/dns: remove unused code 2021-01-14 14:04:35 -08:00
ifconfig_windows_test.go wgengine/router: unfork winipcfg-go package, use upstream 2020-10-13 09:21:22 -07:00
ifconfig_windows.go wgengine/router: stop setPrivateNetwork goroutine on configureInterface failure 2021-01-25 13:22:51 -08:00
router_darwin.go all: dns refactor, add Proxied and PerDomain flags from control (#615) 2020-07-31 16:27:09 -04:00
router_default.go Remove tuntap references. We only use TUN. 2020-09-25 13:13:13 -07:00
router_fake.go all: annotate log verbosity levels on most egregiously spammy log prints 2020-12-21 12:59:33 -08:00
router_freebsd.go all: dns refactor, add Proxied and PerDomain flags from control (#615) 2020-07-31 16:27:09 -04:00
router_linux_test.go wgengine/router: make v6-ness configurable in test, for consistent results. 2020-09-28 23:47:05 +00:00
router_linux.go wgengine/router: probe better for v6 policy routing support. 2021-02-01 16:13:32 -08:00
router_openbsd.go all: replace wgcfg.IP and wgcfg.CIDR with netaddr types 2020-12-28 13:00:42 -08:00
router_userspace_bsd.go all: replace wgcfg.IP and wgcfg.CIDR with netaddr types 2020-12-28 13:00:42 -08:00
router_windows.go Prepare for the new wireguard-go API. 2020-12-11 00:08:28 +01:00
router.go all: dns refactor, add Proxied and PerDomain flags from control (#615) 2020-07-31 16:27:09 -04:00
runner.go wgengine/router: set up basic IPv6 routing/firewalling. 2020-09-24 18:37:00 -07:00