tailscale/net/tstun
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
..
fake.go go.mod: upgrade wireguard-windows, de-fork wireguard-go 2021-05-25 13:18:21 -07:00
ifstatus_noop.go all: gofmt with Go 1.17 2021-08-05 15:54:00 -07:00
ifstatus_windows.go go.mod: upgrade wireguard-windows, de-fork wireguard-go 2021-05-25 13:18:21 -07:00
linkattrs_linux.go net/tstun: set link speed to SPEED_UNKNOWN 2022-02-27 23:11:35 -08:00
linkattrs_notlinux.go net/tstun: set link speed to SPEED_UNKNOWN 2022-02-27 23:11:35 -08:00
tap_linux.go go.mod: bump netstack, switch to upstream netstack 2022-01-26 11:30:03 -08:00
tap_unsupported.go all: gofmt with Go 1.17 2021-08-05 15:54:00 -07:00
tun_linux.go net/tstun: fix build on arm 2021-08-18 15:28:14 -07:00
tun_macos.go net/tstun: move TUN failure diagnostics to OS-specific files 2021-08-16 11:24:25 -07:00
tun_notwindows.go all: gofmt with Go 1.17 2021-08-05 15:54:00 -07:00
tun_windows.go net/tstun: update tun_windows for wintun 0.14 API revisions, update wireguard-go dependency to 82d2aa87aa623cb5143a41c3345da4fb875ad85d 2021-10-12 16:07:46 -06:00
tun.go net/tstun: set link speed to SPEED_UNKNOWN 2022-02-27 23:11:35 -08:00
wrap_test.go net/tstun: rate limit "self disco out packet" logging 2021-11-23 12:52:52 -08:00
wrap.go net/tstun,wgengine/{.,netstack}: handle UDP magicDNS traffic in netstack 2022-04-30 10:18:59 -07:00