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/netmon
Andrew Dunham 640b2fa3ae net/netmon, wgengine/magicsock: be quieter with portmapper logs
This adds a new helper to the netmon package that allows us to
rate-limit log messages, so that they only print once per (major)
LinkChange event. We then use this when constructing the portmapper, so
that we don't keep spamming logs forever on the same network.

Updates #13145

Signed-off-by: Andrew Dunham <andrew@du.nham.ca>
Change-Id: I6e7162509148abea674f96efd76be9dffb373ae4
11 months ago
..
defaultroute_bsd.go
defaultroute_darwin.go net/netmon: remove spammy log statements (#11953) 2 years ago
interfaces_android.go types/result, util/lineiter: add package for a result type, use it 1 year ago
interfaces_bsd.go
interfaces_darwin.go
interfaces_darwin_test.go types/result, util/lineiter: add package for a result type, use it 1 year ago
interfaces_default_route_test.go
interfaces_defaultrouteif_todo.go
interfaces_freebsd.go
interfaces_linux.go types/result, util/lineiter: add package for a result type, use it 1 year ago
interfaces_linux_test.go
interfaces_test.go
interfaces_windows.go
interfaces_windows_test.go
loghelper.go net/netmon, wgengine/magicsock: be quieter with portmapper logs 11 months ago
loghelper_test.go net/netmon, wgengine/magicsock: be quieter with portmapper logs 11 months ago
netmon.go
netmon_darwin.go net/netmon: add extra panic guard around ParseRIB 12 months ago
netmon_darwin_test.go
netmon_freebsd.go
netmon_linux.go
netmon_linux_test.go types/result, util/lineiter: add package for a result type, use it 1 year ago
netmon_polling.go
netmon_test.go
netmon_windows.go
polling.go
state.go net/netmon: trim IPv6 endpoints in already routable subnets 1 year ago