Capture guides

How to capture network traffic to a PCAP file

A-Packets reads .pcap and .pcapng files. These guides cover the step before the upload: recording traffic on Windows, Linux, macOS, Android or an iPhone into one of those files, cutting it down to the part that answers your question, and removing what should not leave your hands. Each command was run or checked against its tool's documentation, and each guide says what its kind of capture can and cannot show.

Pick the guide for where you stand

Capture where the question is

A capture holds only the packets that passed the point where it was taken. Record on the host that has the problem when the question is about one machine: a server that resets connections, a laptop that cannot reach a share, a phone app that talks to an unknown domain. Record on a mirror port or a router when the question is about a segment, such as who answers for the gateway or which hosts reach the internet directly. A capture from the wrong side of a firewall or NAT shows a different set of addresses, and traffic between two hosts on one switch never reaches a capture taken at the uplink.

Before an upload, check the size and what the file contains. Public analysis takes captures up to 25 MB, and its report is public, so split a large PCAP to the part you need and sanitize the PCAP before it goes out. For incident or customer traffic, use a private plan or the self-hosted PCAP analyzer. The use cases show what to look for once the report is open.