Opened 8 months ago

Closed 4 months ago

#32262 closed task (wontfix)

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 (3)

comment:1 Changed 8 months 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 7 months ago by gaba

Keywords: exitscanner added

comment:3 Changed 4 months ago by irl

Resolution: wontfix
Status: newclosed

We took an alternative approach so this task is no longer necessary.

Note: See TracTickets for help on using tickets.