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/wgengine
Brad Fitzpatrick 2df38b1feb wgengine/magicsock: quiet log flood at tailscaled shutdown
When you hit control-C on a tailscaled (notably in dev mode, but
also on any systemctl stop/restart), there is a flood of messages like:

magicsock: doing cleanup for discovery key d:aa9c92321db0807f
magicsock: doing cleanup for discovery key d:bb0f16aacadbfd46
magicsock: doing cleanup for discovery key d:b5b2d386296536f2
magicsock: doing cleanup for discovery key d:3b640649f6796c91
magicsock: doing cleanup for discovery key d:71d7b1afbcce52cd
magicsock: doing cleanup for discovery key d:315b61d7e0111377
magicsock: doing cleanup for discovery key d:9301f63dce69bf45
magicsock: doing cleanup for discovery key d:376141884d6fe072
....

It can be hundreds or even tens of thousands.

So don't do that. Not a useful log message during shutdown.

Change-Id: I029a8510741023f740877df28adff778246c18e5
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
3 years ago
..
bench all: update golang.zx2c4.com/wireguard to github.com/tailscale/wireguard-go (#6692) 3 years ago
filter net/{packet,tstun},wgengine/filter: fix unknown IP protocol handling 3 years ago
magicsock wgengine/magicsock: quiet log flood at tailscaled shutdown 3 years ago
monitor wgengine/monitor: don't log unhandled RTM_{NEW,DEL}LINK messages 3 years ago
netlog net/connstats: enforce maximum number of connections (#6760) 3 years ago
netstack wgengine/netstack: change netstack API to require LocalBackend 3 years ago
router all: update golang.zx2c4.com/wireguard to github.com/tailscale/wireguard-go (#6692) 3 years ago
wgcfg util/codegen, all: use latest year, not time.Now, in generated files 3 years ago
wgint all: update golang.zx2c4.com/wireguard to github.com/tailscale/wireguard-go (#6692) 3 years ago
wglog all: update golang.zx2c4.com/wireguard to github.com/tailscale/wireguard-go (#6692) 3 years ago
winnet all: remove old +build tags 3 years ago
mem_ios.go all: update golang.zx2c4.com/wireguard to github.com/tailscale/wireguard-go (#6692) 3 years ago
pendopen.go wgengine: remove all peer status from open timeout diagnostics 3 years ago
userspace.go net/dns,userspace: remove unused DNS paths, normalize query limit on iOS 3 years ago
userspace_ext_test.go all: update golang.zx2c4.com/wireguard to github.com/tailscale/wireguard-go (#6692) 3 years ago
userspace_test.go all: convert more code to use net/netip directly 3 years ago
watchdog.go all: remove old +build tags 3 years ago
watchdog_js.go wasm: drop pprof dependency 4 years ago
watchdog_test.go wgengine: remove all peer status from open timeout diagnostics 3 years ago
wgengine.go wgengine: fix typo in Engine.PeerForIP (#5912) 3 years ago