28 Commits

Author SHA1 Message Date
世界 90a642ef96 Reject pure-IP rule-set references without match_response
DNS rules referencing rule-sets that contain only ip_cidr predicates
silently stopped matching when legacy DNS mode was disabled, because the
IP-CIDR branch cannot match against an in-flight DNS query. The existing
validation intentionally let every rule_set through on the premise that
mixed sets still work via their non-IP branches, which is only true when
such a branch exists. Track whether a rule-set carries any non-IP-CIDR
predicate and reject pure-IP references the same way bare ip_cidr fields
are already rejected.
2026-04-28 08:04:52 +08:00
世界 0319b22c76 Add optimistic DNS cache 2026-04-28 08:04:34 +08:00
世界 3828b4f30e documentation: Fix missing update for ip_version and query_type 2026-04-28 08:04:33 +08:00
世界 e714efa792 documentation: Fixes 2026-04-28 08:04:32 +08:00
世界 e75e1c98a9 Un-deprecate ip_accept_any DNS rule item 2026-04-28 08:04:32 +08:00
nekohasekai e1a7ab3df3 Add evaluate DNS rule action and related rule items 2026-04-28 08:04:30 +08:00
nekohasekai 83fa58f60a Refactor ACME support to certificate provider 2026-04-28 08:04:29 +08:00
Sentsuki 0e23a3d7c2 documentation: Fix Rcode's migration guide
Signed-off-by: Sentsuki <52487960+Sentsuki@users.noreply.github.com>
2025-08-10 20:06:28 +08:00
reletor 0b4b5e6f0f documentation: Minor fixes 2025-07-08 13:12:33 +08:00
世界 6a211f6ed6 Fix missing handling of legacy domain_strategy options 2025-07-08 13:12:32 +08:00
Restia-Ashbell 1ed21085bb documentation: Fix typo 2025-07-08 13:12:25 +08:00
世界 fa6f7d396e documentation: Outbound domain resolver 2025-07-08 13:12:15 +08:00
世界 23666a9230 documentation: Refactor DNS 2025-07-08 13:12:15 +08:00
printfer 986a410b30 documentation: Fix migration links 2025-02-11 01:32:14 +08:00
世界 c4b6d0eadb Make GSO adaptive 2025-01-13 15:14:30 +08:00
世界 68781387fe refactor: WireGuard endpoint 2025-01-13 15:14:30 +08:00
世界 2dbb8c55c9 Add override destination to route options 2025-01-13 15:14:30 +08:00
世界 dcb10c21a1 documentation: Merge route options to route actions 2025-01-13 15:14:29 +08:00
世界 28ec898a8c documentation: Add rule action 2025-01-13 15:14:29 +08:00
世界 6bebe2483b Unique rule-set names 2024-10-13 13:07:02 +08:00
世界 db3a0c636d Add auto-redirect & Improve auto-route 2024-10-13 13:07:02 +08:00
世界 f5554dd8b8 Bump version 2024-09-18 07:04:29 +08:00
世界 cfd9879b17 documentation: Remove unused 2024-08-19 06:39:33 +08:00
世界 ee14135298 Improve domain suffix match behavior
For historical reasons, sing-box's `domain_suffix` rule matches literal prefixes instead of the same as other projects.

This change modifies the behavior of `domain_suffix`: If the rule value is prefixed with `.`,
the behavior is unchanged, otherwise it matches `(domain|.+\.domain)` instead.
2024-05-21 15:11:41 +08:00
世界 cbcf005f37 Remove PROCESS_NAME_NATIVE dwFlag in process query output
The `process_path` rule of sing-box is inherited from Clash,
the original code uses the local system's path format (e.g. `\Device\HarddiskVolume1\folder\program.exe`),
but when the device has multiple disks, the HarddiskVolume serial number is not stable.

This change make QueryFullProcessImageNameW output a Win32 path (such as `C:\folder\program.exe`),
which will disrupt the existing `process_path` use cases in Windows.
2024-05-18 17:22:14 +08:00
世界 11bec79a06 documentation: Bump version 2024-01-05 11:17:49 +08:00
世界 25810b50c1 Update documentation 2024-01-03 12:21:37 +08:00
世界 e09a94bb9e Update documentation 2024-01-03 12:21:36 +08:00