[tor-bugs] #13913 [Tor]: Undocumented HS behavior with relative paths

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon Dec 8 01:42:21 UTC 2014


#13913: Undocumented HS behavior with relative paths
---------------------+---------------------
 Reporter:  atagar   |          Owner:
     Type:  defect   |         Status:  new
 Priority:  trivial  |      Milestone:
Component:  Tor      |        Version:
 Keywords:           |  Actual Points:
Parent ID:           |         Points:
---------------------+---------------------
 Tor accepts relative paths for HiddenServiceDir...

 {{{
 >>> GETCONF HiddenServiceOptions
 250-HiddenServiceDir=hidden_service_example
 250 HiddenServicePort=80 127.0.0.1:5000
 }}}

 This seems to result in the HiddenServiceDir being relative of the tor
 process' cwd, rather than the DataDir which I kinda expected. This is all
 well and good, but should be [https://www.torproject.org/docs/tor-
 manual.html.en#HiddenServiceDir noted in the manpage].

 It's a tiny bit unfortunate that 'GETCONF HidddenServiceOptions' then
 provides back relative paths, since controllers need to read the
 HiddenServiceDir to determine the hostname (at least until #1949), but not
 a terribly big whoop. :)

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/13913>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list