how 'bout etherape.sf.net... Zak B. Elep wrote: > On 2/22/08, Percy <[EMAIL PROTECTED]> wrote: >> Hi. >> >> Do you know any tool that captures/intercepts exchange of HTTP headers >> between two machines? Kinda like the Firefox add-on Live HTTP Headers >> but should be able to run from the command line. > > tcpdump(8) should allow you to do this; for example, if you're on a > machine receiving www traffic from machine 10.0.0.2 on the eth0 > interface, and capture it to a file (say www.tcpdump,) while keeping > an eye on the content, you can do: > > # tcpdump -s 12800 -i eth0 src 10.0.0.2 and port 80 -w /dev/tty | tee > www.tcpdump > > Note that you'll probably get some junk after the headers (that's the > actual raw dump of the data being transmitted over HTTP.) We've been > using this fairly recently to test some interactions hehe. > > Cheers, > > Zakame > >
_________________________________________________ Philippine Linux Users' Group (PLUG) Mailing List [email protected] (#PLUG @ irc.free.net.ph) Read the Guidelines: http://linux.org.ph/lists Searchable Archives: http://archives.free.net.ph

