Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Useful tool (was CFNetwork, HTTP and POST messages)



On Dec 15, 2005, at 7:29 AM, Frederick Cheung wrote:

Do you know that the data is actually getting as far as the server (use tcpdump etc...)?

This may be known to a lot of you, but another useful tool for looking at HTTP and FTP packets is tcpflow. tcpflow is a lot like using tcpdump with the -A (show ascii) option, but it:


* Strips off all of the TCP headers, time-stamps, etc (which if you don't need them, are just clutter) and

* Optionally (you can turn this off with the -c option which I do most of the time) lets you divide the output into data streams and store those into separate "flow" files.
So, instead of using:


	% sudo tcpdump -A -s 0 port 80

try:

	% sudo tcpflow -c port 80

tcpflow will read packet traces collected with tcpdump, so you can use it for looking at traces collected by others with tcpdump.

The Mac OS X port of tcpflow can be found at:

	http://www.entropy.ch/software/macosx/welcome.html#tcpflow

- Jim Luther
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/macnetworkprog/email@hidden

This email sent to email@hidden
References: 
 >CFNetwork, HTTP and POST messages (From: David Lalonde <email@hidden>)
 >Re: CFNetwork, HTTP and POST messages (From: Frederick Cheung <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.