tailscale/net/tstun
Josh Bleecher Snyder 73beaaf360 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>
2021-11-23 12:52:52 -08:00
..
fake.go go.mod: upgrade wireguard-windows, de-fork wireguard-go 2021-05-25 13:18:21 -07:00
ifstatus_noop.go all: gofmt with Go 1.17 2021-08-05 15:54:00 -07:00
ifstatus_windows.go go.mod: upgrade wireguard-windows, de-fork wireguard-go 2021-05-25 13:18:21 -07:00
tap_linux.go net/tstun: use unix.Ifreq type for Linux TAP interface configuration 2021-08-17 12:17:51 -07:00
tap_unsupported.go all: gofmt with Go 1.17 2021-08-05 15:54:00 -07:00
tun.go net/tstun: don't compile the code New constructor on js/wasm 2021-10-21 10:36:30 -07:00
tun_linux.go net/tstun: fix build on arm 2021-08-18 15:28:14 -07:00
tun_macos.go net/tstun: move TUN failure diagnostics to OS-specific files 2021-08-16 11:24:25 -07:00
tun_notwindows.go all: gofmt with Go 1.17 2021-08-05 15:54:00 -07:00
tun_windows.go net/tstun: update tun_windows for wintun 0.14 API revisions, update wireguard-go dependency to 82d2aa87aa623cb5143a41c3345da4fb875ad85d 2021-10-12 16:07:46 -06:00
wrap.go net/tstun: rate limit "self disco out packet" logging 2021-11-23 12:52:52 -08:00
wrap_test.go net/tstun: rate limit "self disco out packet" logging 2021-11-23 12:52:52 -08:00