views:

383

answers:

7

What application do you use to monitor HTTP communication on OS X?

+1  A: 

HTTPTracer

http://simile.mit.edu/wiki/HTTPTracer

lajos
+2  A: 

Charles Proxy

Charles is an HTTP proxy / HTTP monitor / Reverse Proxy that enables a developer to view all of the HTTP traffic between their machine and the Internet. This includes requests, responses and the HTTP headers (which contain the cookies and caching information).

Runs on JAVA. Available on OSX, Linux and Windows.

Pascal Paradis
+1  A: 

You could also use dTrace to monitor in even more detail, if that's what you need.

Robert Gould
+1  A: 

I second using Charles, it's a really excellent tool for HTTP examination. When used with the iPhone simulator (or any other OS X application) Charles automatically sets up the system settings to use itself as a proxy so you only have to launch and run. It also is very easy to examine the traffic in a few different ways, and has a very lenient free trial version that is fully featured (time limited to an hour with a few nag screens) so you can give it a good try.

Kendall Helmstetter Gelner
A: 

Depends on what you mean by monitor...

If you simply want to know/stop when an installed application (or the OS) tries to "phone home", then I recommend LittleSnitch.

The peace of mind you gain is well worth the loss of weight from your bank account.

ceretullis
+1  A: 

If you're looking to trace application traffic, Wireshark is the best tool I've found - it can log and decode HTTP and many other protocols, and the GUI's search tools make finding the messages you're interesting in pretty quick and painless.

Other reasons I recommend this:

  • It's quick to install
  • It captures traffic straight from the network card, there is no need to change the application or set up proxies etc. It'll even read dumps captured from tcpdump and similar tools offline
  • It's multi-platform (works on Windows/Mac/Linux and others)
  • It's open source
Andy Lynch
A: 

I like TcpCatcher. It is free and 100% java based so it works fine on Mac OS X. Not only, you will be able to monitor HTTP communication but you will also be able to change requests / responses on the fly which opens very interesting possibilities.. There is a dedicated tutorial on capturing iPhone's HTTP communication.