Overview
A network trace, also called a packet dump, sometimes must be generated to analyze packet traffic between systems to troubleshoot difficult application or networking problems. A network trace may be requested by Kerio Technical Support for analysis by upper-level technicians and developers. This article describes the steps to be taken to generate a network trace on the major platforms. Select the platform below where the packet trace will be initiated.
Steps-By-Step Guide
Windows and MacOSX
WireShark is the recommended application for generating network traces on Windows and Mac OSX platforms. From a machine involved in the transmission of data, download WireShark here and install it (including the WinPcap application, if applicable).
-
From within Wireshark, click Capture Options.
-
In the Interface: field, select the network card that connects to the remote system involved in the network transmission.
-
In the Capture filter: field, type "host" followed by the IP address of the remote system:
host xxx.xxx.xxx.xxx
where xxx.xxx.xxx.xxx is the IP address of the remote machine. -
Click on the Browse button next to the File: field and select Desktop in the "Save in folder" field.
-
Type a file name, such as problem.cap, in the Name: field and click OK.
-
Click the Start button, or from the Capture menu, select Start.
-
Perform the network connection that displays the problem.
-
When the network operation is complete, click on the Stop button or, from the Capture menu, select Stop.
-
Reply to the ticket sent by Kerio technical support, attaching the generated problem.cap file.
Linux
The recommended application for generating network traces is tcpdump and it is already installed on most Linux platforms. Here are the basic steps for creating a trace using the tcpdump command line application:
- Open a Terminal session and log in as the "root" user and, to start the network trace, type:
tcpdump -s 0 -w /problem.cap -f host xxx.xxx.xxx.xxx
- where xxx.xxx.xxx.xxx is the IP address of the remote machine, such as 192.168.200.201
- Perform the network connection that displays the problem.
- When the network operation is complete, type ctrl-c on the Terminal to stop tcpdump.
- Reply to the ticket sent by Kerio technical support, attaching the generated problem.cap file.
- After you have sent the problem.cap file to Kerio technical support, the file will be analyzed and you will be contacted regarding the results of the analysis.