Commit graph

9 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
世界
aae2f0750c
Fix ping 2026-07-27 23:11:48 +08:00
世界
47ac4d08b1
ping: Fix unprivileged conn leak 2026-05-19 16:26:55 +08:00
世界
e6c64e3f18
Update icmp network name 2025-08-25 22:43:59 +08:00
世界
144683d882
ping: Add filter to destination 2025-08-25 20:57:18 +08:00
世界
548f51cc9d
ping: Fix test 2025-08-25 10:48:44 +08:00
世界
3faf8cf679
ping: Add test for ident 2025-08-24 14:07:35 +08:00
世界
d53158b8d7
ping: Add logs 2025-08-24 12:39:56 +08:00
世界
8dbb51cfb7
Add ping client 2025-08-23 16:16:28 +08:00