Commit graph

6 commits

Author SHA1 Message Date
世界
30e535973b
ping: Fix stale flows kept alive by unrelated ICMP traffic
Unconnected raw ICMP sockets receive every ICMP packet arriving at the
host, so any ICMP traffic refreshed the read deadline of every flow and
stale flows (with their raw sockets and goroutines) were only reclaimed
by LRU eviction while processing all host ICMP traffic in the meantime.

Expire flows based on their own activity only, and on Linux attach a
classic BPF ident filter to each raw socket so other flows' packets are
dropped in the kernel instead of waking every flow.
2026-07-27 23:11:48 +08:00
世界
1aa83a9f92
ping: limit ICMP read buffer size 2026-06-03 10:34:17 +08:00
世界
0381a06643
ping: Add destination rewriter 2025-09-11 18:51:00 +08:00
世界
59e42c0d1f
ping: Fix rewriter 2025-08-25 22:04:16 +08:00
世界
737ebf01c4
ping: Add timeout to destinations 2025-08-24 18:19:39 +08:00
世界
86d96064d5
ping: Add gVisor destination 2025-08-24 10:36:16 +08:00