Commit Graph

1958 Commits

Author SHA1 Message Date
世界 2ecdd9bf47 documentation: Update behavior of local DNS server on darwin 2025-09-09 18:03:44 +08:00
世界 b27ab0047d 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-09 18:03:44 +08:00
世界 ef06f8a726 Remove use of ldflags -checklinkname=0 on darwin 2025-09-09 18:03:44 +08:00
世界 fa65ddd158 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-09 18:03:43 +08:00
世界 388638e830 Fix legacy DNS config 2025-09-09 18:03:43 +08:00
世界 6b197e2143 Fix rule-set format 2025-09-09 18:03:43 +08:00
世界 1f6dbf8dd3 documentation: Remove outdated icons 2025-09-09 18:03:43 +08:00
世界 dd0aaaf1a9 documentation: Improve local DNS server 2025-09-09 18:03:42 +08:00
世界 4a47639bbd Use libresolv in local DNS server on darwin 2025-09-09 18:03:42 +08:00
世界 13a056f57e Use resolved in local DNS server if available 2025-09-09 18:03:42 +08:00
xchacha20-poly1305 8f415a7a88 Fix rule set version 2025-09-09 18:03:42 +08:00
世界 4d5de561da documentation: Add preferred_by route rule item 2025-09-09 18:03:41 +08:00
世界 8550a342b1 Add preferred_by route rule item 2025-09-09 18:03:41 +08:00
世界 0dab162b96 documentation: Add interface address rule items 2025-09-09 18:03:41 +08:00
世界 8d3e6d39a2 Add interface address rule items 2025-09-09 18:03:41 +08:00
neletor a9e2b9e402 Add support for ech retry configs 2025-09-09 18:03:41 +08:00
Zephyruso 69d96cfdc3 Add /dns/flush-clash meta api 2025-09-09 18:03:41 +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
世界 649163cb7b Fix domain strategy not taking effect 2025-09-02 17:35:27 +08:00
世界 980e96250b Bump version v1.12.4 2025-08-28 12:11:30 +08:00
世界 963bc4b647 Enforce Tailscale NoLogsNoSupport 2025-08-28 10:30:13 +08:00
世界 031f25c1c1 Deprecate common/atomic 2025-08-25 19:49:12 +08:00
世界 b40f642fa4 Bump version v1.12.3 2025-08-21 09:43:47 +08:00
世界 22782ca6fc Fix outbound start 2025-08-21 09:41:31 +08:00
世界 1468d83895 Make realityClientConnWrapper replaceable 2025-08-20 16:26:27 +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