You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if (hasResponseRecords||len(rule.IPCIDR) >0||rule.IPIsPrivate) &&!rule.MatchResponse {
1053
-
returnfalse, E.New("Response Match Fields (ip_cidr, ip_is_private, response_rcode, response_answer, response_ns, response_extra) require match_response to be enabled")
1052
+
if (hasResponseRecords||len(rule.IPCIDR) >0||rule.IPIsPrivate||rule.IPAcceptAny) &&!rule.MatchResponse {
1053
+
returnfalse, E.New("Response Match Fields (ip_cidr, ip_is_private, ip_accept_any, response_rcode, response_answer, response_ns, response_extra) require match_response to be enabled")
1054
1054
}
1055
1055
// Intentionally do not reject rule_set here. A referenced rule set may mix
1056
1056
// destination-IP predicates with pre-response predicates such as domain items.
1057
1057
// When match_response is false, those destination-IP branches fail closed during
1058
1058
// pre-response evaluation instead of consuming DNS response state, while sibling
0 commit comments