Commit graph

3 commits

Author SHA1 Message Date
世界
b19d4a92e2
Fix lint errors 2026-06-08 08:51:48 +08:00
世界
aabaa42634
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-08 08:51:41 +08:00
nekohasekai
9a3dcca616
Add evaluate DNS rule action and related rule items 2026-06-08 08:51:34 +08:00