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
James Tucker 6e334e64a1 net/netcheck,wgengine/magicsock: align DERP frame receive time heuristics
The netcheck package and the magicksock package coordinate via the
health package, but both sides have time based heuristics through
indirect dependencies. These were misaligned, so the implemented
heuristic aimed at reducing DERP moves while there is active traffic
were non-operational about 3/5ths of the time.

It is problematic to setup a good test for this integration presently,
so instead I added comment breadcrumbs along with the initial fix.

Updates #8603

Signed-off-by: James Tucker <james@tailscale.com>
2 years ago
..
art all: cleanup unused code, part 2 (#10670) 2 years ago
connstats net/connstats: exclude traffic with internal Tailscale service (#7904) 3 years ago
dns clientupdate, net/dns: fix some "tailsacle" typos 2 years ago
dnscache util/cmpx: delete now that we're using Go 1.22 2 years ago
dnsfallback net/dnsfallback: add singleflight to recursive resolver 2 years ago
flowtrack all: update copyright and license headers 3 years ago
interfaces net/interfaces: fix test hang on Darwin 2 years ago
ktimeout net/ktimeout: add a package to set TCP user timeout 2 years ago
memnet net/memnet: export the network name (#9111) 2 years ago
netaddr all: update copyright and license headers 3 years ago
netcheck net/netcheck,wgengine/magicsock: align DERP frame receive time heuristics 2 years ago
neterror net/neterror, wgengine/magicsock: use UDP GSO and GRO on Linux (#7791) 3 years ago
netkernelconf client/tailscale,ipn/{ipnlocal,localapi}: check UDP GRO config (#10071) 2 years ago
netknob all: update copyright and license headers 3 years ago
netmon net/netmon: when a new network is added, trigger netmon update (#10840) 2 years ago
netns net/{interfaces,netmon}: remove "interesting", EqualFiltered API 2 years ago
netstat net/{netns,netstat}: use new x/sys/cpu.IsBigEndian 3 years ago
netutil health: warn about reverse path filtering and exit nodes 2 years ago
packet net/packet: allow more ICMP errors 2 years ago
ping net/ping: fix ICMP echo code field to 0 2 years ago
portmapper tailcfg, ipn/ipnlocal, wgengine/magicsock: add only-tcp-443 node attr 2 years ago
proxymux all: cleanup unused code, part 1 (#10661) 2 years ago
routetable net/routetable: increase route limit used by the test 2 years ago
socks5 net/socks5: add password auth support 3 years ago
sockstats net/dns: retry forwarder requests over TCP 2 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
stunserver cmd/{derper,stund},net/stunserver: add standalone stun server 2 years ago
tcpinfo net/tcpinfo: add package to allow fetching TCP information 2 years ago
tlsdial cmd/tailscale/cli: make netcheck run even if machine lacks TLS certs 2 years ago
tsaddr all: remove LenIter, use Go 1.22 range-over-int instead 2 years ago
tsdial all: remove LenIter, use Go 1.22 range-over-int instead 2 years ago
tshttpproxy net/tshttpproxy: log when we're using a proxy 2 years ago
tstun net/tstun: use gaissmai/bart instead of tempfork/device 2 years ago
wsconn net/wsconn: accept a remote addr string and plumb it through 2 years ago