2

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?

Chris W. Rea
  • 10,740
  • 16
  • 76
  • 95
bpapa
  • 745
  • 3
  • 10
  • 24

3 Answers3

3

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

bpapa
  • 745
  • 3
  • 10
  • 24
  • 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 01:35
2

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.

Troggy
  • 10,221
  • 7
  • 48
  • 71
  • "I do not know of anything that is available "right out of the box"" tcpdump, which ships with the OS. –  Oct 09 '13 at 16:19
1

HTTPScoop does perfectly the job for simple http sniffing.

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

fer
  • 111
  • 4