Skip to content

Instantly share code, notes, and snippets.

@hoggren
Last active July 9, 2016 19:17
Show Gist options
  • Save hoggren/aff02cea7c0ffa269b70fa851ac92fe9 to your computer and use it in GitHub Desktop.
Save hoggren/aff02cea7c0ffa269b70fa851ac92fe9 to your computer and use it in GitHub Desktop.
IOS Package tracing

IOS packet tracing

Connect your IOS device to a Mac via USB. Create a virtual network interface which the IOS traffic will tunneled through Trace packets using Wireshark/tcpdump You will need your device's UID which can be obtained by iTunes.

Run in terminal:

rvictl -s <device_id>

Replace <device_id> with your UID.

Now there should be a virtual interface, you can check by running ifconfig -l. The new interface will be named something like rvi0.

Capture your packets using the new interface in Wireshark!

Reference

https://developer.apple.com/library/mac/qa/qa1176/_index.html#//apple_ref/doc/uid/DTS10001707-CH1-SECIOSPACKETTRACING

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment