Opened 7 years ago

Closed 7 years ago

#7373 closed enhancement (fixed)

Add hooks in the HTTP API to allow requests via a SOCKS5 client

Reported by: hellais Owned by: hellais
Priority: Medium Milestone:
Component: Archived/Ooni Version:
Severity: Keywords: ooni
Cc: Actual Points:
Parent ID: #7269 Points:
Reviewer: Sponsor:

Description

There needs to be a way from inside the HTTP test template to call doRequest with the option use_tor set to true.

This will allow us to perform HTTP requests over Tor for control purposes.

Child Tickets

Change History (3)

comment:1 Changed 7 years ago by hellais

Parent ID: #7269

comment:2 Changed 7 years ago by hellais

Keywords: ooni added

comment:3 Changed 7 years ago by hellais

Resolution: fixed
Status: newclosed

This has been added and it's an argument that can be passed to the doRequest() called use_tor.

So you would do self.doRequest(url, use_tor=True)

Note: See TracTickets for help on using tickets.