meta data for this page
How to capture a PCAP log
In the field of computer network administration, pcap (packet capture) consists of an application programming interface (API) for capturing network traffic. Unix-like systems implement pcap in the libpcap library; Windows uses a port of libpcap known as WinPcap.
Monitoring software may use libpcap and/or WinPcap to capture packets travelling over a network and, in newer versions, to transmit packets on a network at the link layer, as well as to get a list of network interfaces for possible use with libpcap or WinPcap. The pcap API is written in C, so other languages such as Java, .NET languages, and scripting languages generally use a wrapper; no such wrappers are provided by libpcap or WinPcap itself. C++ programs may link directly to the C API or use an object-oriented wrapper.
For more info please refer to PCAP in wikipedia:wikipedia PCAP
How to capture a pcap log
Pcap tool built in software
Go to the web interface, path Upgrade-Advanced, see below picture.
- Step 1: Click Start to start pcap log capture
- Step 2, Reproduce the problem
- Step 3: Click Stop then export the captured log
- PCAP Auto Refresh: enable pcap log auto refresh, the max pcap size is 1Mbs.
Pcap captured by wireshark
Wireshark is a free and open-source packet analyzer. It is used for network troubleshooting, analysis, software and communications protocol development, and education.
Environment for Wireshark, A hub is required for capturing network packet trace with wireshark, everything has to be connected directly to a hub. A router or switch won't work.