sing-box/route
世界 b5ec033a57
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-06-25 17:38:02 +08:00
..
rule Reject pure-IP rule-set references without match_response 2026-06-25 17:38:02 +08:00
conn.go Skip kickWriteHandshake for server first protocols 2026-05-13 16:28:49 +08:00
dns.go
neighbor_resolver_darwin.go Add macOS support for MAC and hostname rule items 2026-06-25 17:35:23 +08:00
neighbor_resolver_lease.go Add macOS support for MAC and hostname rule items 2026-06-25 17:35:23 +08:00
neighbor_resolver_linux.go Add macOS support for MAC and hostname rule items 2026-06-25 17:35:23 +08:00
neighbor_resolver_parse.go Add Android support for MAC and hostname rule items 2026-06-25 17:35:23 +08:00
neighbor_resolver_platform.go Add Android support for MAC and hostname rule items 2026-06-25 17:35:23 +08:00
neighbor_resolver_stub.go Add macOS support for MAC and hostname rule items 2026-06-25 17:35:23 +08:00
neighbor_table_darwin.go Add macOS support for MAC and hostname rule items 2026-06-25 17:35:23 +08:00
neighbor_table_linux.go Add Android support for MAC and hostname rule items 2026-06-25 17:35:23 +08:00
network.go Add optimistic DNS cache 2026-06-25 17:37:59 +08:00
platform_searcher.go Optimize Linux process finder 2026-03-23 18:57:35 +08:00
process_cache.go Fix lint errors 2026-05-13 23:39:27 +08:00
route.go Add optimistic DNS cache 2026-06-25 17:37:59 +08:00
router.go Refactor: HTTP clients, unified HTTP2/QUIC options, Apple engines 2026-06-25 17:37:59 +08:00
rule_conds.go Add package_name_regex route, DNS and headless rule item 2026-06-25 17:35:30 +08:00