tailscale/net
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
..
dns net/dns,net/dns/resolver: refactor channels/magicDNS out of Resolver 2022-04-30 10:18:59 -07:00
dnscache net/dns/resolver: make DoH dialer use existing dnscache happy eyeball dialer 2022-04-18 13:18:39 -07:00
dnsfallback net/dnsfallback: update from 'go generate' 2022-04-17 10:06:09 -07:00
flowtrack all: use any instead of interface{} 2022-03-17 11:35:09 -07:00
interfaces net/interfaces: add FreeBSD default route lookup (portmapping, etc) 2022-03-08 13:02:02 -08:00
netcheck all: gofmt all 2022-04-29 13:06:04 -07:00
neterror net/{neterror,dns/resolver}: move PacketWasTruncated to neterror from DNS code 2022-01-03 14:03:30 -08:00
netknob all: disable TCP keep-alives on iOS/Android 2021-09-28 12:03:18 -07:00
netns net/netns: remove a useless probe of the "ip" command 2022-01-11 17:47:06 -08:00
netstat all: gofmt with Go 1.17 2021-08-05 15:54:00 -07:00
nettest net/nettest: deflake TestPipeTimeout 2021-11-30 12:21:59 -08:00
netutil net/netutil: add CheckIPForwardingLinux (#4301) 2022-03-28 10:24:11 -07:00
packet net/packet, wgengine/netstack: remove workaround for old gvisor ECN bug 2022-03-26 21:24:24 -07:00
portmapper all: use any instead of interface{} 2022-03-17 11:35:09 -07:00
proxymux net/proxymux: add a listener mux that can run SOCKS and HTTP on a single socket. 2021-11-29 16:49:48 -08:00
socks5 all: use any instead of interface{} 2022-03-17 11:35:09 -07:00
speedtest all: fix spelling mistakes 2021-10-12 21:23:14 -07:00
stun all: gofmt with Go 1.17 2021-08-05 15:54:00 -07:00
tlsdial envknob: add new package for all the strconv.ParseBool(os.Getenv(..)) 2022-01-24 11:51:23 -08:00
tsaddr net/dns/resolver, net/tsaddr: fix reverse lookups in 4to6 IP range 2022-04-21 09:37:21 -07:00
tsdial net/tsdial: add SystemDial as a wrapper on netns.Dial 2022-04-27 12:02:36 -07:00
tshttpproxy net/tshttpproxy: synology: pick proxy by scheme 2022-04-28 11:56:37 -07:00
tstun net/tstun,wgengine/{.,netstack}: handle UDP magicDNS traffic in netstack 2022-04-30 10:18:59 -07:00