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.
Mihai Parparita
edb02b63f8
net/sockstats: pass in logger to sockstats.WithSockStats
...
Using log.Printf may end up being printed out to the console, which
is not desirable. I noticed this when I was investigating some client
logs with `sockstats: trace "NetcheckClient" was overwritten by another`.
That turns to be harmless/expected (the netcheck client will fall back
to the DERP client in some cases, which does its own sockstats trace).
However, the log output could be visible to users if running the
`tailscale netcheck` CLI command, which would be needlessly confusing.
Updates tailscale/corp#9230
Signed-off-by: Mihai Parparita <mihai@tailscale.com>
3 years ago
..
art
net/art: implement the stride table building block of ART
3 years ago
connstats
net/connstats: fix ticker in NewStatistics ( #7225 )
3 years ago
dns
net/sockstats: pass in logger to sockstats.WithSockStats
3 years ago
dnscache
tstest: add method to Replace values for tests
3 years ago
dnsfallback
various: pass logger.Logf through to more places
3 years ago
flowtrack
all: update copyright and license headers
3 years ago
interfaces
net/interfaces: also allow link-local for AzureAppServices.
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/sockstats: pass in logger to sockstats.WithSockStats
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/interfaces, net/netns: add node attributes to control default interface getting and binding
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
net/sockstats: pass in logger to sockstats.WithSockStats
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: pass in logger to sockstats.WithSockStats
3 years ago
speedtest
all: update copyright and license headers
3 years ago
stun
all: use Go 1.20's bytes.Clone
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
all: update copyright and license headers
3 years ago
tshttpproxy
net/tshttpproxy: don't proxy through ourselves
3 years ago
tstun
net, wgengine/capture: encode NAT addresses in pcap stream
3 years ago
wsconn
all: update copyright and license headers
3 years ago