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

Re: determining which are the ORs a Tor circuit is using



On Tue, Nov 11, 2008 at 06:43:47PM -0500, Sambuddho Chakravarty wrote:
> > For example, if you send
> >   setevents extended circ stream
>
> Does this correlate to the place in the code in the file circuitbuilt.c
> where you are signalling a circiut to go from closed state to open
> state. 
> 
> circuit_send_next_onion_skin()

That's one of the places. grep for calls to control_event_circuit_status()
for what the various circ events correspond to.

(One of them is called from circuit_has_opened(), which is very near
the piece of code you pasted. And that's the only place right now that
signals a circuit has finished building.)

--Roger