Re: A log to replay the requests?

"M.T. Roebuck" <[email protected]> Thu, 20 Mar 2014 18:45:51 -0700
Newsgroups gmane.comp.web.polipo.user
Message-ID <[email protected]>
On Wed, 19 Mar 2014 04:57:25 +0400
Ivan Zakharyaschev <[email protected]> wrote:

> Hello!
> 
> I have polipo (1.0.4) die quite regularly.
> 
> I want to try to get a reproducible scenario how to cause it to die;
> so I'd like to have a debugging log which would allow to replay all
> the requests, and check whether this will lead to death again.

You may be able to use tcpdump to capture the traffic and then replay
that traffic with tcpreplay to reproduce.  You will probably want
separate networks.

You may also be able to use strace -e trace=network polipo
Not 100% sure this will give you useful info, might need some
more strace flags.
 

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech