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/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>
4 years ago
..
dns net/dns,net/dns/resolver: refactor channels/magicDNS out of Resolver 4 years ago
dnscache net/dns/resolver: make DoH dialer use existing dnscache happy eyeball dialer 4 years ago
dnsfallback net/dnsfallback: update from 'go generate' 4 years ago
flowtrack all: use any instead of interface{} 4 years ago
interfaces net/interfaces: add FreeBSD default route lookup (portmapping, etc) 4 years ago
netcheck all: gofmt all 4 years ago
neterror net/{neterror,dns/resolver}: move PacketWasTruncated to neterror from DNS code 4 years ago
netknob all: disable TCP keep-alives on iOS/Android 4 years ago
netns net/netns: remove a useless probe of the "ip" command 4 years ago
netstat all: gofmt with Go 1.17 4 years ago
nettest net/nettest: deflake TestPipeTimeout 4 years ago
netutil net/netutil: add CheckIPForwardingLinux (#4301) 4 years ago
packet net/packet, wgengine/netstack: remove workaround for old gvisor ECN bug 4 years ago
portmapper all: use any instead of interface{} 4 years ago
proxymux net/proxymux: add a listener mux that can run SOCKS and HTTP on a single socket. 4 years ago
socks5 all: use any instead of interface{} 4 years ago
speedtest all: fix spelling mistakes 4 years ago
stun all: gofmt with Go 1.17 4 years ago
tlsdial envknob: add new package for all the strconv.ParseBool(os.Getenv(..)) 4 years ago
tsaddr net/dns/resolver, net/tsaddr: fix reverse lookups in 4to6 IP range 4 years ago
tsdial net/tsdial: add SystemDial as a wrapper on netns.Dial 4 years ago
tshttpproxy net/tshttpproxy: synology: pick proxy by scheme 4 years ago
tstun net/tstun,wgengine/{.,netstack}: handle UDP magicDNS traffic in netstack 4 years ago