How can I analyse network traffic?
Wireshark (free from wireshark.org) is the standard tool of choice. Its interface is crossplatform, and many prefer the familiarity of Cocoa Packet Analyzer; bizarrely, limitations of OS X’s sandboxing mean the Mac App Store version can’t capture packets, so get the fully functional version from tastycocoabytes.com.