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 24bdcbe5c7
net/dns, net/dns/resolver, wgengine: refactor DNS request path (#4364)
* net/dns, net/dns/resolver, wgengine: refactor DNS request path

Previously, method calls into the DNS manager/resolver types handled DNS
requests rather than DNS packets. This is fine for UDP as one packet
corresponds to one request or response, however will not suit an
implementation that supports DNS over TCP.

To support PRs implementing this in the future, wgengine delegates
all handling/construction of packets to the magic DNS endpoint, to
the DNS types themselves. Handling IP packets at this level enables
future support for both UDP and TCP.

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: use strings.Cut even more 3 years ago
magicsock all: use strings.Cut even more 3 years ago
monitor all: use any instead of interface{} 3 years ago
netstack wgengine/netstack: disable refsvfs2 leak tracking (#4378) 3 years ago
router all: use any instead of interface{} 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 -w -s (simplify) tests 3 years ago
mem_ios.go
pendopen.go envknob: add new package for all the strconv.ParseBool(os.Getenv(..)) 3 years ago
userspace.go net/dns, net/dns/resolver, wgengine: refactor DNS request path (#4364) 3 years ago
userspace_ext_test.go
userspace_test.go all: gofmt -w -s (simplify) tests 3 years ago
watchdog.go all: use any instead of interface{} 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