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/magicsock
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>
2 years ago
..
debughttp.go wgengine/magicsock: fix panic in http debug server 2 years ago
debugknobs.go all: remove old +build tags 2 years ago
debugknobs_stubs.go all: remove old +build tags 2 years ago
discopingpurpose_string.go
magicsock.go wgengine/magicsock: quiet log flood at tailscaled shutdown 2 years ago
magicsock_default.go all: remove old +build tags 2 years ago
magicsock_linux.go wgengine/magicsock: set UDP socket buffer sizes to 7MB 2 years ago
magicsock_test.go ipn/ipnlocal: fix StatusWithoutPeers not populating parts of Status 2 years ago
magicsock_unix_test.go all: remove old +build tags 2 years ago
pathfinder.go wgengine/magicsock: set up pathfinder (#5994) 2 years ago