Files
Alexandr Stelnykovych 3356bb94b6 fix(profile): do not block on geo rules that cannot be evaluated
When the geoip lookup for an IP fails, ASN, country and continent rules
returned MatchError, which the firewall treats as a deny. This blocked
connections even for allow rules and for rules whose protocol or port
did not apply to the connection, for example a global
"+ AS32590 UDP/27015-27250" rule blocking TCP/443 connections of an app
with default action "allow". The reported reason
"allowed by rule: ASN data not available to match" was contradictory.

Rules that cannot be evaluated because of missing data now behave as
follows:
- if the rule's protocol or port do not match the connection, the rule
  is skipped, as it could never apply
- an allow rule is skipped, so the following rules and the default
  action decide
- a deny rule still returns MatchError and fails safe

Related ticket: #2138
2026-09-30 18:31:51 +03:00
..
2024-08-09 18:15:48 +03:00
2024-08-09 18:15:48 +03:00
2024-08-09 18:15:48 +03:00
2024-08-09 18:15:48 +03:00
2024-08-09 18:15:48 +03:00
2024-08-09 18:15:48 +03:00