Troubleshooting Tip: Incorrect firewall policy match on FortiProxy due to partial match
| Description | This article describes a scenario where an incorrect policy match can occur due to the partial match feature on FortiProxy. |
| Scope | FortiProxy. |
| Solution | Partial policy match is a feature introduced in FortiProxy v7.6.4. It allows FortiProxy to initially evaluate available information, such as the SNI or host, to determine whether a policy might match. However, this information alone is not always sufficient to fully confirm a policy match because some proxy-address checks rely on HTTP header data, which becomes available only after HTTPS decryption. With partial matching, FortiProxy places the HTTPS session in an intermediate state when a policy matches the proxy-address host (SNI) but requires deep inspection to extract additional details from HTTP headers or user information. This process allows FortiProxy to complete the policy evaluation and determine the final matching policy.
config web-proxy global set policy-partial-match disable end In certain scenarios, policies may match traffic incorrectly due to partial matching behavior. For example, in the configuration below, Policy 166 and Policy 516 are both defined. The destination address includes a firewall proxy address group named 'NoAuth_URLs', which contains a specific URL: 'www.microsoft.com/pki/'. Due to partial matching, traffic destined for 'microsoft.com' may match Policy 166, even though the policy is intended to apply only to the more specific URL. This occurs because the broader domain partially satisfies the matching criteria, which leads to unintended policy selection.
config web-proxy global set policy-partial-match disable end
|
