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
David Anderson 267531e4f8 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>
4 years ago
..
dns wgengine/router/dns: remove unused code 4 years ago
ifconfig_windows.go wgengine/router: stop setPrivateNetwork goroutine on configureInterface failure 4 years ago
ifconfig_windows_test.go wgengine/router: unfork winipcfg-go package, use upstream 4 years ago
router.go all: dns refactor, add Proxied and PerDomain flags from control (#615) 4 years ago
router_darwin.go all: dns refactor, add Proxied and PerDomain flags from control (#615) 4 years ago
router_default.go Remove tuntap references. We only use TUN. 4 years ago
router_fake.go all: annotate log verbosity levels on most egregiously spammy log prints 4 years ago
router_freebsd.go all: dns refactor, add Proxied and PerDomain flags from control (#615) 4 years ago
router_linux.go wgengine/router: probe better for v6 policy routing support. 4 years ago
router_linux_test.go wgengine/router: make v6-ness configurable in test, for consistent results. 4 years ago
router_openbsd.go all: replace wgcfg.IP and wgcfg.CIDR with netaddr types 4 years ago
router_userspace_bsd.go all: replace wgcfg.IP and wgcfg.CIDR with netaddr types 4 years ago
router_windows.go Prepare for the new wireguard-go API. 4 years ago
runner.go wgengine/router: set up basic IPv6 routing/firewalling. 4 years ago