Title here
Summary here
With PiRogue, it’s easy to capture the network traffic of all devices at once or the network traffic of a single device.
Simply use tcpdump
and specify the name of the isolated interface:
In the command above, replace
[isolated interface]
with the name of the isolated interface[PCAP file]
with the name of the file that will contain the network trafficPress Ctrl+C to stop the capture.
Use tcpdump
, specify the name of the isolated interface and the IP address of the device:
In the command above, replace:
[isolated interface]
with the name of the isolated interface[device IP address]
with the IP address of the device whose traffic you want to capture[PCAP file]
with the name of the file that will contain the network trafficPress Ctrl+C to stop the capture.
In this example, the name of the isolated network interface is wg0
, 10.8.0.2
is the IP address of the device and the network traffic will be saved in the file /tmp/traffic.pcap
.
tcpdump: listening on wg0, link-type RAW (Raw IP), snapshot length 262144 bytes ^C476 packets captured 476 packets received by filter 0 packets dropped by kernel
The PCAP file can be opened with Wireshark.