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
Josh Bleecher Snyder e055d10f5b net/tstun: rate limit "self disco out packet" logging
When this happens, it is incredibly noisy in the logs.
It accounts for about a third of all remaining
"unexpected" log lines from a recent investigation.

It's not clear that we know how to fix this,
we have a functioning workaround,
and we now have a (cheap and efficient) metric for this
that we can use for measurements.

So reduce the logging to approximately once per minute.

Signed-off-by: Josh Bleecher Snyder <josh@tailscale.com>
(cherry picked from commit 73beaaf360)
4 years ago
..
dns net/dns: require space after nameserver/search parsing resolv.conf 4 years ago
dnscache net/{dnscache,interfaces}: use netaddr.IP.IsPrivate, delete copied code 5 years ago
dnsfallback cmd/cloner: mangle "go:generate" in cloner.go 4 years ago
flowtrack all: use testingutil.MinAllocsPerRun 4 years ago
interfaces net/interfaces/windows: update Tailscale interface detection logic to 4 years ago
netcheck netcheck, controlclient, magicsock: add more metrics 4 years ago
netknob all: disable TCP keep-alives on iOS/Android 4 years ago
netns all: disable TCP keep-alives on iOS/Android 4 years ago
netstat all: gofmt with Go 1.17 5 years ago
nettest net/nettest: make nettest.NewConn pass x/net/nettest.TestConn. 5 years ago
packet all: use testingutil.MinAllocsPerRun 4 years ago
portmapper net/portmapper: only print PCP/PMP if VerboseLogs 4 years ago
socks5 net/socks5/tssocks: add a SOCKS5 dialer type, method-ifying code 5 years ago
speedtest all: fix spelling mistakes 4 years ago
stun all: gofmt with Go 1.17 5 years ago
tlsdial net/tlsdial: add forgotten test file for go mod tidy 4 years ago
tsaddr ipn/ipnlocal: for IPv6-only nodes, publish IPv6 MagicDNS records of peers 4 years ago
tshttpproxy all: gofmt with Go 1.17 5 years ago
tstun net/tstun: rate limit "self disco out packet" logging 4 years ago