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
Mihai Parparita 4c2f67a1d0 net/sockstat: fix per-interface statistics not always being available
withSockStats may be called before setLinkMonitor, in which case we
don't have a populated knownInterfaces map. Since we pre-populate the
per-interface counters at creation time, we would end up with an
empty map. To mitigate this, we do an on-demand request for the list of
interfaces.

This would most often happen with the logtail instrumentation, since we
initialize it very early on.

Updates tailscale/corp#9230

Signed-off-by: Mihai Parparita <mihai@tailscale.com>
2 years ago
..
connstats
dns sockstats: switch label to enum 2 years ago
dnscache tstest: add method to Replace values for tests 2 years ago
dnsfallback util/slicesx: add package for generic slice functions, use 2 years ago
flowtrack
interfaces all: use tstest.Replace more 2 years ago
memnet
netaddr all: update copyright and license headers 2 years ago
netcheck sockstats: switch label to enum 2 years ago
neterror
netknob all: update copyright and license headers 2 years ago
netns
netstat
netutil net/netutil: only check Linux sysctls w/ procfs, assume absent means false 2 years ago
packet
ping
portmapper sockstats: switch label to enum 2 years ago
proxymux
routetable net/routetable: include unknown flags in the routetable doctor output 2 years ago
socks5 net/socks5: add password auth support 2 years ago
sockstats net/sockstat: fix per-interface statistics not always being available 2 years ago
speedtest
stun all: use Go 1.20's bytes.Clone 2 years ago
tlsdial health, net/tlsdial: add healthcheck for self-signed cert 2 years ago
tsaddr
tsdial
tshttpproxy all: use tstest.Replace more 2 years ago
tstun
wsconn