mirror of
https://github.com/SagerNet/sing-box.git
synced 2026-11-16 21:17:41 +00:00
The universal proxy platform
https://sing-box.sagernet.org/
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. |
||
|---|---|---|
| .github | ||
| adapter | ||
| clients | ||
| cmd | ||
| common | ||
| constant | ||
| daemon | ||
| dns | ||
| docs | ||
| experimental | ||
| include | ||
| log | ||
| option | ||
| protocol | ||
| release | ||
| route | ||
| schema | ||
| service | ||
| test | ||
| transport | ||
| .fpm_openwrt | ||
| .fpm_pacman | ||
| .fpm_systemd | ||
| .gitignore | ||
| .gitmodules | ||
| .golangci.yml | ||
| box.go | ||
| debug.go | ||
| debug_http.go | ||
| debug_stub.go | ||
| debug_unix.go | ||
| Dockerfile | ||
| Dockerfile.binary | ||
| go.mod | ||
| go.sum | ||
| LICENSE | ||
| Makefile | ||
| mkdocs.yml | ||
| README.md | ||
sing-box
The universal proxy platform.
Documentation
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.