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
Brad Fitzpatrick 53a2f63658 net/dns/resolver: race well-known resolvers less aggressively
Instead of blasting away at all upstream resolvers at the same time,
make a timing plan upon reconfiguration and have each upstream have an
associated start delay, depending on the overall forwarding config.

So now if you have two or four upstream Google or Cloudflare DNS
servers (e.g. two IPv4 and two IPv6), we now usually only send a
query, not four.

This is especially nice on iOS where we start fewer DoH queries and
thus fewer HTTP/1 requests (because we still disable HTTP/2 on iOS),
fewer sockets, fewer goroutines, and fewer associated HTTP buffers,
etc, saving overall memory burstiness.

Fixes #2436
Updates tailscale/corp#2250
Updates tailscale/corp#2238

Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
4 years ago
..
dns net/dns/resolver: race well-known resolvers less aggressively 4 years ago
dnscache control/controlclient, net/{dnscache,dnsfallback}: add DNS fallback mechanism 5 years ago
dnsfallback net/dnsfallback: regenerate 4 years ago
flowtrack net/packet, wgengine/filter: support SCTP 5 years ago
interfaces net/interface: add AWS App Runner /proc/net/route test 4 years ago
netcheck net/{interfaces,netcheck}: rename some fields, funcs 5 years ago
netns netns_linux: remove special handling for tests. 4 years ago
netstat all: adapt to opaque netaddr types 5 years ago
nettest net/nettest: make nettest.NewConn pass x/net/nettest.TestConn. 5 years ago
packet net/packet: use netaddr AppendTo methods 5 years ago
portmapper net/portmapper: disable UPnP on iOS for now 4 years ago
socks5 net/socks5/tssocks: add a SOCKS5 dialer type, method-ifying code 5 years ago
speedtest Implemented Commandline Download Speedtest (#2064) 4 years ago
stun tstest/integration: add testNode.AwaitListening, DERP+STUN, improve proxy trap 5 years ago
tlsdial net/tlsdial, derp/derphttp: finish DERPNode.CertName validation 6 years ago
tsaddr net/tsaddr: simplify TailscaleServiceIP 5 years ago
tshttpproxy net/tshttpproxy: call winhttp calls from a fixed OS thread 5 years ago
tstun net/tstun: fix data races 5 years ago