Great! To capture the traffic, you need to have
Xcode installed - if you don't, note that it's ..big.. you'll probably need to have about 10-15GB free space to install it.
Once it's installed, run it, and it'll ask to install Command Line Tools - yes please.
Then connect your iOS device via USB and open "Devices and Simulators" (Window -> Devices and Simulators). If this is the first time you attach your device to Xcode, the device will ask you to confirm that you trust this computer.
Click your device in the list on the left and you'll see a long "Identifier" number for it. Double-click the number to select it, then right click it and choose 'Copy'.
Press Cmd+Space to open Spotlight and type "Term" to find Terminal.app and press enter.
Here's where the magic happens - create a Remote Virtual Interface with the following command:
- Code: Select all
rvictl -s <paste the identifier you just copied from Xcode>
It should say something like "Starting device xxxxxxxxxxxxxxxxxxxxxxxxxxxx [SUCCEEDED] with interface rvi0'.
To start capturing network traffic on the new interface rvi0, type:
- Code: Select all
sudo tcpdump -i rvi0 -v -w ~/Desktop/eosr.pcap
It'll ask for your computer password, since this is not something everybody should be able to do..
To end a capture, you simply press Control+c.
Don't open ShutterSnitch. I need a clean capture of things working as they should with the Canon app.
To keep things clean, it'd be great if you could separate the captures into say 2 files:
* One with the pairing, then entering a 'recieve as you take pictures mode', and finally taking a photo.
* Another with a pairing, then browsing the existing photos on the camera, picking one, and downloading it.
Please keep in mind, that I'll be able to restore that photo from the cap, so don't make it a photo of any sensitive information please.. I don't want to invade your privacy! :)
When you're done capturing, you can remove the virtual interface by typing:
- Code: Select all
rvictl -x <the identifier you copied from Xcode>
To attach the pcap files in this forum, it's probably best to right-click each file and choose "Compress ..". So you can attach them as a zip files.
Did I scare you away or are you still up to trying it? :)