Commit Graph

2050 Commits

Author SHA1 Message Date
世界 51dc7c4f88 Add more tcp keep alive options
Also update default TCP keep-alive initial period from 10 minutes to 5 minutes.
2026-01-07 15:15:24 +08:00
世界 92c072d849 Update quic-go to v0.57.1 2026-01-07 15:15:24 +08:00
世界 ac7f0c9a3d Fix read credentials for ccm service 2026-01-07 15:15:24 +08:00
世界 31dcdc4f14 Add claude code multiplexer service 2026-01-07 15:15:23 +08:00
世界 3a267e1557 Fix compatibility with MPTCP 2026-01-07 15:15:23 +08:00
世界 73c5575866 Use a more conservative strategy for resolving with systemd-resolved for local DNS server 2026-01-07 15:15:23 +08:00
世界 f00854dd72 Fix missing mTLS support in client options 2026-01-07 15:15:23 +08:00
世界 c04d1414dd Add curve preferences, pinned public key SHA256 and mTLS for TLS options 2026-01-07 15:15:23 +08:00
世界 ec4e411fa7 Fix WireGuard input packet 2026-01-07 15:15:23 +08:00
世界 cc3a4c7dec Update tfo-go to latest 2026-01-07 15:15:22 +08:00
世界 20b0e4c3a0 Remove compatibility codes 2026-01-07 15:15:22 +08:00
世界 5aabc42823 Do not use linkname by default to simplify debugging 2026-01-07 15:15:22 +08:00
世界 f0771fb623 documentation: Update chinese translations 2026-01-07 15:15:22 +08:00
世界 67c79ebac8 Update quic-go to v0.55.0 2026-01-07 15:15:22 +08:00
世界 ef185fed09 Update WireGuard and Tailscale 2026-01-07 15:15:22 +08:00
世界 f8cdc40d62 Fix preConnectionCopy 2026-01-07 15:15:22 +08:00
世界 3bcf072750 Fix ping domain 2026-01-07 15:15:22 +08:00
世界 3ef15fa8aa release: Fix linux build 2026-01-07 15:15:21 +08:00
世界 159418324a Improve ktls rx error handling 2026-01-07 15:15:21 +08:00
世界 0c30128c44 Improve compatibility for kTLS 2026-01-07 15:15:21 +08:00
世界 354330cd80 ktls: Add warning for inappropriate scenarios 2026-01-07 15:15:21 +08:00
世界 b991ae1c91 Add support for kTLS
Reference: https://gitlab.com/go-extension/tls
2026-01-07 15:15:21 +08:00
世界 53fef79ab3 Add proxy support for ICMP echo request 2026-01-07 15:15:21 +08:00
世界 dfe2e083d5 Fix resolve using resolved 2026-01-07 15:15:21 +08:00
世界 ce408b2989 documentation: Update behavior of local DNS server on darwin 2026-01-07 15:15:21 +08:00
世界 395a1aadfa Remove use of ldflags -checklinkname=0 on darwin 2026-01-07 15:15:20 +08:00
世界 905573e386 Fix legacy DNS config 2026-01-07 15:15:20 +08:00
世界 5814753603 Fix rule-set format 2026-01-07 15:15:20 +08:00
世界 8cef967847 documentation: Remove outdated icons 2026-01-07 15:15:20 +08:00
世界 af532b8d05 documentation: Improve local DNS server 2026-01-07 15:15:20 +08:00
世界 5585855367 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-07 15:15:20 +08:00
世界 2344b35b0f 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-07 15:15:20 +08:00
世界 3a9ae0f91f Use resolved in local DNS server if available 2026-01-07 15:15:20 +08:00
xchacha20-poly1305 4fdbf786e1 Fix rule set version 2026-01-07 15:15:19 +08:00
世界 1e3ea29602 documentation: Add preferred_by route rule item 2026-01-07 15:15:19 +08:00
世界 ac5cb50368 Add preferred_by route rule item 2026-01-07 15:15:19 +08:00
世界 722f9ee971 documentation: Add interface address rule items 2026-01-07 15:15:19 +08:00
世界 3df72d04e9 Add interface address rule items 2026-01-07 15:15:19 +08:00
世界 4f93a515d6 Fix ECH retry support 2026-01-07 15:15:19 +08:00
neletor a3c9ceca60 Add support for ech retry configs 2026-01-07 15:15:19 +08:00
Zephyruso a57bdc82e8 Add /dns/flush-clash meta api 2026-01-07 15:15:18 +08:00
世界 0a812f2a46 Bump version v1.12.15 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 v1.12.14 2025-12-25 14:47:10 +08:00