Opened 3 weeks ago

Last modified 13 days ago

#32262 new task

MS: Implement an ExitSpider class

Reported by: irl Owned by: metrics-team
Priority: Medium Milestone:
Component: Metrics/Exit Scanner Version:
Severity: Normal Keywords: exitscanner
Cc: Actual Points:
Parent ID: #29654 Points:
Reviewer: Sponsor:

Description

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.

Child Tickets

Change History (2)

comment:1 Changed 3 weeks ago by atagar

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

Hi irl. For what it's worth Stem's Controller class should be fully thread safe. If that isn't the case please let me know.

comment:2 Changed 13 days ago by gaba

Keywords: exitscanner added
Note: See TracTickets for help on using tickets.