Created on
‎03-05-2025
10:02 PM
Edited on
‎08-27-2025
10:26 PM
By
Jean-Philippe_P
Description | This article describes how to troubleshoot GUI packet capture that does not work as expected. |
Scope | FortiGate. |
Solution |
Symptoms when starting packet capture in the GUI of FortiGate are not working as expected:
Before starting with the troubleshooting process, it must be checked if the firewall policy has the NPU offload disabled; otherwise, just the first packets will be shown, and after the traffic is offloaded, it will appear as if the sniffer is no longer working:
config firewall policy edit <number of the firewall policy> set auto-asic-offload disable
For more information about this, see Technical Tip: FortiGate - Disable Hardware Acceleration.
Possible troubleshooting process, starting from the solution: if the issue persists, move to the next solution:
Solution 1: Change to a different browser, clear the cache of the browser, and use a private window. How to clear the browser cache:
Solution 2: Kill the HTTPSD using the below command (have local access in case the HTTPSD daemon has an issue):
diagnose sys process pidof httpsd diagnose sys kill 11 167 diagnose sys kill 11 8607 diagnose sys process pidof httpsd
The alternative command can be used below:
fnsysctl killall httpsd
Solution 3: Delete all the sniffers currently in the GUI. Solution 4: Delete all the sniffers in the FortiGate using the command line, as some sniffers are not showing under the GUI when the sniffer has been done using CLI previously. Use the command below:
config firewall sniffer show delete 1,2,3,4.... end
Solution 5: Format the log disk. This action will wipe the local disk logs and ensure that FortiAnalyzer or any other logging store system is available. Use this KB article: Technical Tip: Standard procedure to format a FortiGate Log Disk, log backup from disk. After following the above article to format logs, check whether the issue persists.
Solution 6: Follow the following KB article to scan the disk, keep in mind the command highlighted in the article will require a FortiGate reboot: Technical Tip: File System check recommended message. If none of the above solutions fixed the issue, raise the case with TAC for further investigation.
Notes:
Run the following command to end the sniffer sessions stuck on the FortiGate, as mentioned previously in step 4:
config firewall sniffer show delete 1,2,3,4.... end
This is expected behaviour as the global VDOM is not in charge of processing traffic in the multi-vdom environment, switch to the traffic VDOM, diagnose function will be seen.
|
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.