Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
T
Tor
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 1,069
    • Issues 1,069
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 20
    • Merge Requests 20
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar

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.

  • The Tor Project
  • Core
  • Tor
  • Issues
  • #3317

Closed
Open
Opened May 31, 2011 by Robert Ransom@rransom

Tor should lock its HiddenServiceDirs

We added a simple string comparison to keep me^Wusers from shooting themselves in their feet by specifying two hidden services with the same HiddenServiceDir in the same torrc, but someday we should also put a lock file in every HiddenServiceDir to prevent users from shooting themselves in their feet in more elaborate ways (e.g. using symlinks, or shared network filesystems, or multiple Tor instances).

The lock file will need to be named something other than lock (perhaps hslock), so that this won't break currently valid (but imprudent) configurations that use Tor's DataDirectory as the HiddenServiceDir for a hidden service.

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