Commit Graph

286 Commits

Author SHA1 Message Date
世界
d4897abb53 Fix compatibility with MPTCP 2026-01-17 05:46:23 +08:00
世界
5470977941 Fix missing mTLS support in client options 2026-01-17 05:46:23 +08:00
世界
3e3b2d0b29 Add curve preferences, pinned public key SHA256 and mTLS for TLS options 2026-01-17 05:46:22 +08:00
世界
47392e55a2 Add support for kTLS
Reference: https://gitlab.com/go-extension/tls
2026-01-17 05:44:42 +08:00
世界
e2ba72e7c1 Add proxy support for ICMP echo request 2026-01-17 05:44:41 +08:00
世界
99466af6b7 Fix legacy DNS config 2026-01-17 05:44:29 +08:00
世界
14bec14972 Fix rule-set format 2026-01-17 05:44:29 +08:00
世界
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
世界
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
世界
7835e6cfd1 Undeprecate the block outbound 2025-05-04 18:45:53 +08:00
世界
0d55da50cd Make rule_set.format optional 2025-05-04 18:14:21 +08:00
世界
678d6c7b39 Fix hysteria bytes format 2025-04-29 20:45:19 +08:00
世界
b68fd589bc option: Fix omitempty reject method 2025-04-25 16:03:57 +08:00
世界
68fffff4fb Add duplicate tag check 2025-03-29 23:10:22 +08:00