Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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?

share|improve this question

3 Answers 3

up vote 3 down vote accepted

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

share|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

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.

share|improve this answer
    
"I do not know of anything that is available "right out of the box"" tcpdump, which ships with the OS. –  Guy Harris Oct 9 '13 at 16:19

HTTPScoop does perfectly the job for simple http sniffing.

Although a bit old fashion looking still worth to mention Eavesdrop for general basic sniffing

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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