tcpdump mailing list archives

Re: HTTP support in libpcap


From: Guy Harris <guy () alum mit edu>
Date: Sun, 29 Oct 2006 01:49:21 -0800

abakash wrote:

I am new to libpcap and just want to know whether libpcap has got any http support in it i.e. whether I can extract http header information from any packet.

You can, if you choose, write code to extract HTTP header information from any TCP segment captured by libpcap that contains HTTP header information and that was captured with a "snapshot length" long enough to contain the header information in question.

Libpcap, however, won't do it for you; you will have to do it yourself.
-
This is the tcpdump-workers list.
Visit https://cod.sandelman.ca/ to unsubscribe.


Current thread: