世界
ce778e569b
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-17 05:44:28 +08:00
xchacha20-poly1305
9a66482483
Fix rule set version
2026-01-17 05:44:27 +08:00
世界
5c8b07acfe
Add preferred_by route rule item
2026-01-17 05:44:27 +08:00
世界
d373f57e57
Add interface address rule items
2026-01-17 05:44:26 +08:00
世界
2453747018
Fix duplicate tag detection for empty tags
...
Closes https://github.com/SagerNet/sing-box/issues/3665
2026-01-02 19:14:13 +08:00
Shtorm
86289d667c
Add new wireguard options
2025-12-08 22:32:33 +03:00
Shtorm
24a85e7773
Fix XHTTP TLS
2025-12-08 22:30:58 +03:00
Shtorm
13c826bfa3
Integrate Amnezia 1.5
2025-09-15 01:25:19 +03:00
Shtorm
650e57feff
Resolve conflicts
2025-09-14 23:44:29 +03:00
Shtorm
b2c1eb1e48
Resolve conflicts
2025-08-15 12:56:52 +03:00
世界
8d5f1ad310
Update golangci-lint to v2
2025-08-13 23:37:40 +08:00
世界
d5a71667d0
Fix DNS upgrade
2025-07-18 21:46:03 +08:00
世界
6806d5d436
Improve TLS fragments
2025-07-08 13:14:44 +08:00
世界
56e94d454f
Add cache support for ssm-api
2025-07-08 13:14:44 +08:00
世界
b21e83d8e7
Add loopback address support for tun
2025-07-08 13:14:44 +08:00
世界
ebdae18a7e
Fix missing home for derp service
2025-07-08 13:14:43 +08:00
世界
f8f282633b
Add SSM API service
2025-07-08 13:14:42 +08:00
世界
ca912aa72f
Add resolved service and DNS server
2025-07-08 13:14:41 +08:00
世界
167547f95f
Add DERP service
2025-07-08 13:14:41 +08:00
世界
873ab4b085
Add service component type
2025-07-08 13:14:41 +08:00
世界
5cc728747a
Add missing accept_routes option for Tailscale
2025-07-08 13:14:39 +08:00
世界
886f7c8253
Add TLS record fragment support
2025-07-08 13:14:38 +08:00
世界
1df8a26c5b
Add control options for listeners
2025-07-08 13:14:38 +08:00
世界
a6e57e7a7a
Fix wireguard listen_port
2025-07-08 13:12:34 +08:00
世界
96f078e252
Explicitly reject detour to empty direct outbounds
2025-07-08 13:12:28 +08:00
世界
ee3e62bfa4
Add netns support
2025-07-08 13:12:28 +08:00
世界
7fcff6731d
Remove map usage in options
2025-07-08 13:12:27 +08:00
世界
275ec18c5c
Add wildcard-sni support for shadow-tls inbound
2025-07-08 13:12:26 +08:00
世界
e41fdfe58a
option: Fix marshal legacy DNS options
2025-07-08 13:12:26 +08:00
世界
48e643886c
Make domain_resolver optional when only one DNS server is configured
2025-07-08 13:12:26 +08:00
k9982874
fe2239266a
Fix hosts DNS server
2025-07-08 13:12:24 +08:00
世界
6cae3e54d1
Move predefined DNS server to rule action
2025-07-08 13:12:23 +08:00
TargetLocked
9a6de83dc5
Fix parsing legacy DNS options
2025-07-08 13:12:21 +08:00
anytls
ec535f3580
Add MinIdleSession option to AnyTLS outbound
...
Co-authored-by: anytls <anytls>
2025-07-08 13:12:20 +08:00
anytls
fdaffeb6f5
Add AnyTLS protocol
2025-07-08 13:12:19 +08:00
世界
26c2b696a9
Migrate to stdlib ECH support
2025-07-08 13:12:19 +08:00
世界
29d355597f
Improve resolve action
2025-07-08 13:12:18 +08:00
世界
d43d3773be
Add back port hopping to hysteria 1
2025-07-08 13:12:17 +08:00
世界
71322d2b4c
Add Tailscale endpoint
2025-07-08 13:12:16 +08:00
世界
a5db391fcf
Add certificate store
2025-07-08 13:12:14 +08:00
世界
3d55cef5f2
Add TLS fragment support
2025-07-08 13:12:14 +08:00
世界
2afbe96ea0
refactor: Outbound domain resolver
2025-07-08 13:12:14 +08:00
世界
f75ade1991
refactor: DNS
2025-07-08 13:12:14 +08:00
Shtorm
3f97424224
Add tunnel
2025-07-06 18:31:06 +03:00
Shtorm
221eeff09d
Add unified delay
2025-06-15 19:24:09 +03:00
Shtorm
7fce83332a
Add mieru protocol
2025-06-15 18:04:27 +03:00
Shtorm
6e756dedc7
Resolve conflicts
2025-06-08 19:54:17 +03:00
Shtorm
3d8c74efa4
refactor: WARP
2025-06-08 19:51:17 +03:00
Shtorm
db5da47a9d
Add xhttp transport
2025-06-08 19:35:59 +03:00
Shtorm
dfc6fce8bb
Added WARP endpoint
2025-06-01 22:06:34 +03:00