tailscale/wgengine/router
Denton Gentry 878a20df29 net/dns: add GetBaseConfig to CallbackRouter.
Allow users of CallbackRouter to supply a GetBaseConfig
implementation. This is expected to be used on Android,
which currently lacks both a) platform support for
Split-DNS and b) a way to retrieve the current DNS
servers.

iOS/macOS also use the CallbackRouter but have platform
support for SplitDNS, so don't need getBaseConfig.

Updates https://github.com/tailscale/tailscale/issues/2116
Updates https://github.com/tailscale/tailscale/issues/988

Signed-off-by: Denton Gentry <dgentry@tailscale.com>
2021-12-08 16:49:11 -08:00
..
callback.go net/dns: add GetBaseConfig to CallbackRouter. 2021-12-08 16:49:11 -08:00
ifconfig_windows.go util/multierr: new package 2021-11-02 17:50:15 -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
router.go wgengine/router: take a link monitor 2021-07-20 13:43: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.go wgengine/router: fix checkIPRuleSupportsV6 to actually use IPv6 2021-11-19 11:37:05 -08:00
router_linux_test.go wgengine/router: demote TestDebugListRules fail to skip 2021-11-22 11:04:45 -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
runner.go wgengine/router: ignore Linux ip route error adding dup route 2021-10-14 14:00:45 -07:00