I'm doing some development, a Java app that communicates via HTTP. The log4j isn't helping me much so I'd like to see the actual HTTP Request that I am creating once it gets sent out.

I know that in the Windows world I use a packet sniffer for this. Sometimes I'm surprised by what OS X can do out of the box - can it do this?

If not, what's a good packet sniffer on OS X?

link|improve this question

feedback

2 Answers

up vote 3 down vote accepted

turns out that tcpdump is an easy way to do it out of the box.

link|improve this answer
excellent. – Troggy Aug 6 '09 at 3:37
you probably need to run as root. There are a couple ways to get access. I set my root password. – benc Aug 18 '09 at 1:35
feedback

http://www.wireshark.org/download.html

This is the best one I have used so far. I do not know of anything that is available "right out of the box" though.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.