Commit graph

2035 commits

Author SHA1 Message Date
世界
59dbf98770
release: Fix linux build 2026-01-12 20:41:34 +08:00
世界
0d137e9863
Improve ktls rx error handling 2026-01-12 20:41:33 +08:00
世界
51b1dd6664
Improve compatibility for kTLS 2026-01-12 20:41:33 +08:00
世界
b1c016b968
ktls: Add warning for inappropriate scenarios 2026-01-12 20:41:33 +08:00
世界
1ec999d222
Add support for kTLS
Reference: https://gitlab.com/go-extension/tls
2026-01-12 20:41:33 +08:00
世界
20f81796c0
Add proxy support for ICMP echo request 2026-01-12 20:41:32 +08:00
世界
f1ce48308a
Fix resolve using resolved 2026-01-12 20:41:09 +08:00
世界
1863d73b76
documentation: Update behavior of local DNS server on darwin 2026-01-12 20:41:09 +08:00
世界
a9fec11b3d
Remove use of ldflags -checklinkname=0 on darwin 2026-01-12 20:41:09 +08:00
世界
2b9b289566
Fix legacy DNS config 2026-01-12 20:41:09 +08:00
世界
5a4e0b7a0e
Fix rule-set format 2026-01-12 20:41:08 +08:00
世界
ea68c002a3
documentation: Remove outdated icons 2026-01-12 20:41:08 +08:00
世界
f79c05b67c
documentation: Improve local DNS server 2026-01-12 20:41:08 +08:00
世界
ecd1be3dbb
Stop using DHCP on iOS and tvOS
We do not have the `com.apple.developer.networking.multicast` entitlement and are unable to obtain it for non-technical reasons.
2026-01-12 20:41:08 +08:00
世界
d022eca0c6
Improve local DNS server on darwin
We mistakenly believed that `libresolv`'s `search` function worked correctly in NetworkExtension, but it seems only `getaddrinfo` does.

This commit changes the behavior of the `local` DNS server in NetworkExtension to prefer DHCP, falling back to `getaddrinfo` if DHCP servers are unavailable.

It's worth noting that `prefer_go` does not disable DHCP since it respects Dial Fields, but `getaddrinfo` does the opposite. The new behavior only applies to NetworkExtension, not to all scenarios (primarily command-line binaries) as it did previously.

In addition, this commit also improves the DHCP DNS server to use the same robust query logic as `local`.
2026-01-12 20:41:08 +08:00
世界
606cec98f7
Use resolved in local DNS server if available 2026-01-12 20:41:08 +08:00
xchacha20-poly1305
4cfe63c323
Fix rule set version 2026-01-12 20:41:08 +08:00
世界
31257f6f37
documentation: Add preferred_by route rule item 2026-01-12 20:41:08 +08:00
世界
035c76afe6
Add preferred_by route rule item 2026-01-12 20:41:07 +08:00
世界
8440617b95
documentation: Add interface address rule items 2026-01-12 20:41:07 +08:00
世界
594c823684
Add interface address rule items 2026-01-12 20:41:07 +08:00
世界
117164393f
Fix ECH retry support 2026-01-12 20:41:07 +08:00
neletor
6865cc877b
Add support for ech retry configs 2026-01-12 20:41:07 +08:00
Zephyruso
9547f12628
Add /dns/flush-clash meta api 2026-01-12 20:41:07 +08:00
世界
ab18010ee1
Bump version 2026-01-12 20:38:21 +08:00
世界
e69c202c79
Fix logic issues with BBR impl 2026-01-12 20:34:04 +08:00
世界
0a812f2a46
Bump version 2026-01-07 15:13:35 +08:00
Gavin Luo
fffe9fc566
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
世界
6fdf27a701
Fix Tailscale endpoint using wrong source IP with advertise_routes 2026-01-04 22:14:54 +08:00
Bruce Wayne
7fa7d4f0a9
ducumentation: update Shadowsocks inbound documentation for SSM API 2026-01-02 19:18:52 +08:00
世界
f511ebc1d4
Fix lint errors 2026-01-02 19:17:53 +08:00
世界
84bbdc2eba
Revert "Pin gofumpt and golangci-lint versions"
This reverts commit d9d7f7880d.
2026-01-02 19:14:13 +08:00
世界
568612fc70
Fix duplicate tag detection for empty tags
Closes https://github.com/SagerNet/sing-box/issues/3665
2026-01-02 19:14:13 +08:00
世界
d78828fd81
Fix quic sniffer 2026-01-02 19:14:13 +08:00
世界
f56d9ab945
Bump version 2025-12-25 14:47:10 +08:00
世界
86fabd6a22
Update Mozilla certificates 2025-12-25 14:42:18 +08:00
世界
24a1e7cee4
Ignore darwin IP_DONTFRAG error when not supported 2025-12-25 14:40:48 +08:00
世界
223dd8bb1a
Fix TCP DNS response buffer 2025-12-22 13:51:00 +08:00
世界
68448de7d0
Fix missing RootPoolFromContext and TimeFuncFromContext in HTTP clients 2025-12-22 13:50:57 +08:00
世界
1ebff74c21
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
世界
f0cd3422c1
Bump version 2025-12-14 00:09:19 +08:00
世界
e385a98ced
Update Go to 1.25.5 2025-12-13 20:11:29 +08:00
世界
670f32baee
Fix naive inbound 2025-12-12 21:19:28 +08:00
世界
2747a00ba2
Fix tailscale destination 2025-12-01 15:02:04 +08:00
世界
48e76038d0
Update Go to 1.25.4 2025-11-16 09:53:10 +08:00
世界
6421252d44
release: Fix windows7 build 2025-11-16 09:09:34 +08:00
世界
216c4c8bd4
Fix adapter handler 2025-11-16 08:34:46 +08:00
世界
5841d410a1
ssm-api: Fix save cache 2025-11-04 11:00:43 +08:00
Kumiko as a Service
63c8207d7a
Use --no-cache --upgrade option in apk add
No need for separate upgrade / cache cleanup steps.

Signed-off-by: Kumiko as a Service <Dreista@users.noreply.github.com>
2025-11-04 11:00:41 +08:00
世界
54ed58499d
Bump version 2025-10-27 18:04:24 +08:00