Commit Graph

1937 Commits

Author SHA1 Message Date
世界 3572acf266 documentation: Bump version v1.13.0-alpha.4 2025-08-20 09:22:04 +08:00
世界 92d175c615 Fix wireguard crash 2025-08-20 09:22:04 +08:00
世界 ca90727e9b documentation: Update behavior of local DNS server on darwin 2025-08-20 09:22:04 +08:00
世界 9510bc7911 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.
2025-08-20 09:22:04 +08:00
世界 e2281f4f9d Remove use of ldflags -checklinkname=0 on darwin 2025-08-20 09:22:04 +08:00
世界 b18c002b3c Fix 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`.
2025-08-20 09:22:03 +08:00
世界 a81bbbd811 Fix legacy DNS config 2025-08-20 09:22:03 +08:00
世界 9629d6cab7 Fix rule-set format 2025-08-20 09:22:03 +08:00
世界 32f64972e1 documentation: Remove outdated icons 2025-08-20 09:22:03 +08:00
世界 dd894adeb5 documentation: Improve local DNS server 2025-08-20 09:22:03 +08:00
世界 4f9e334679 Use libresolv in local DNS server on darwin 2025-08-20 09:22:02 +08:00
世界 fc1204fb8b Use resolved in local DNS server if available 2025-08-20 09:22:02 +08:00
xchacha20-poly1305 5ca20e1cf6 Fix rule set version 2025-08-20 09:22:02 +08:00
世界 8073f299dd documentation: Add preferred_by route rule item 2025-08-20 09:22:02 +08:00
世界 005cdadffb Add preferred_by route rule item 2025-08-20 09:22:02 +08:00
世界 8b511086e4 documentation: Add interface address rule items 2025-08-20 09:22:02 +08:00
世界 253750a555 Add interface address rule items 2025-08-20 09:22:01 +08:00
neletor 213c2be747 Add support for ech retry configs 2025-08-20 09:22:01 +08:00
Zephyruso 5fdc3e3edb Add /dns/flush-clash meta api 2025-08-20 09:22:01 +08:00
世界 97f0dc8a60 Bump version v1.12.2 2025-08-20 09:20:41 +08:00
dyhkwong ee02532ab5 Fix tlsfragment fallback writeAndWaitAck 2025-08-20 09:20:41 +08:00
世界 f1dd0dba78 Make ReadWaitConn reader replaceable 2025-08-20 09:18:03 +08:00
wwqgtxx f4ed684146 Update cast using in sing-vmess 2025-08-20 08:45:09 +08:00
wwqgtxx 83f02d0bfb Make utlsConnWrapper replaceable 2025-08-20 08:45:09 +08:00
wwqgtxx 52fa5f20a3 Make realityConnWrapper replaceable 2025-08-20 08:45:09 +08:00
世界 f462ce5615 Update tfo-go 2025-08-19 21:56:05 +08:00
世界 cef3e538ba Fix failed DNS responses being incorrectly rejected 2025-08-19 11:14:46 +08:00
世界 acda4ce985 Fix bind_interface not working with auto_redirect 2025-08-17 14:48:01 +08:00
世界 354ece2bdf Fix resolved service 2025-08-16 00:09:29 +08:00
世界 de10bb00a9 Fix ssm-api 2025-08-15 15:05:37 +08:00
世界 fdc181106d Fix atomic pointer usages 2025-08-15 15:05:34 +08:00
renovate[bot] 8752b631bd [dependencies] Update golang Docker tag to v1.25 (#3276)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-08-15 12:45:43 +08:00
世界 378e39f70c Update golangci-lint to v2 2025-08-13 23:37:40 +08:00
renovate[bot] 043a2e7a07 [dependencies] Update github-actions 2025-08-13 22:12:19 +08:00
世界 7e190e92ca Fix build with Go 1.25 2025-08-13 22:08:35 +08:00
世界 5eb318ba06 Update Go to 1.25 2025-08-13 22:08:35 +08:00
世界 4a209f1afb Fix h2mux close check 2025-08-13 21:04:01 +08:00
世界 c0ac3c748c Reduce default MTU for android 2025-08-13 11:48:44 +08:00
世界 a65d3e040a platform: Fix context 2025-08-13 11:26:32 +08:00
世界 2358efe44a release: Fix android build 2025-08-11 22:11:14 +08:00
世界 09d3b8f2c2 release: Fix repo 2025-08-11 22:11:14 +08:00
yu 531de77124 documentation: Fix tun address format 2025-08-11 22:11:13 +08:00
Kismet 44981fd803 documentation: Fix typo 2025-08-11 22:11:13 +08:00
世界 4fb5ac292b Bump version v1.12.1 2025-08-10 20:06:28 +08:00
Sentsuki 0e23a3d7c2 documentation: Fix Rcode's migration guide
Signed-off-by: Sentsuki <52487960+Sentsuki@users.noreply.github.com>
2025-08-10 20:06:28 +08:00
Oleksandr Redko 76ee64ae50 Simplify slice to array conversion 2025-08-10 20:06:28 +08:00
Me0wo e1dbcccab5 documentation: Fix typo
Signed-off-by: Me0wo <152751263+Sn0wo2@users.noreply.github.com>
2025-08-10 20:06:28 +08:00
Youfu Zhang fba802effd Fix libresolv initialization
Fixes: 9533031891 ("Update libresolv usage")

Signed-off-by: Youfu Zhang <zhangyoufu@gmail.com>
2025-08-10 20:06:28 +08:00
世界 9495b56772 Update Go to 1.24.6 2025-08-08 17:07:56 +08:00
世界 a8434b176f Fix SyscallVectorisedWriter 2025-08-08 16:08:47 +08:00