Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
Trac
Trac
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 246
    • Issues 246
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Operations
    • Operations
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Create a new issue
  • Issue Boards

GitLab is used only for code review, issue tracking and project management. Canonical locations for source code are still https://gitweb.torproject.org/ https://git.torproject.org/ and git-rw.torproject.org.

  • Legacy
  • TracTrac
  • Issues
  • #28678

Closed (moved)
Open
Opened Dec 01, 2018 by Trac@tracbot

Tor on windows needs to be installed and operated insecurely in user home directory

On Windows platforms, it appears that Tor needs to be installed in a user's home directory. Executable files that need network access should be installed in %PROGRAMFILES%. Why? Files in a user directory are more likely to be infected, malware, etc. On secure unix systems, for example, it is not uncommon for there to be no allowed executables in $HOME.

Can you install into %PROGRAMFILES%?

You can install tor there, yes, but it does not function. The browser, firefox.exe, complains with:

"Tor Browser does not have permission to access the profile. Please adjust your file system permissions and try again."

In https://trac.torproject.org/projects/tor/ticket/17929, the advice given is to re-install Tor and the problem will go away. I'm sorry but every time I remove and re-install Tor I get the above error message.

If I start it like this:

"C:\Program Files\Tor Browser\Browser\firefox.exe" /profile %APPDATA%/tor/profile

If I didn't know better, the contents of "Tor Browser\Browser\TorBrowser\Data\Browser\profile.default" need to be in %APPDATA%/tor/profile.

But that's not enough. For some reason firefox wants to create this file:

%PROGRAMFILES%\Tor Browser\Browser\TorBrowser\Tor\torrcc-defaults

Curiously, the "Process Monitor" (sysinternals) reports a number of "Buffer Overflow" results for calls to "QueryAllInformationFile" from firefox.exe.

Anyway...

The above "torcc-defaults" file is not created by the installer, it needs to be created manually as follows:

  1. create "torcc"file in %APPDATA%\tor
  2. copy content to it from https://github.com/jessfraz/dockerfiles/blob/master/tor-proxy/torrc.default
  3. copy "torcc" file to "%PROGRAMFILES%\Tor Browser\Browser\TorBrowser\Tor"
  4. rename "torcc" to "torcc-defaults"

Trac:
Username: db

To upload designs, you'll need to enable LFS and have admin enable hashed storage. More information
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: legacy/trac#28678