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/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>
3 years ago
..
fake.go go.mod: upgrade wireguard-windows, de-fork wireguard-go 4 years ago
ifstatus_noop.go all: gofmt with Go 1.17 3 years ago
ifstatus_windows.go go.mod: upgrade wireguard-windows, de-fork wireguard-go 4 years ago
tap_linux.go net/tstun: use unix.Ifreq type for Linux TAP interface configuration 3 years ago
tap_unsupported.go all: gofmt with Go 1.17 3 years ago
tun.go net/tstun: don't compile the code New constructor on js/wasm 3 years ago
tun_linux.go net/tstun: fix build on arm 3 years ago
tun_macos.go net/tstun: move TUN failure diagnostics to OS-specific files 3 years ago
tun_notwindows.go all: gofmt with Go 1.17 3 years ago
tun_windows.go net/tstun: update tun_windows for wintun 0.14 API revisions, update wireguard-go dependency to 82d2aa87aa623cb5143a41c3345da4fb875ad85d 3 years ago
wrap.go net/tstun: rate limit "self disco out packet" logging 3 years ago
wrap_test.go net/tstun: rate limit "self disco out packet" logging 3 years ago