| Description | This article explains the Antivirus scan mode for flowbase. |
| Scope | FortiGate v6.4 and above. |
| Solution |
As per the document: Security Profiles enhancements
Starting from 6.4, there is no longer a scanning option available for Flowbased. However, for proxy-based, it is still possible to set it via CLI mode. Therefore, there is a hybrid mode in present here, IPSengine will decide based on criteria like files, protocols, and features used.
If the command below is run:
diag test application ipsmonitor 24
It will list out all the statistics on each of the IPSengine:
pid: 19497 from 20230706-06:46:11 to 20231211-10:01:07
To know roughly how many estimated files are in the Shared memory for this particular IPSengine PID, it is possible to use the formula below:
Files in memory = FlowAV interface file open - FlowAV interface file close.
Sometimes, if the file amount is too many in shared memory, it may cause FortiGate to enter into conserve mode. As scanned (AV) is only scanning it, after the file finish transfer in the network.
To reduce the legacy scan amount, make sure to:
config firewall profile-protocol-options
config ips global
This will allow FortiGate to clear the file in shared memory after the IPS session expires in 5 minutes.
Related article: |
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2025 Fortinet, Inc. All Rights Reserved.