Verify evidence Search

Evidence

Packet capture

Also known as
  • pcap
  • Network trace
  • VPNL-G-032
  • Evidence
  • Version 1.1
  • Updated

Definition

A packet capture is a recording of network packets as they cross an interface, saved in a file format such as pcap or pcapng, so that traffic can be analysed later packet by packet with tools such as Wireshark or tcpdump.

Packet capture explained

Capture tools read packets from a network interface — on the device itself or on a mirror (SPAN) port of a switch — and write them with precise timestamps. The classic libpcap format and its successor pcapng are supported by virtually every analysis tool; pcapng adds per-interface metadata and comments.

Packet captures are the primary evidence for leak testing: they show exactly which packets left the device, when, to which address and whether they were encapsulated in the tunnel. Capturing on the physical interface shows what an observer on the local network would see; capturing upstream shows what reaches the internet provider.

Captures can contain sensitive data — host names, IP addresses and sometimes cleartext content. Publishing them requires a controlled test environment without personal traffic, or redaction; if a capture is redacted, the redaction must be documented and the published hash must refer to the redacted file.

How VPN Labs uses it

VPN Labs captures leak and kill-switch scenarios on the test device’s physical interface and on an upstream mirror port. Captures are hashed immediately and listed in the record’s hash manifest. Full packet captures are normally restricted because they contain lab addressing; their hashes are published, and redacted text extracts are published as separate evidence items.

The methodology pages are the authoritative description of each procedure; this summary is for orientation.

Standards and references

  1. Wireshark — network protocol analyser (external link)wireshark.org
  2. tcpdump and libpcap (external link)tcpdump.org

Cite this definition

VPN Network Research Labs. (2026). Packet capture. VPN Labs Glossary. https://vpn.com.de/glossary/packet-capture

Glossary v1.1 · term ID VPNL-G-032 · last updated . The definition may be quoted with attribution; report errors under the corrections policy.