You can use Paros to sniff network traffic from your iPhone. See this great step-by-step post for more information: http://blog.jerodsanto.net/2009/06/sniff-your-iphones-network-traffic/ . Also, check out the comments for some tips on using other proxies to do the same job.
One caveat is that Paras only sniffs HTTP GET / POST requests using the method described above, so to sniff all network traffic, try the following:
- Just enable WiFi access and run a packet sniffer like Cocoa Packet Analyzer (on OSX).
- Then connect to the new network from the iPhone via WiFi. (SystemPreferences-> Sharing> InternetSharing)
If you sniff these packages on Windows, connect to the Internet using Ethernet, share your Internet connection and use your Windows computer as an access point. Then simply start Wireshark as usual and intercept the passing packets, filtering their starting points. Alternatively, try using a network hub, as Wireshark can monitor all packets passing through the network if they use the same router endpoint address (as in the hub).
Nathan Kleyn Oct 21 '09 at 2:33 2009-10-21 02:33
source share