[tor-bugs] #3317 [Tor Hidden Services]: Tor should lock its HiddenServiceDirs
Tor Bug Tracker & Wiki
torproject-admin at torproject.org
Tue May 31 04:40:52 UTC 2011
#3317: Tor should lock its HiddenServiceDirs
---------------------------------+------------------------------------------
Reporter: rransom | Owner:
Type: defect | Status: new
Priority: minor | Milestone: Tor: unspecified
Component: Tor Hidden Services | Version:
Keywords: | Parent:
Points: | Actualpoints:
---------------------------------+------------------------------------------
We added a simple string comparison to keep me`^W`users 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.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/3317>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list