mirror of
https://github.com/safing/portmaster.git
synced 2026-12-04 09:38:21 +00:00
3356bb94b6
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