Description | This article describes a FortiGate issue involving inexact Web Filter categorization and how to prevent and/or solve it. |
Scope | FortiGate units and Web Filter profile usage. |
Solution |
In a given period of time, when a host created multiple connections to a particular URL, an upstream FortiGate unit with enabled Web Filter profiles might, at infrequent or irregular intervals, apply a 'wrong' Web Filter category to the associate FQDN (despite a correct Web Filter Lookup). Due to that, the connection might be subjected to a different behavior (e.g. SSL inspection and final action), causing application outages.
For example: consider the FQDN 'citrix.cloud.com', which is categorized as 'Information Technology' (in Web Filter Database version 234.09913). When a given host establishes a connection to https://citrix.cloud.com, it is expected that the session will be categorized as 'Information Technology'. However, the same host might make a second connection to https://citrix.cloud.com a few minutes later, and this new session might handled by the FortiGate as a different Web Filter category. In this case, depending on the FortiGate configuration, the second connection could be dropped (instead of accepted) or subjected to SSL inspection (instead of exempted).
In the example above, the FortiGate unit is operating nominally. In short, the issue is due to the DNS records associated with the FQDN 'citrix.cloud.com'. Using the command-line tool dig to query 'citrix.cloud.com', the reply shown below includes multiple CNAME records and one A record:
... ;; ANSWER SECTION: ...
The solution is straightforward: make sure that all DNS records with the CNAME or ALIAS type associated with a given FQDN have the same category. In the example above, the FQDNs 'shed.dual-low.s-part-0014.t-0009.t-msedge.net' and 's-part-0014.t-0009.t-msedge.net' have to be re-categorized as from 'Business' to 'Information Technology'. To accomplish this, see the related documents below.
|