Commit Graph

2057 Commits

Author SHA1 Message Date
世界 2d119c97aa daemon: Add clear logs 2026-01-12 20:41:37 +08:00
世界 6e4593b13b Revert "Stop using DHCP on iOS and tvOS" 2026-01-12 20:41:37 +08:00
世界 45a3652a6e platform: Refactoring libbox to use gRPC-based protocol 2026-01-12 20:41:37 +08:00
世界 b385bae3aa Add Windows WI-FI state support 2026-01-12 20:41:37 +08:00
世界 56f577caeb Add Linux WI-FI state support
Support monitoring WIFI state on Linux through:
- NetworkManager (D-Bus)
- IWD (D-Bus)
- wpa_supplicant (control socket)
- ConnMan (D-Bus)
2026-01-12 20:41:36 +08:00
世界 39286c2005 Add more tcp keep alive options
Also update default TCP keep-alive initial period from 10 minutes to 5 minutes.
2026-01-12 20:41:36 +08:00
世界 6cc8273658 Update quic-go to v0.57.1 2026-01-12 20:41:36 +08:00
世界 cd8f31f1ca Fix read credentials for ccm service 2026-01-12 20:41:36 +08:00
世界 ad16e1e6d5 Add claude code multiplexer service 2026-01-12 20:41:35 +08:00
世界 edc4595fcd Fix compatibility with MPTCP 2026-01-12 20:41:35 +08:00
世界 67d71de2bc Use a more conservative strategy for resolving with systemd-resolved for local DNS server 2026-01-12 20:41:35 +08:00
世界 1ec0c15192 Fix missing mTLS support in client options 2026-01-12 20:41:35 +08:00
世界 0a3827bfe5 Add curve preferences, pinned public key SHA256 and mTLS for TLS options 2026-01-12 20:41:35 +08:00
世界 2d27effd0b Fix WireGuard input packet 2026-01-12 20:41:35 +08:00
世界 15e67bfe0c Update tfo-go to latest 2026-01-12 20:41:35 +08:00
世界 a6e8bb6f3c Remove compatibility codes 2026-01-12 20:41:34 +08:00
世界 7f454763c1 Do not use linkname by default to simplify debugging 2026-01-12 20:41:34 +08:00
世界 25d38b7834 documentation: Update chinese translations 2026-01-12 20:41:34 +08:00
世界 e02b7780db Update quic-go to v0.55.0 2026-01-12 20:41:34 +08:00
世界 31d64cfe25 Update WireGuard and Tailscale 2026-01-12 20:41:34 +08:00
世界 dfcecb1efa Fix preConnectionCopy 2026-01-12 20:41:34 +08:00
世界 14daf14d96 Fix ping domain 2026-01-12 20:41:34 +08:00
世界 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 v1.12.16 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 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