tailscale/net/sockstats
Andrew Dunham 530aaa52f1 net/dns: retry forwarder requests over TCP
We weren't correctly retrying truncated requests to an upstream DNS
server with TCP. Instead, we'd return a truncated request to the user,
even if the user was querying us over TCP and thus able to handle a
large response.

Also, add an envknob and controlknob to allow users/us to disable this
behaviour if it turns out to be buggy ( DNS ).

Updates #9264

Signed-off-by: Andrew Dunham <andrew@du.nham.ca>
Change-Id: Ifb04b563839a9614c0ba03e9c564e8924c1a2bfd
2023-09-25 16:42:07 -04:00
..
label_string.go net/dns: retry forwarder requests over TCP 2023-09-25 16:42:07 -04:00
sockstats.go net/dns: retry forwarder requests over TCP 2023-09-25 16:42:07 -04:00
sockstats_noop.go all: avoid repeated default interface lookups 2023-04-20 15:46:01 -07:00
sockstats_tsgo.go net/netmon: make ChangeFunc's signature take new ChangeDelta, not bool 2023-08-23 10:42:14 -07:00
sockstats_tsgo_darwin.go sockstats: add validation for TCP socket stats 2023-03-08 13:39:30 -08:00
sockstats_tsgo_test.go net/sockstats: wait before reporting battery usage 2023-05-09 10:18:16 -07:00