Created on
01-16-2017
08:21 AM
Edited on
01-11-2026
05:33 AM
By
Jean-Philippe_P
Description
Solution
ifconfig
Elevate the admin permission and execute tcpdump. The capture will be saved to the file 'capturefile' already in .pcap format.
su
<admin password>
Note that other host IPs may be included in the command below using the OR or AND operators (for example: host 5.5.5.5 OR host 4.4.4.4).
tcpdump -i <interface name> 'host <endpoint IP>' -s0 -w capturefile
...reproduce the issue...
ctrl+c
File permission needs to be changed after capture is concluded to allow download via the SCP tool.
chmod 777 capturefile
exit
Download an SCP protocol tool to retrieve the file. For example, WinSCP can be downloaded free of charge from CNET.com. Ensure to run the application using 'Run as Administrator'.
Save the file to the local PC where it may be opened and reviewed using Wireshark (Wireshark.org).
Related documents:
Technical Tip: How to create a log file of a session using PuTTY
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 2026 Fortinet, Inc. All Rights Reserved.