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 d0906cda97 net/sockstats: expose debug info
Exposes some internal state of the sockstats package via the C2N and
PeerAPI endpoints, so that it can be used for debugging. For now this
includes the estimated radio on percentage and a second-by-second view
of the times the radio was active.

Also fixes another off-by-one error in the radio on percentage that
was leading to >100% values (if n seconds have passed since we started
to monitor, there may be n + 1 possible seconds where the radio could
have been on).

Updates tailscale/corp#9230

Signed-off-by: Mihai Parparita <mihai@tailscale.com>
3 years ago
..
art net/art: skip tests on CI for now 3 years ago
connstats net/connstats: exclude traffic with internal Tailscale service (#7904) 3 years ago
dns various: add golangci-lint, fix issues (#7905) 3 years ago
dnscache tstest: add method to Replace values for tests 3 years ago
dnsfallback net/dnsfallback: more explicitly pass through logf function 3 years ago
flowtrack all: update copyright and license headers 3 years ago
interfaces net/netns: don't log errors when we can't get the default route on Darwin 3 years ago
memnet net/memnet: rename from net/nettest 3 years ago
netaddr all: update copyright and license headers 3 years ago
netcheck net/netcheck: reenable TestNodeAddrResolve on Windows 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
netns net/netns: don't log errors when we can't get the default route on Darwin 3 years ago
netstat net/{netns,netstat}: use new x/sys/cpu.IsBigEndian 3 years ago
netutil all: replace /kb/ links with /s/ equivalents 3 years ago
packet net, wgengine/capture: encode NAT addresses in pcap stream 3 years ago
ping all: update copyright and license headers 3 years ago
portmapper various: add golangci-lint, fix issues (#7905) 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/sockstats: expose debug info 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
tlsdial health, net/tlsdial: add healthcheck for self-signed cert 3 years ago
tsaddr all: replace /kb/ links with /s/ equivalents 3 years ago
tsdial various: add golangci-lint, fix issues (#7905) 3 years ago
tshttpproxy net/tshttpproxy: don't proxy through ourselves 3 years ago
tstun tailcfg: make SelfNodeV4MasqAddrForThisPeer a pointer 3 years ago
wsconn all: update copyright and license headers 3 years ago