tailscale/wgengine/netstack
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
..
netstack_linux.go wgengine/netstack: make userspace ping work when tailscaled has CAP_NET_RAW 2022-01-12 14:23:39 -08:00
netstack_test.go net/tstun,wgengine/{.,netstack}: handle UDP magicDNS traffic in netstack 2022-04-30 10:18:59 -07:00
netstack.go net/tstun,wgengine/{.,netstack}: handle UDP magicDNS traffic in netstack 2022-04-30 10:18:59 -07:00
subnet_router_wrapper.go cmd/tailscaled, wgengine{,/netstack}: add netstack hybrid mode, add to Windows 2021-04-06 21:37:28 -07:00