Opened 14 months ago

Last modified 9 months ago

#28087 new defect

Investigate circuit timeout times and if sbws is properly cleaning up circuits when it gives up on them

Reported by: pastly Owned by:
Priority: Medium Milestone: sbws: unspecified
Component: Core Tor/sbws Version:
Severity: Normal Keywords: scanner
Cc: pastly, juga, teor Actual Points:
Parent ID: #29954 Points:
Reviewer: Sponsor:

Description

And it seems to be garbage circuits, or circuits it gave up on but didn't clean up.

Here is the output of a script that shows the in-use circuits. 6 measurements happening. 43 circuits in existence??? What the hell is that???

* 21983 tornodenumber9004 Quintex42 (185.21.216.198:443)
* 21994 romero niftyllipika (185.21.216.198:443)
* 21995 ffffm CalyxInstitute09 (185.21.216.198:443)
* 21996 AgentBolek Unnamed (185.21.216.198:443)
* 21997 BeastieJoy61 whatconfig (185.21.216.198:443)
* 21998 blueberryTORnode1 anonymous3 (185.21.216.198:443)
6 streams; 6/43 circuits in use

Child Tickets

Change History (8)

comment:1 Changed 13 months ago by juga

pastly, do you still have that script?, would you mind to attach it?. Thanks!

comment:2 Changed 13 months ago by pastly

https://github.com/pastly/python-snippits/blob/master/src/tor/control-status.py

Note you might need to edit this function that builds the controller if you have a Tor listening on 9051 but want to connect to a Tor using a ControlSocket

comment:3 Changed 13 months ago by teor

Milestone: sbws 1.1

Tor will clean up circuits after 10 minutes, so this can probably wait until sbws 1.1.

comment:4 Changed 13 months ago by teor

Milestone: sbws 1.1sbws 1.2

Milestone renamed

comment:5 Changed 13 months ago by teor

Milestone: sbws 1.2sbws: 1.2.x

Milestone renamed

comment:6 Changed 13 months ago by teor

Milestone: sbws: 1.2.xsbws: 1.2.x-final

Milestone renamed

comment:7 Changed 13 months ago by teor

Milestone: sbws: 1.2.x-finalsbws: unspecified

Milestone renamed

comment:8 Changed 9 months ago by juga

Keywords: scanner added
Parent ID: #29954
Note: See TracTickets for help on using tickets.