[metrics-bugs] #32262 [Metrics/Exit Scanner]: MS: Implement an ExitSpider class

Tor Bug Tracker & Wiki blackhole at torproject.org
Thu Oct 24 11:55:03 UTC 2019

#32262: MS: Implement an ExitSpider class
     Reporter:  irl                   |      Owner:  metrics-team
         Type:  task                  |     Status:  new
     Priority:  Medium                |  Milestone:
    Component:  Metrics/Exit Scanner  |    Version:
     Severity:  Normal                |   Keywords:
Actual Points:                        |  Parent ID:  #29654
       Points:                        |   Reviewer:
      Sponsor:                        |
 The ExitSpider class defines a new type of PATHspider plugin that connects
 to the specified host in the job via the specified exit relay.

 This class needs to contain a controller instance, and maintain a table of
 outbound connections to circuits. You can synchronously use the controller
 as part of connect, stick the destination into the table, make the
 connection via socks synchronously with libcurl while the controller async
 attaches the stream to the circuit you built earlier.

 There needs to be retry logic, with retries counted and perhaps also
 detailed recording of the error conditions.

 There may also need to be some thread safety thinking done about the stem
 functions that communicate with the controller.

Ticket URL: <https://trac.torproject.org/projects/tor/ticket/32262>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online

More information about the metrics-bugs mailing list