tailscale/wgengine/magicsock
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
2025-03-12 17:45:26 -04:00
..
batching_conn_default.go wgengine/magicsock: refactor batchingUDPConn to batchingConn interface (#13042) 2024-08-06 09:00:28 -07:00
batching_conn_linux_test.go wgengine/magicsock: refactor batchingUDPConn to batchingConn interface (#13042) 2024-08-06 09:00:28 -07:00
batching_conn_linux.go wgengine/magicsock: don't upgrade to linuxBatchingConn on Android (#13161) 2024-08-15 14:54:25 -07:00
batching_conn.go wgengine/magicsock: refactor batchingUDPConn to batchingConn interface (#13042) 2024-08-06 09:00:28 -07:00
blockforever_conn.go wgengine/magicsock: improve don't fragment bit set/get support 2023-09-21 04:17:12 -07:00
cloudinfo_nocloud.go wgengine/magicsock: use cloud metadata to get public IPs 2024-08-02 16:05:14 -04:00
cloudinfo_test.go wgengine/magicsock: use cloud metadata to get public IPs 2024-08-02 16:05:14 -04:00
cloudinfo.go wgengine/magicsock: use cloud metadata to get public IPs 2024-08-02 16:05:14 -04:00
debughttp.go all: use iterators over slice views more 2024-11-11 13:22:34 -08:00
debugknobs_stubs.go wgengine/magicsock: allow a CSV list for pretendpoint 2024-07-10 09:57:28 -07:00
debugknobs.go wgengine/magicsock: allow a CSV list for pretendpoint 2024-07-10 09:57:28 -07:00
derp_test.go net/netcheck,wgengine/magicsock: align DERP frame receive time heuristics 2024-04-05 13:04:42 -07:00
derp.go wgengine/magicsock: use learned DERP route as send path of last resort 2025-03-07 05:37:24 -08:00
discopingpurpose_string.go wgengine/magicsock: implement probing of UDP path lifetime (#10844) 2024-01-23 09:37:32 -08:00
endpoint_default.go all: adjust some build tags for plan9 2023-08-24 15:42:35 -07:00
endpoint_stub.go all: adjust some build tags for plan9 2023-08-24 15:42:35 -07:00
endpoint_test.go wgengine/magicsock: implement probing of UDP path lifetime (#10844) 2024-01-23 09:37:32 -08:00
endpoint_tracker_test.go all: use Go 1.22 range-over-int 2024-04-16 15:32:38 -07:00
endpoint_tracker.go wgengine/magicsock: only cache N most recent endpoints per-Addr 2023-08-15 14:06:42 -07:00
endpoint.go wgengine/magicsock: use learned DERP route as send path of last resort 2025-03-07 05:37:24 -08:00
magicsock_default.go wgengine/magicsock: disable raw disco by default; add envknob to enable 2024-09-16 11:06:33 -07:00
magicsock_linux_test.go wgengine/magicsock: actually use AF_PACKET socket for raw disco 2024-09-03 12:50:09 -04:00
magicsock_linux.go wgengine/magicsock: disable raw disco by default; add envknob to enable 2024-09-16 11:06:33 -07:00
magicsock_notplan9.go wgengine/magicsock: refactor maybeRebindOnError 2025-01-07 10:46:37 -08:00
magicsock_notwindows.go wgengine/magicsock: disable SIO_UDP_NETRESET on Windows 2024-08-15 12:11:33 -04:00
magicsock_plan9.go wgengine/magicsock: refactor maybeRebindOnError 2025-01-07 10:46:37 -08:00
magicsock_test.go all: add Node.HomeDERP int, phase out "127.3.3.40:$region" hack [capver 111] 2025-01-14 12:27:14 -08:00
magicsock_unix_test.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
magicsock_windows.go wgengine/magicsock: disable SIO_UDP_NETRESET on Windows 2024-08-15 12:11:33 -04:00
magicsock.go net/netmon, wgengine/magicsock: be quieter with portmapper logs 2025-03-12 17:45:26 -04:00
peermap.go wgengine/magicsock: allow disco communication without known endpoints 2024-04-11 09:29:49 -07:00
peermtu_darwin.go wgengine/magicsock: improve don't fragment bit set/get support 2023-09-21 04:17:12 -07:00
peermtu_linux.go wgengine/magicsock: improve don't fragment bit set/get support 2023-09-21 04:17:12 -07:00
peermtu_stubs.go magicsock: mute noisy expected peer mtu related error (#10870) 2024-01-19 20:04:22 -05:00
peermtu_unix.go wgengine/magicsock: replace CanPMTUD() with ShouldPMTUD() 2023-09-21 04:17:12 -07:00
peermtu.go magicsock: mute noisy expected peer mtu related error (#10870) 2024-01-19 20:04:22 -05:00
rebinding_conn.go wgengine/magicsock: refactor batchingUDPConn to batchingConn interface (#13042) 2024-08-06 09:00:28 -07:00