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
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>
3 years ago
..
bench types/netmap: use key.NodePublic instead of tailcfg.NodeKey. 3 years ago
filter all: add arbitrary capability support 3 years ago
magicsock wgengine/{,magicsock}: add metrics for rebinds and restuns 3 years ago
monitor wgengine/monitor: do not ignore changes to pdp_ip* 3 years ago
netstack net/tstun,wgengine/{.,netstack}: handle UDP magicDNS traffic in netstack 3 years ago
router Revert "wgengine/router,util/kmod: load & log xt_mark" 3 years ago
wgcfg all: use any instead of interface{} 3 years ago
wglog all: use any instead of interface{} 3 years ago
winnet all: gofmt all 3 years ago
mem_ios.go go.mod: upgrade wireguard-windows, de-fork wireguard-go 4 years ago
pendopen.go util/mak: move tailssh's mapSet into a new package for reuse elsewhere 3 years ago
userspace.go net/tstun,wgengine/{.,netstack}: handle UDP magicDNS traffic in netstack 3 years ago
userspace_ext_test.go go.mod: upgrade wireguard-windows, de-fork wireguard-go 4 years ago
userspace_test.go all: gofmt -w -s (simplify) tests 3 years ago
watchdog.go cmd/tailscaled,ipn/ipnlocal,wgengine/...: pass dns.Manager into netstack 3 years ago
watchdog_test.go all: use any instead of interface{} 3 years ago
wgengine.go ipn/ipnlocal: do not process old status messages received out of order 3 years ago