rvictl for Linux: capture packets sent/received by iOS devices
A utility to create packet capture dumps from iOS devices; useful for debugging network activity via Wireshark.
libimobiledevice and python3 must be installed.
./rvi_capture.py [--format {pcap,pcapng}] [--udid UDID] outfile
--format: capture format- pcap: The default. Can be streamed directly to Wireshark. Packets sent on the cellular interface are not Ethernet packets, and will have the source and destination MAC set to 00:00:00:00:00:00.
- pcapng: Newer, allows for distinguishing between interfaces, but Wireshark does not support treaming captures with this format.
--udid: device UDID
The specific device to target. If omitted, the first device found will be used.outfile: output file or FIFO, or-for standard output.
./rvi_capture.py - | wireshark -k -i -
Packets sent on the cellular interface can be filtered for via the filter
eth.src == 00:00:00:00:00:00 && eth.dst == 00:00:00:00:00:00.