Commit graph

16 commits

Author SHA1 Message Date
世界
ed63adda33
Add flow dispatcher 2026-07-27 23:11:48 +08:00
世界
a9027729be
Make gtcpip public for external use 2026-07-27 23:11:48 +08:00
世界
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
世界
1251022fce
ping: Fix missing TTL and ICMP error handling 2026-07-27 23:11:48 +08:00
世界
1aa83a9f92
ping: limit ICMP read buffer size 2026-06-03 10:34:17 +08:00
世界
47ac4d08b1
ping: Fix unprivileged conn leak 2026-05-19 16:26:55 +08:00
wwqgtxx
e9e3fbf0c1 Apply ping destination filter for Windows 2025-12-01 08:47:38 +08:00
wwqgtxx
4fb5702443 ping: Add needFilter 2025-08-26 13:20:50 +08:00
wwqgtxx
6e4e045620 ping: Limit old requests 2025-08-26 11:47:14 +08:00
世界
79e2d3b56d
ping: Clean old requests 2025-08-26 11:09:50 +08:00
世界
144683d882
ping: Add filter to destination 2025-08-25 20:57:18 +08:00
世界
737ebf01c4
ping: Add timeout to destinations 2025-08-24 18:19:39 +08:00
wwqgtxx
bee7be8598
ping: fix Logs 2025-08-24 12:50:12 +08:00
世界
d53158b8d7
ping: Add logs 2025-08-24 12:39:56 +08:00
世界
f46791bc0d
Fix gvisor icmp destination 2025-08-23 16:43:33 +08:00
世界
8dbb51cfb7
Add ping client 2025-08-23 16:16:28 +08:00