cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: pcap output

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 16 Jun 2011 10:26:43 +0200 (CEST)

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
Received on 2011-06-16