How can captured packets be save as Wireshark compatible files via "tcpdump" command in the SBG3300?
Step 1 Establish a Telnet connection to the SBG3300. The default IP address is 192.168.1.1. Use the “admin” account to access the SBG that can do the packet capture.
Step 2 Enter the command "sh".
Step 3 Enter command “tcpdump -i ‘interface name’ -w /var/tmp/’file name’”.
In this example, the goal is to capture packets in the br0 interface and save them into file name test001. Therefore, the command entered is “tcpdump –i br0 -w /var/tmp/test001". When the command is entered, packets in this interface are recorded.
Note: Use "ifconfig" command to check the interface name.
Step 4 Once the packet capture is finished, press “ctrl-c” to stop the capture session.
Step 5 Access the corresponding folder where the packet capture file is saved. Enter the command “cd /var/tmp” to access the folder.
Step 6 Check whether the packet capture file is in the folder. Enter the “ls” command to check.
Step 7 Start the Filezilla application. Enter the IP address, username and password to access SBG3300. In the remote side, enter the corresponding path where the packet capture file is saved, which is /var/tmp/ in this example. The file test001 is in the folder.
Step 8 Select a specific folder at the local side where the packet capture file will be saved. Right-click on the packet capture file and select “Download”.
Step 9 After the file is downloaded, change the file name in order to make it compatible with Wireshark. Add “.pcapng” following the original file name.
Step 10 The file should now be Wireshark compatible.
Open the file in Wireshark and check the captured packets.
- 7.8K All Categories
- 1.6K Nebula
- 55 Nebula Ideas
- 53 Nebula Status and Incidents
- 4.3K Security
- 217 Security Ideas
- 908 Switch
- 40 Switch Ideas
- 808 WirelessLAN
- 16 WLAN Ideas
- 5K Consumer Product
- 131 Service & License
- 260 News and Release
- 88 Success Stories
- 49 Security Advisories
- 6 Education Center
- 573 FAQ
- 273 Nebula FAQ
- 132 Security FAQ
- 73 Switch FAQ
- 72 WirelessLAN FAQ
- 7 Consumer Product FAQ
- 34 Nebula Monthly Express
- 67 About Community
- 40 Security Highlight