The universal proxy platform https://sing-box.sagernet.org/
Find a file
世界 7df951e82c
usbip: cancel driver reattach attempts on session teardown
PLUGIN_HARDWARE_ONCE only suppresses retries of the initial attach;
when an established connection later drops, wsk_receive.cpp
unconditionally schedules background reattach attempts (~20 tries over
~2 hours) toward this session's dead one-shot loopback port. With
ephemeral port reuse those ghost connects steal a later session's
Accept and fail its Plugin. Wire up STOP_ATTACH_ATTEMPTS (0x805,
present in both bundled driver builds) and cancel the session's exact
host/service/busid location before plugout.
2026-06-10 09:24:08 +08:00
.github usbip: address review findings 2026-06-09 10:42:24 +08:00
adapter platform: Add tailscale device name and logout 2026-06-08 08:51:52 +08:00
clients Bump version 2026-06-03 16:33:44 +08:00
cmd Preserve comments between formatting 2026-06-08 08:51:45 +08:00
common usbip: cancel driver reattach attempts on session teardown 2026-06-10 09:24:08 +08:00
constant Add Linux usbip client and server services 2026-06-09 10:42:19 +08:00
daemon platform: Add tailscale device name and logout 2026-06-08 08:51:52 +08:00
dns Fix crash on Apple platforms caused by concurrent libresolv calls 2026-06-08 08:51:52 +08:00
docs usbip: trim ADR + narrative comments, rename locks, drop one-use helpers 2026-06-09 10:42:33 +08:00
experimental platform: Add tailscale device name and logout 2026-06-08 08:51:52 +08:00
include Add Linux usbip client and server services 2026-06-09 10:42:19 +08:00
log Fix lint errors 2026-05-13 23:39:27 +08:00
option usbip: enforce broadcast invariant and clone-on-stale to close recurring races 2026-06-09 10:42:32 +08:00
protocol platform: Add tailscale device name and logout 2026-06-08 08:51:52 +08:00
release Add cloudflared inbound 2026-06-08 08:51:38 +08:00
route route: Refetch rule-set when cache restore fails 2026-06-08 08:51:49 +08:00
service usbip: cancel driver reattach attempts on session teardown 2026-06-10 09:24:08 +08:00
test
transport Fix ping timeout 2026-06-03 12:56:36 +08:00
.fpm_openwrt
.fpm_pacman
.fpm_systemd
.gitattributes usbip: restore VBoxUSB INF assets corrupted by line-ending normalization 2026-06-10 09:23:04 +08:00
.gitignore
.gitmodules
.golangci.yml Add TLS spoof support 2026-06-08 08:51:41 +08:00
box.go Refactor: HTTP clients, unified HTTP2/QUIC options, Apple engines 2026-06-08 08:51:40 +08:00
debug.go
debug_http.go
debug_stub.go
debug_unix.go
Dockerfile
Dockerfile.binary
go.mod tailscale: Add tailssh server 2026-06-08 08:51:51 +08:00
go.sum tailscale: Add tailssh server 2026-06-08 08:51:51 +08:00
LICENSE
Makefile release: Fix upload_android 2026-06-03 12:56:36 +08:00
mkdocs.yml Add hysteria2 realm service and support 2026-06-08 08:51:47 +08:00
README.md documentation: Remove warp ads 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.