Description |
This article presents SnifTran is a free program to convert plain text traffic captured from FortiGate issued from 'diag sniffer packet'followed by the parameter 6 (full packets with interface and data), and describes the customization of Wireshark.
The resulting conversion is a new file following PCAPng format, directly usable in Wireshark for a graphical display. Here is a detailed how to get even more benefits from this tool by customizing :
|
Scope | FortiGate. |
Solution |
Customization of Wireshark to display Snifftran additional information:
"(out) port33" or "(in) port34"
Note: if, for instance, the outgoing interface is a LAG made of several aggregated ports, it will show the physical port from which the frame really physically exits the device.
frame.comment contains "port3"
Adding a new displayed column based on the 'frame.comment' field:
The result is the following: see the contents of column 'IfaceSnitTran':
The related article describes the customization of Notepad++ to trigger SnifTran on the currently opened file and launch Wireshark on the resulting .pcapng file using this customization: Technical Tip: How to customize Notepad++ to automate SnifTran processing of sniffed traces |
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.