Difference between revisions of "Recording a packet log"

From Worms Knowledge Base

Jump to: navigation, search
(Created)
 
(Update HB hostname)
 
(9 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 +
{{ParentArticle|[[Guides, FAQs, and ReadMes]]}}
 
This page contains instructions on how to create a network packet log to help troubleshooting network problems.
 
This page contains instructions on how to create a network packet log to help troubleshooting network problems.
 
+
__NOTOC__
 
=== Step 1: Download, install and open Wireshark ===
 
=== Step 1: Download, install and open Wireshark ===
Wireshark is a free and open-source packet analyzer. You can download it from its website, [http://www.wireshark.org/ www.wireshark.org].
+
Wireshark is a free and open-source packet analyzer. You can download it from its website, http://www.wireshark.org/.
 
After downloading, install it (together with WinPcap, which is included), and then open it from the Start menu.
 
After downloading, install it (together with WinPcap, which is included), and then open it from the Start menu.
  
 
=== Step 2: Select the interface ===
 
=== Step 2: Select the interface ===
Click on the "Interface List" button ( [[Image:Intf-list.gif]] ). This will open the list of available network interfaces. Click the '''Options''' button in the row corresponding to the network interface for your Internet connection. Some computers only have one network interface; others have several. For example, laptops can have wireless and LAN network interfaces. If unsure, select the interface with most packets.
+
Click on the "Interface List" button ( [[Image:Intf-list.gif|link=|alt=|]] ). This will open the list of available network interfaces. Click the checkbox in the row corresponding to the network interface for your Internet connection. Some computers only have one network interface; others have several. For example, laptops can have wireless and LAN network interfaces. If unsure, select the interface with most packets.
 +
 
 +
Next, click '''Options'''.
  
 
=== Step 3: Configure capture options ===
 
=== Step 3: Configure capture options ===
 
[[Image:Capture-options.png|thumb|An example of correct capture options]]
 
[[Image:Capture-options.png|thumb|An example of correct capture options]]
Set the following capture options:
+
Double-click the selected interface in the interface list, and set the following capture options:
* Uncheck '''Capture packets in promiscuous mode''' if checked
+
* Uncheck '''Capture all in promiscuous mode''' if checked
 
* In the field by the '''Capture Filter:''' button, enter: <code>host wormnet1.team17.com or port 17011</code>
 
* In the field by the '''Capture Filter:''' button, enter: <code>host wormnet1.team17.com or port 17011</code>
 +
** If you are troubleshooting a [[HostingBuddy]] problem, use the following filter:
 +
**:<code>host wormnet1.team17.com or host hostingbuddy.wormnet.net or port 17011</code>
 +
** If you are troubleshooting a [[WormNAT2]] problem, use the following filter:
 +
**:<code>host wormnet1.team17.com or host proxy.wormnet.net or port 17011</code>
 +
*Please include the whole text, including the word <code>or</code> , in the filter.
  
 
=== Step 4: Start the capture ===
 
=== Step 4: Start the capture ===
Click the '''Start''' button to begin capturing packets.
+
Click '''OK''' to close the interface settings window, then click the '''Start''' button to begin capturing packets.
  
 
=== Step 5: Reproduce the problem ===
 
=== Step 5: Reproduce the problem ===
Start W:A and try to reproduce the network problem that you are experiencing.
+
Start W:A and try to reproduce the network problem that you are experiencing. Leave Wireshark open while it records the relevant network traffic.
  
 
=== Step 6: Stop and save the capture ===
 
=== Step 6: Stop and save the capture ===
After reproducing the problem (and recording the corresponding traffic), click the '''Stop capture''' ( [[Image:Capture_stop_24.gif]] ) button, then save the capture to disk.
+
After reproducing the problem (and recording the corresponding traffic), click the '''Stop capture''' ( [[Image:Capture_stop_24.gif|link=|alt=|]] ) button, then save the capture to disk.

Latest revision as of 16:14, 27 October 2015

This page contains instructions on how to create a network packet log to help troubleshooting network problems.

Step 1: Download, install and open Wireshark

Wireshark is a free and open-source packet analyzer. You can download it from its website, http://www.wireshark.org/. After downloading, install it (together with WinPcap, which is included), and then open it from the Start menu.

Step 2: Select the interface

Click on the "Interface List" button ( ). This will open the list of available network interfaces. Click the checkbox in the row corresponding to the network interface for your Internet connection. Some computers only have one network interface; others have several. For example, laptops can have wireless and LAN network interfaces. If unsure, select the interface with most packets.

Next, click Options.

Step 3: Configure capture options

An example of correct capture options

Double-click the selected interface in the interface list, and set the following capture options:

  • Uncheck Capture all in promiscuous mode if checked
  • In the field by the Capture Filter: button, enter: host wormnet1.team17.com or port 17011
    • If you are troubleshooting a HostingBuddy problem, use the following filter:
      host wormnet1.team17.com or host hostingbuddy.wormnet.net or port 17011
    • If you are troubleshooting a WormNAT2 problem, use the following filter:
      host wormnet1.team17.com or host proxy.wormnet.net or port 17011
  • Please include the whole text, including the word or , in the filter.

Step 4: Start the capture

Click OK to close the interface settings window, then click the Start button to begin capturing packets.

Step 5: Reproduce the problem

Start W:A and try to reproduce the network problem that you are experiencing. Leave Wireshark open while it records the relevant network traffic.

Step 6: Stop and save the capture

After reproducing the problem (and recording the corresponding traffic), click the Stop capture ( ) button, then save the capture to disk.

Personal tools