[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: Export END_CIRC_REASON_* to controller?



On Sat, Oct 07, 2006 at 05:26:54PM -0500, Mike Perry wrote:
> Hey guys,
> 
> I'm working on an update to the Snakes On A Tor scanner (still in
> perl, unfortunately), and I would like to gather statistics on circuit
> failure rates for nodes.
> 
> Is it possible to sneak in a "REASON" field into the tor control spec
> for CIRC CLOSED events? It would be useful to be able to tell which
> circuits were cleaned up by Tor and which may have been dropped due to
> unstable or malicious nodes.

Good idea; I'll hack something like that up.  Please remind me if it
isn't in svn some time over the course of the next week.

Alternatively, please feel free to submit a patch.  It shouldn't be
hard at all; the C is pretty straightforward here.

yrs,
-- 
Nick Mathewson

Attachment: pgpsJSCku5fNE.pgp
Description: PGP signature