Commit Graph

2081 Commits

Author SHA1 Message Date
Shtorm
ab9a37e0d4 Fix examples 2026-02-22 14:51:16 +03:00
Shtorm
a3aaf2cb92 Update xhttp 2026-02-22 14:48:52 +03:00
Shtorm
9e4eb52a82 Update sing-box core 2026-02-22 14:46:42 +03:00
世界
b9be5e3de7 Bump version 2026-02-15 21:05:34 +08:00
世界
1a0e413300 Fix matching multi predefined 2026-02-15 19:20:31 +08:00
世界
6bd4157a9c Fix matching rule-set invert 2026-02-15 19:20:11 +08:00
世界
fd1dadc3e0 wireguard: Fix missing fallback for gso 2026-02-15 19:20:03 +08:00
世界
2fc11b43af Bump version 2026-02-09 13:57:18 +08:00
世界
1d1b40c8b2 tuic: Fix udp context 2026-02-09 13:55:09 +08:00
世界
ca831f367a Fix naive padding 2026-02-09 13:53:32 +08:00
世界
264e7ad3ee Fix DNS cache lock goroutine leak
The cache deduplication in Client.Exchange uses a channel-based lock
per DNS question. Waiting goroutines blocked on <-cond without context
awareness, causing them to accumulate indefinitely when the owning
goroutine's transport call stalls. Add select on ctx.Done() so waiters
respect context cancellation and timeouts.
2026-02-06 22:28:30 +08:00
世界
6177981707 Bump version 2026-02-05 17:13:38 +08:00
世界
6db8307fd8 Update Go to 1.25.7 2026-02-05 17:12:42 +08:00
世界
1c57f08148 Fix route_address_set duplicated IP sets causing route creation failure
The FlatMap calls pre-populated routeAddressSet and routeExcludeAddressSet
before the for-loops which appended the same IP sets again, doubling every
entry. On Windows this caused CreateIpForwardEntry2 to return
ERROR_OBJECT_ALREADY_EXISTS.

Fixes #3725
2026-02-02 17:29:21 +08:00
世界
dd20d2dd96 Fix random iproute2 table index was incorrectly removed 2026-02-02 14:13:49 +08:00
世界
879848f6eb Bump version 2026-02-01 10:19:35 +08:00
世界
4b357da0bb Disable rp filter atomically 2026-02-01 10:17:34 +08:00
世界
9f5db8e8c1 Fix varbin serialization 2026-02-01 10:11:15 +08:00
世界
260145e8f7 Fix auto_redirect fallback rule 2026-01-29 12:07:15 +08:00
世界
bcf5ba02da Bump version 2026-01-28 16:56:08 +08:00
世界
4a83d436a2 Minor fixes 2026-01-28 16:56:08 +08:00
Shtorm
625f31f67c Update AmneziaWG 2026-01-25 21:24:43 +03:00
Shtorm
61826bc189 Resolve conflicts 2026-01-18 21:53:22 +03:00
Shtorm
8cc0e48117 Fix logger 2026-01-18 21:51:30 +03:00
世界
ce28df923d Bump version 2026-01-17 05:10:56 +08:00
世界
41c530ac8f Update Go to 1.25.6 2026-01-17 05:10:56 +08:00
世界
2ec0977115 Bump version 2026-01-17 04:54:24 +08:00
世界
7a212f7c7b Update uTLS to v1.8.2 2026-01-17 04:54:18 +08:00
世界
43823da9cd Update smux to v1.5.50 & Fix h2mux RST_STREAM on half-close 2026-01-17 04:17:14 +08:00
世界
a2c9fdd7b6 Bump version 2026-01-12 20:38:21 +08:00
世界
e3e6e9067c Fix logic issues with BBR impl 2026-01-12 20:34:04 +08:00
世界
2b732cef16 Bump version 2026-01-07 15:13:35 +08:00
Gavin Luo
e923f63606 Fix reset buffer in dhcp response loop
Previously, the buffer was not reset within the response loop. If a packet
handle failed or completed, the buffer retained its state. Specifically,
if `ReadPacketFrom` returned `io.ErrShortBuffer`, the error was ignored
via `continue`, but the buffer remained full. This caused the next
read attempt to immediately fail with the same error, creating a tight
busy-wait loop that consumed 100% CPU.

Validates `buffer.Reset()` is called at the start of each iteration to
ensure a clean state for 'ReadPacketFrom'.
2026-01-05 17:46:59 +08:00
世界
53f0e142e5 Fix Tailscale endpoint using wrong source IP with advertise_routes 2026-01-04 22:14:54 +08:00
Bruce Wayne
0b68c1d276 ducumentation: update Shadowsocks inbound documentation for SSM API 2026-01-02 19:18:52 +08:00
世界
21bff4ba42 Fix lint errors 2026-01-02 19:17:53 +08:00
世界
cb89991fe1 Revert "Pin gofumpt and golangci-lint versions"
This reverts commit 6775c029df.
2026-01-02 19:14:13 +08:00
世界
2453747018 Fix duplicate tag detection for empty tags
Closes https://github.com/SagerNet/sing-box/issues/3665
2026-01-02 19:14:13 +08:00
世界
59314bbce4 Fix quic sniffer 2026-01-02 19:14:13 +08:00
世界
2cc7894a0d Bump version 2025-12-25 14:47:10 +08:00
世界
4637874b3c Update Mozilla certificates 2025-12-25 14:42:18 +08:00
世界
9f7368a4dc Ignore darwin IP_DONTFRAG error when not supported 2025-12-25 14:40:48 +08:00
世界
83e0a8bc48 Fix TCP DNS response buffer 2025-12-22 13:51:00 +08:00
世界
0f5810c43c Fix missing RootPoolFromContext and TimeFuncFromContext in HTTP clients 2025-12-22 13:50:57 +08:00
世界
4eb91d69fe Fix DNS cache not working when domain strategy is set
The cache lookup was performed before rule matching, using the caller's
strategy (usually AsIS/0) instead of the resolved strategy. This caused
cache misses when ipv4_only was configured globally but the cache lookup
expected both A and AAAA records.

Remove LookupCache and ExchangeCache from Router, as the cache checks
inside client.Lookup and client.Exchange already handle caching correctly
after rule matching with the proper strategy and transport.
2025-12-21 16:59:10 +08:00
世界
b1800571e7 Bump version 2025-12-14 00:09:19 +08:00
世界
671c49ca6f Update Go to 1.25.5 2025-12-13 20:11:29 +08:00
世界
b651ac4f39 Fix naive inbound 2025-12-12 21:19:28 +08:00
Shtorm
0f38dbba4c Update XHTTP 2025-12-11 02:46:57 +03:00
Shtorm
92beba066b Fix typo 2025-12-08 23:18:51 +03:00