tailscale/net
James Tucker aa04f61d5e net/netcheck: adjust HTTPS latency check to connection time and avoid data race
The go-httpstat package has a data race when used with connections that
are performing happy-eyeballs connection setups as we are in the DERP
client. There is a long-stale PR upstream to address this, however
revisiting the purpose of this code suggests we don't really need
httpstat here.

The code populates a latency table that may be used to compare to STUN
latency, which is a lightweight RTT check. Switching out the reported
timing here to simply the request HTTP request RTT avoids the
problematic package.

Fixes tailscale/corp#25095

Signed-off-by: James Tucker <james@tailscale.com>
2024-12-13 12:53:10 -08:00
..
art all: fix new lint warnings from bumping staticcheck 2024-08-22 12:31:08 -07:00
captivedetection net/captivedetection: replace 10k log lines with ... less 2024-11-15 15:25:31 -08:00
connstats {net/connstats,wgengine/magicsock}: fix packet counting in connstats 2024-10-14 14:17:56 +02:00
dns net/dns: fix blank lines being added to resolv.conf on OpenBSD (#13928) 2024-10-28 08:00:48 -07:00
dnscache net/dnscache: don't fall back to an IPv6 dial if we don't have IPv6 2024-10-02 10:41:08 -05:00
dnsfallback {control,net}: close idle connections of custom transports 2024-08-05 17:28:15 +01:00
flowtrack net/flowtrack: fix, test String method 2024-06-18 21:44:44 -07:00
ipset all: use iterators over slice views more 2024-11-11 13:22:34 -08:00
ktimeout net/ktimeout: add a package to set TCP user timeout 2024-02-20 10:49:58 -08:00
memnet
netaddr
netcheck net/netcheck: adjust HTTPS latency check to connection time and avoid data race 2024-12-13 12:53:10 -08:00
neterror
netkernelconf ipn/{ipnlocal,localapi},net/netkernelconf,client/tailscale,cmd/containerboot: optionally enable UDP GRO forwarding for containers (#12410) 2024-06-10 19:19:03 +01:00
netknob
netmon net/netmon: improve panic reporting from #14202 2024-11-25 12:31:24 -08:00
netns net/netns: remove some logspam by avoiding logging parse errors due to unspecified addresses 2024-07-31 12:34:16 -06:00
netstat all: add test for package comments, fix, add comments as needed 2024-07-10 09:57:00 -07:00
netutil {ipn,net,tsnet}: use tsaddr helpers 2024-09-26 12:17:31 +02:00
packet wgengine/magicsock: actually use AF_PACKET socket for raw disco 2024-09-03 12:50:09 -04:00
ping
portmapper net/portmapper: don't treat 0.0.0.0 as a valid IP 2024-10-01 16:11:47 -05:00
proxymux all: cleanup unused code, part 1 (#10661) 2023-12-20 14:50:30 -08:00
routetable net/{interfaces,netmon}, all: merge net/interfaces package into net/netmon 2024-04-28 07:34:52 -07:00
socks5 net/socks5: optimize UDP relay 2024-11-01 15:47:52 -07:00
sockstats net/sockstats: prevent crash in setNetMon (#13985) 2024-10-31 12:00:34 -07:00
speedtest
stun ci: enable checklocks workflow for specific packages 2024-06-26 13:55:07 -04:00
stunserver all: use Go 1.22 range-over-int 2024-04-16 15:32:38 -07:00
tcpinfo all: use Go 1.22 range-over-int 2024-04-16 15:32:38 -07:00
tlsdial net/tlsdial: call out firewalls blocking Tailscale in health warnings (#13840) 2024-10-19 00:35:46 +00:00
tsaddr net/tsaddr: include test input in test failure output 2024-11-21 08:32:38 -08:00
tsdial all: use iterators over slice views more 2024-11-11 13:22:34 -08:00
tshttpproxy types/result, util/lineiter: add package for a result type, use it 2024-11-05 10:27:52 -08:00
tstun net/tstun: remove tailscaled_outbound_dropped_packets_total reason=acl metric for now 2024-12-04 08:55:54 -08:00
wsconn go.{mod,sum}: migrate from nhooyr.io/websocket to github.com/coder/websocket 2024-08-14 21:23:49 -07:00