curl-users
Re: pcap output
Date: Thu, 16 Jun 2011 09:28:10 -0400
Dan's^2 , this may help or may not.
http://eecs.wsu.edu/~sshaikot/docs/lbpcap/libpcap-tutorial.pdf
Thanks,
Tim
On Thu, Jun 16, 2011 at 4:26 AM, Daniel Stenberg <daniel_at_haxx.se> wrote:
> On Thu, 16 Jun 2011, Daniel Nagy wrote:
>
> I would like to ask you whether it is possible to output the network
>> traffic of curl into a .pcap file. like in :
>>
>> $ curl --pcap-out ./kernelhttp.pcap http://kernel.org/
>>
>
> No, it isn't. I wouldn't mind having such a feature though so if you're up
> to it, please write up a patch! Shouldn't be terribly hard.
>
>
> This would be great, as one could easily debug curl's traffic in wireshark
>> without having to filter for http and to restart every time.
>>
>
> --trace and --trace-ascii have worked good enough for me every time I've
> wanted that level of control and knowledge.
>
> --
>
> / daniel.haxx.se
>
> -------------------------------------------------------------------
> List admin: http://cool.haxx.se/list/listinfo/curl-users
> FAQ: http://curl.haxx.se/docs/faq.html
> Etiquette: http://curl.haxx.se/mail/etiquette.html
>
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-users
FAQ: http://curl.haxx.se/docs/faq.html
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2011-06-16