tcpdump mailing list archives

Retrieving payload


From: "Justin Robinson" <csmjmr () bath ac uk>
Date: Mon, 14 Jul 2003 15:18:03 +0100

Hi

I'm writing some packet reading code that simply prints to stdin the HTTP or NNTP conversations on an internet 
connection.
I was wondering if I could extract the payload information that shows the packet's contents from the packet without 
worrying about the other headers?

If not.... how can I get the HTTP information from a packet that is sent using TCP/IP over Ethernet?

Thanks in advance
Justin

Current thread: