tailscale/wgengine
Tom DNetto 9e77660931 net/tstun,wgengine/{.,netstack}: handle UDP magicDNS traffic in netstack
This change wires netstack with a hook for traffic coming from the host
into the tun, allowing interception and handling of traffic to quad-100.

With this hook wired, magicDNS queries over UDP are now handled within
netstack. The existing logic in wgengine to handle magicDNS remains for now,
but its hook operates after the netstack hook so the netstack implementation
takes precedence. This is done in case we need to support platforms with
netstack longer than expected.

Signed-off-by: Tom DNetto <tom@tailscale.com>
2022-04-30 10:18:59 -07:00
..
bench types/netmap: use key.NodePublic instead of tailcfg.NodeKey. 2021-11-01 17:07:40 -07:00
filter all: add arbitrary capability support 2022-04-17 09:01:53 -07:00
magicsock wgengine/{,magicsock}: add metrics for rebinds and restuns 2022-04-22 11:55:46 -07:00
monitor wgengine/monitor: do not ignore changes to pdp_ip* 2022-04-25 12:17:00 -07:00
netstack net/tstun,wgengine/{.,netstack}: handle UDP magicDNS traffic in netstack 2022-04-30 10:18:59 -07:00
router Revert "wgengine/router,util/kmod: load & log xt_mark" 2022-04-21 09:53:23 -07:00
wgcfg all: use any instead of interface{} 2022-03-17 11:35:09 -07:00
wglog all: use any instead of interface{} 2022-03-17 11:35:09 -07:00
winnet all: gofmt all 2022-04-29 13:06:04 -07:00
mem_ios.go go.mod: upgrade wireguard-windows, de-fork wireguard-go 2021-05-25 13:18:21 -07:00
pendopen.go util/mak: move tailssh's mapSet into a new package for reuse elsewhere 2022-04-21 21:20:10 -07:00
userspace.go net/tstun,wgengine/{.,netstack}: handle UDP magicDNS traffic in netstack 2022-04-30 10:18:59 -07:00
userspace_ext_test.go go.mod: upgrade wireguard-windows, de-fork wireguard-go 2021-05-25 13:18:21 -07:00
userspace_test.go all: gofmt -w -s (simplify) tests 2021-12-15 08:43:41 -08:00
watchdog.go cmd/tailscaled,ipn/ipnlocal,wgengine/...: pass dns.Manager into netstack 2022-04-30 10:18:59 -07:00
watchdog_test.go all: use any instead of interface{} 2022-03-17 11:35:09 -07:00
wgengine.go ipn/ipnlocal: do not process old status messages received out of order 2022-03-26 20:23:50 -07:00