Trac: Summary: Make Tor Launcher work with SocksSocket option to Make Tor Launcher work with Unix Domain Socket option Description: In order to enhance the security of the Tor Browser we should at least for *NIX systems support the recently landed SocksSocket option.
to
In order to enhance the security of the Tor Browser we should at least for *NIX systems support the recently landed Unix Domain Socket option.
We're wondering on how one would still be able to use Tor Browser behind a Transparent/Isolating Proxy, Whonix, without Tor over Tor then.
While you're at this, could you please add support for connecting to an already, previously existing unix domain socket file? Such as an environment variable export TOR_PRE_EXIST_UNIX_SOCKET=/path/to/socket (or so)? (The creation of that socket would be up to the user of such an TOR_PRE_EXIST_UNIX_SOCKET environment variable.)
(We could then use socat to create the socket and to forward it to another IP/port where Tor is listening.)
As far I understand, this is up to Make Tor Launcher work with Unix Domain Socket option (#14272 (moved)). What is Tor Button's role in this?
Torbutton includes code that interacts with tor via the control port (e.g., newnym, circuit display). If we disable all TCP in Tor Browser, control port communication will need to be via a Unix domain socket as well (so Torbutton will need to be modified).
Then I must write an update to my previous post. :)
We're wondering on how one would still be able to use Tor Browser behind a Transparent/Isolating Proxy, Whonix, without Tor over Tor then.
While you're at this, could you please add support for connecting to an already, previously existing unix domain socket files? Such as an environment variables:
Two things (no need to create a new branch if 2. is moot):
In the commit description s/is is use/is in use/
Why do we have a new param for getTorFile()? Do we expect more calls with aMustExist === false? If not, why not just omit that param (and do something like "control_socket" == aTorFileType again) or at least rename it to something more descriptive than aMustExist (like aControlSocket)?
I was confused about the !aMustExist check as the connection between that and doing f.normalize(); seems not obvious at first glance.
Two things (no need to create a new branch if 2. is moot):
In the commit description s/is is use/is in use/
Oops. Thanks!
Why do we have a new param for getTorFile()? Do we expect more calls with aMustExist === false? If not, why not just omit that param (and do something like "control_socket" == aTorFileType again) or at least rename it to something more descriptive than aMustExist (like aControlSocket)?
Thanks, this is commit 8871259c966755233b134a5ddb2b4926539d25c6 on master. I'll get that onto the proper maint branch for the alphas later. I added a typo-fix-commit as well (commit 32ddac7015be571c336be686b4f901103d0d36f6) to save us one round-trip.
Trac: Status: needs_review to closed Resolution: N/Ato fixed