I'm developing a website that uses SSL (connction to https) and I want to confirm that all the data sent is encrypted. Could anyone give me a good free packet sniffer on Mac OS that I could use?
Thanks!
I'm developing a website that uses SSL (connction to https) and I want to confirm that all the data sent is encrypted. Could anyone give me a good free packet sniffer on Mac OS that I could use?
Thanks!
It's not as slick as Wireshark, but OS X has a built-in command line tool for capturing and displaying packets:
sudo tcpdump -A -s0 -ien0 port 80
(the -A
flag makes it display the packets' contents as text, -s0
makes it capture entire packets not just the headers, -ien0
makes it capture on the first ethernet interface (generally, the wireless is en1), and port 80
makes it only capture traffic to/from port 80 (see the man page for more options for capture patterns.)
Don't forget Packet Peeper, WireShark is not so nice on Mac.
Wireshark, or, Lion comes with one built in. Find it at /System/Library/CoreServices/Wi-Fi Diagnostics. I prefer Wireshark.