Commit Graph

1975 Commits

Author SHA1 Message Date
世界 ae5b82df69 Fix resolve using resolved 2025-09-13 13:20:25 +08:00
世界 2df4812c31 documentation: Update behavior of local DNS server on darwin 2025-09-13 13:20:25 +08:00
世界 182a15c3af 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-09-13 13:20:25 +08:00
世界 fb8b1f8824 Remove use of ldflags -checklinkname=0 on darwin 2025-09-13 13:20:25 +08:00
世界 918d4ff3ca 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-09-13 13:20:24 +08:00
世界 454fe61aa0 Fix legacy DNS config 2025-09-13 13:19:48 +08:00
世界 60c464fc13 Fix rule-set format 2025-09-13 13:19:48 +08:00
世界 11720b048a documentation: Remove outdated icons 2025-09-13 13:19:48 +08:00
世界 bde25018a4 documentation: Improve local DNS server 2025-09-13 13:19:47 +08:00
世界 44bad22f39 Use libresolv in local DNS server on darwin 2025-09-13 13:19:47 +08:00
世界 2305225cc6 Use resolved in local DNS server if available 2025-09-13 13:19:47 +08:00
xchacha20-poly1305 8be89b54e5 Fix rule set version 2025-09-13 13:19:47 +08:00
世界 a256159461 documentation: Add preferred_by route rule item 2025-09-13 13:19:47 +08:00
世界 6c395e3ce7 Add preferred_by route rule item 2025-09-13 13:19:46 +08:00
世界 93cd0e5df1 documentation: Add interface address rule items 2025-09-13 13:19:46 +08:00
世界 98c00bb120 Add interface address rule items 2025-09-13 13:19:46 +08:00
neletor 8f90d500bc Add support for ech retry configs 2025-09-13 13:19:46 +08:00
Zephyruso c113a27ecc Add /dns/flush-clash meta api 2025-09-13 13:19:46 +08:00
世界 573c6179ab Bump version v1.12.8 2025-09-13 13:16:13 +08:00
世界 510bf05e36 Fix UDP exchange for local/dhcp DNS servers 2025-09-13 12:26:48 +08:00
世界 ae852e0be4 Bump version v1.12.7 2025-09-13 03:09:10 +08:00
世界 1955002ed8 Do not cache DNS responses with empty answers 2025-09-13 03:04:08 +08:00
世界 44559fb7b9 Bump version 2025-09-13 00:07:57 +08:00
世界 0977c5cf73 release: Disable Apple platform CI builds, since `-allowProvisioningUpdates is broken by Apple 2025-09-13 00:07:57 +08:00
世界 07697bf931 release: Fix xcode build 2025-09-12 22:57:44 +08:00
世界 5d1d1a1456 Fix TCP exchange for local/dhcp DNS servers 2025-09-12 21:58:48 +08:00
世界 146383499e Fix race codes 2025-09-12 21:58:48 +08:00
世界 e81a76fdf9 Fix DNS exchange 2025-09-12 18:05:02 +08:00
世界 de13137418 Fix auto redirect 2025-09-12 11:04:12 +08:00
世界 e42b818c2a Fix dhcp fetch 2025-09-12 11:03:13 +08:00
世界 fcde0c94e0 Bump version v1.12.5 2025-09-10 22:57:24 +08:00
世界 1af83e997d Update Go to 1.25.1 2025-09-10 22:57:24 +08:00
世界 59ee7be72a Fix SyscallVectorisedPacketWriter 2025-09-10 22:46:41 +08:00
世界 c331ee3d5c Fix timeout check 2025-09-10 22:42:40 +08:00
世界 36babe4bef Fix hysteria2 handshake timeout 2025-09-09 18:03:18 +08:00
世界 c5f2cea802 Prevent panic when wintun dll fails to load 2025-09-09 14:49:00 +08:00
世界 8a200bf913 Fix auto redirect output 2025-09-09 14:29:40 +08:00
世界 f16468e74f Fix ipv6 tproxy listener 2025-09-09 14:16:40 +08:00
世界 79c0b9f51d Fix tls options ignored in mixed inbounds 2025-09-08 19:45:52 +08:00
世界 f98a3a4f65 Treat requests with OPT extra but no options as simple requests 2025-09-08 09:12:30 +08:00
世界 b14cecaeb2 Fix DNS packet size 2025-09-08 09:12:30 +08:00
世界 2594745ef8 Fix DNS client 2025-09-08 09:12:30 +08:00
世界 cc3041322e Fix DNS cache 2025-09-08 09:12:30 +08:00
世界 f352f84483 Fix read address 2025-09-05 15:16:14 +08:00
世界 cbf48e9b8c Fix multiple sniff 2025-09-03 20:09:05 +08:00
世界 0ef7e8eca2 Fix route.default_interface not taking effect 2025-09-02 18:00:02 +08:00
世界 1a18e43a88 Fix linux icmp routes 2025-09-02 17:55:48 +08:00
世界 6849288d6d Fix typo in TestSniffUQUICChrome115 2025-09-02 17:55:26 +08:00
世界 2edfed7d91 Improve DHCP DNS server 2025-09-02 17:55:26 +08:00
世界 30c069f5b7 Fix local DNS server on legacy windows 2025-09-02 17:55:26 +08:00