• iPhone,  Mac Security,  Network Infrastructure

    Listen To iOS Network Communications

    OS X has a command called rvictl, which can be used to proxy network communications from iOS devices through a computer over what’s known as a Remote Virtual Interface, or RVI. To setup an rvi, you’ll need the udid of a device and the device will need to be plugged into a Mac and have the device paired to the Mac. This may seem like a lot but if you’ve followed along with a couple of the other articles I’ve done recently this should be pretty simple. First we’ll pair: idevicepair pair Then tap Trust on the device itself. Then we’ll grab that udid with idevice_id: idevice_id -l Next, we’ll…

  • Mac OS X Server

    Debug Logging iCal

    One of the tools in the iCal -> iCal Server troubleshooting toolbelt is to debug log HTTP connections. You can capture packets for port 8008 using tcpdump. In the following command, we’ll capture the packets over interface en0 for tcp port 8008 to a file called iCal.pcap: tcpdump -w iCal.pcap -i en0 tcp port 8008 We’ll then attempt to create a calendar entry in iCal or simply log into the server through iCal. CalDAV traffic will occur and then you can stop the tcpdump. In order to then read the tcpdump: tcpdump -nnr iCal.pcap Another option that can help to correlate traffic you see in the pcap from tcpdump is…