tailscale/wgengine/router
Brad Fitzpatrick d24ed3f68e wgengine/router: add debug knob to resort to Linux "ip" command usage
Tailscale 1.18 uses netlink instead of the "ip" command to program the
Linux kernel.

The old way was kept primarily for tests, but this also adds a
TS_DEBUG_USE_IP_COMMAND environment knob to force the old way
temporarily for debugging anybody who might have problems with the
new way in 1.18.

Updates #391

Change-Id: I0236fbfda6c9c05dcb3554fcc27ec0c86456efd9
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
2021-11-18 08:01:22 -08:00
..
callback.go net/dns: some post-review cleanups. 2021-04-07 15:40:31 -07:00
ifconfig_windows_test.go wgengine/router{win}: ignore broadcast routes added by Windows when removing routes. 2021-04-24 14:13:35 -07:00
ifconfig_windows.go util/multierr: new package 2021-11-02 17:50:15 -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: remove last non-test "ip" command usage on Linux 2021-11-01 15:52:24 -07:00
router_linux.go wgengine/router: add debug knob to resort to Linux "ip" command usage 2021-11-18 08:01:22 -08: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 Revert "wgengine: actively log FlushDNS." 2021-08-20 18:12:47 -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