1952 Commits

Author SHA1 Message Date
世界
bac7a5bc9e
Remove use of ldflags -checklinkname=0 on darwin 2025-09-08 19:46:43 +08:00
世界
ffc065bd74
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-08 19:46:42 +08:00
世界
ca4bbff6f4
Fix legacy DNS config 2025-09-08 19:46:42 +08:00
世界
dea7b79d43
Fix rule-set format 2025-09-08 19:46:41 +08:00
世界
bf342408b8
documentation: Remove outdated icons 2025-09-08 19:46:41 +08:00
世界
d2856cea06
documentation: Improve local DNS server 2025-09-08 19:46:41 +08:00
世界
ff0c266ef0
Use libresolv in local DNS server on darwin 2025-09-08 19:46:41 +08:00
世界
bc11350397
Use resolved in local DNS server if available 2025-09-08 19:46:41 +08:00
xchacha20-poly1305
76a9d68566
Fix rule set version 2025-09-08 19:46:40 +08:00
世界
83a94a4384
documentation: Add preferred_by route rule item 2025-09-08 19:46:40 +08:00
世界
9ee622b807
Add preferred_by route rule item 2025-09-08 19:46:40 +08:00
世界
f8338b15e1
documentation: Add interface address rule items 2025-09-08 19:46:39 +08:00
世界
485405d350
Add interface address rule items 2025-09-08 19:46:39 +08:00
neletor
084c5f3797
Add support for ech retry configs 2025-09-08 19:46:39 +08:00
Zephyruso
55f7fa1243
Add /dns/flush-clash meta api 2025-09-08 19:46:39 +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
世界
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