Opened 4 years ago

Closed 3 years ago

#12120 closed enhancement (fixed)

Enable Firefox meek-http-helper to use an upstream proxy

Reported by: dcf Owned by: dcf
Priority: Medium Milestone:
Component: Obfuscation/meek Version:
Severity: Keywords:
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

The helper should be able to use an upsteam proxy, so that it can be used to implement TOR_PT_PROXY as in #8402/proposal 232.

Commit cf81b598 (the removed part) shows how to create a per-request proxy setting.

Child Tickets

Change History (3)

comment:1 Changed 4 years ago by dcf

Summary: Enable meek-http-helper to use an upstream proxyEnable Firefox meek-http-helper to use an upstream proxy

comment:2 Changed 4 years ago by dcf

Status: newneeds_review

I have a branch implementing #8402/proposal 232 in meek-client.

When run with the browser extension helper (--helper option), all the proxy types are supported: http, socks5, and socks4a. When run without the helper, only http is supported.

Here's a cumulative diff of all changes as of the posting of this comment:

The code in the Firefox browser extension is pretty simple. We just add a new proxy key to the JSON blob passed to the extension, and set up the right kind of nsIProxyInfo.

In meek-client, we add the new JSON proxy element when using the helper:

See also #12125 for the migration of the TOR_PT_PROXY code to goptlib. It would move the code in proxy.go and proxy_test.go.

comment:3 Changed 3 years ago by dcf

Resolution: fixed
Status: needs_reviewclosed

Merged.

Note: See TracTickets for help on using tickets.