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

Re: Export END_CIRC_REASON_* to controller?



Thus spake Nick Mathewson (nickm@xxxxxxxxxxxxx):

> 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.

Ok, I'm on it. You're right it's not that bad at all. Will test it for
a bit w/ the scanner then post.

Should I patch the control-spec.txt as well?


-- 
Mike Perry
Mad Computer Scientist
fscked.org evil labs