You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Andrew Dunham
286c6ce27c
net/dns/resolver: race UDP and TCP queries ( #9544 )
...
Instead of just falling back to making a TCP query to an upstream DNS
server when the UDP query returns a truncated query, also start a TCP
query in parallel with the UDP query after a given race timeout. This
ensures that if the upstream DNS server does not reply over UDP (or if
the response packet is blocked, or there's an error), we can still make
queries if the server replies to TCP queries.
This also adds a new package, util/race, to contain the logic required for
racing two different functions and returning the first non-error answer.
Updates tailscale/corp#14809
Signed-off-by: Andrew Dunham <andrew@du.nham.ca>
Change-Id: I4311702016c1093b1beaa31b135da1def6d86316
3 years ago
..
art
net/art: allow non-pointers as values
3 years ago
connstats
net/connstats: exclude traffic with internal Tailscale service ( #7904 )
3 years ago
dns
net/dns/resolver: race UDP and TCP queries ( #9544 )
3 years ago
dnscache
tstest: prepare for Clock API changes
3 years ago
dnsfallback
net/dnsfallback: remove net/dnsfallback go:generate line
3 years ago
flowtrack
all: update copyright and license headers
3 years ago
interfaces
net/tsdial: be smarter about when to close SystemDial conns
3 years ago
memnet
net/memnet: export the network name ( #9111 )
3 years ago
netaddr
all: update copyright and license headers
3 years ago
netcheck
net/netcheck,wgengine/magicsock: reduce coupling between netcheck and magicsock
3 years ago
neterror
net/neterror, wgengine/magicsock: use UDP GSO and GRO on Linux ( #7791 )
3 years ago
netknob
all: update copyright and license headers
3 years ago
netmon
net/netmon: log when the gateway/self IP changes
3 years ago
netns
net/{interfaces,netmon}: remove "interesting", EqualFiltered API
3 years ago
netstat
net/{netns,netstat}: use new x/sys/cpu.IsBigEndian
3 years ago
netutil
cmd/tailscale: refactor shared utility methods
3 years ago
packet
net/packet: implement methods for rewriting v6 addresses
3 years ago
ping
net/ping: fix ICMP echo code field to 0
3 years ago
portmapper
net/portmapper: fix invalid UPnP metric name
3 years ago
proxymux
all: update copyright and license headers
3 years ago
routetable
net/routetable: include unknown flags in the routetable doctor output
3 years ago
socks5
net/socks5: add password auth support
3 years ago
sockstats
net/dns: retry forwarder requests over TCP
3 years ago
speedtest
all: update copyright and license headers
3 years ago
stun
wgengine/magicsock, types/nettype, etc: finish ReadFromUDPAddrPort netip migration
3 years ago
tcpinfo
net/tcpinfo: add package to allow fetching TCP information
3 years ago
tlsdial
cmd/tailscale/cli: make netcheck run even if machine lacks TLS certs
3 years ago
tsaddr
types/netmap: remove NetworkMap.{Addresses,MachineStatus}
3 years ago
tsdial
types/netmap: remove NetworkMap.{Addresses,MachineStatus}
3 years ago
tshttpproxy
net/tshttpproxy: don't proxy through ourselves
3 years ago
tstun
net/tstun: remove unused function DefaultMTU()
3 years ago
wsconn
net/wsconn: accept a remote addr string and plumb it through
3 years ago