uProxy-p2p icon indicating copy to clipboard operation
uProxy-p2p copied to clipboard

Firefox needs to use the dynamically allocated proxy from socks-to-rtc

Open iislucas opened this issue 12 years ago • 4 comments

currently we have hardwired the browser's proxy settings to use port 9999: https://github.com/uProxy/uproxy/blob/7d8a4efba7b7274acc7f1a5c89e1a20a5d27896b/src/chrome/extension/scripts/proxy-config.ts#L21

We should instead be getting the port given back by the socks-to-rtc promise for starting the socks proxy.

iislucas avatar Sep 04 '14 06:09 iislucas

Is this still active? @lucyhe you lowered the scope, but didn't reference what change fixed this in chrome. Do we know where the corresponding change would be in firefox, and if this is still relevant?

willscott avatar Dec 11 '14 03:12 willscott

Done for Chrome here: https://github.com/uProxy/uproxy/pull/457 Active for Firefox; waiting for latest uproxy-lib/networking FF changes to make their way into uproxy. The changes should likely be here: https://github.com/uProxy/uproxy/blob/dev/src/firefox/lib/firefox_proxy_config.js

Although I was reading FF documentation and they mentioned not to use network.proxy preferences in "extensions". (Mentioned here: https://developer.mozilla.org/en-US/docs/Mozilla/Preferences/Mozilla_networking_preferences) Is our add-on technically an extension? (This seems to suggest yes http://stackoverflow.com/a/7580811) FF recommends using this instead: https://developer.mozilla.org/en-US/docs/Mozilla/Tech/XPCOM/Reference/Interface/nsIProtocolProxyFilter

(thoughts @salomegeo ?)

lucyhe avatar Feb 06 '15 16:02 lucyhe

@lucyhe - can this be closed?

dborkan avatar Mar 16 '15 21:03 dborkan

done https://github.com/uProxy/uproxy/pull/1102

lucyhe avatar Mar 18 '15 02:03 lucyhe