世界 9e27f3413b Fix unbounded ICMP sockets in direct outbound
The direct outbound opens one ICMP socket for each echo flow. The
sockets were kept for one minute after the last packet and their
number was not limited, so scanning hosts through the outbound could
accumulate an unbounded number of sockets, which has been reported to
panic the kernel on macOS.

Close idle flows after ICMPTimeout as the stacks do, and keep at most
1024 flows, closing a least recently active one when the limit is
reached.
2026-11-16 06:46:49 +00:00
2026-10-23 22:39:13 +08:00
2026-11-14 05:16:50 +00:00
2026-09-01 22:39:35 +08:00
2026-10-23 19:57:07 +08:00
2026-08-30 17:41:44 +08:00
2026-11-14 07:52:37 +00:00
2026-02-27 14:58:06 +08:00
2026-02-15 21:10:44 +08:00
2026-08-30 17:41:43 +08:00
2026-08-30 17:41:46 +08:00
2023-12-29 18:00:40 +08:00
2023-12-29 18:00:40 +08:00
2026-08-30 17:41:43 +08:00
2026-08-30 17:41:45 +08:00
2023-03-27 08:20:51 +08:00
2026-10-23 19:57:06 +08:00
2026-04-20 09:49:39 +08:00

sing-box

The universal proxy platform.

Packaging status

Documentation

https://sing-box.sagernet.org

License

Copyright (C) 2022 by nekohasekai <contact-sagernet@sekai.icu>

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.

In addition, no derivative work may use the name or imply association
with this application without prior consent.
S
Description
No description provided
Readme
34 MiB
2026-04-26 18:31:13 +00:00
Languages
Go 92%
TypeScript 5.9%
Shell 1.1%
Objective-C 0.6%
Makefile 0.2%
Other 0.1%