Hi,
How "automated" your sniffing would be?
You can just use Wireshark if you wanna capture the packets only in a
small period of time.
Otherwise, you might wanna write a program that access to libpcap (or
winpcap) directly.
And do you need only the HTTP packets or the data in the packets?
If you need the data in the packets, I cannot see any other way but to
write your own capturing program.
To filter the HTTP packets, you can write a routine that look into the
packet payload for some specific HTTP syntax.
Cheers,
Isara
On Mon, May 5, 2008 at 11:30 PM, Prakash Shetty
<shettyprakash007@xxxxxxxxx> wrote:
> Hi,
>
> I am looking for a library which would sniff the HTTP/HTTPs traffic and
> capture the data such as response/request header, cookies, redirects, URL
> and other relevant data.
> Do anyone have an idea about this and can suggest something useful.
>
> Appreciate and Thanks
> -Prakash
> _______________________________________________
> Wireshark-users mailing list
> Wireshark-users@xxxxxxxxxxxxx
> http://www.wireshark.org/mailman/listinfo/wireshark-users
>
>