[tor-bugs] #6504 [Tor Hidden Services]: Support Windows environment variables in HiddenServiceDir

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Wed Aug 1 04:08:49 UTC 2012


#6504: Support Windows environment variables in HiddenServiceDir
-----------------------------------------------------+----------------------
 Reporter:  criticoder                               |          Owner:               
     Type:  enhancement                              |         Status:  new          
 Priority:  normal                                   |      Milestone:               
Component:  Tor Hidden Services                      |        Version:  Tor: 0.2.2.36
 Keywords:  environment variables, HiddenServiceDir  |         Parent:               
   Points:                                           |   Actualpoints:               
-----------------------------------------------------+----------------------
 Expansion should be done each time the hidden service dir is opened, and
 stored unexpanded. Actually, my impression is that if you use the right
 Win32 API calls to open the location, tor itself doesn't need to worry
 about expansion. Win32 will take care of any necessary.

 One direct benefit to you devs is that you could then use '%!UserProfile%'
 in the !HiddenServiceDir examples for Windows in your documentation, such
 as the one discussed in !#4798, yielding the appropriate location in every
 version that Tor supports.

 This behavior could/should eventually broadened to all options for which a
 path can be specified (e.g. !DataDirectory, GeoIPFile, !PidFile), so if
 the fix would affect the opening of other paths (I haven't looked through
 the source code), all the better. If the fix isn't in a core function, I'd
 be happy to add a new, broader, ticket.

 P.S. The version I'm using is actually 0.2.2.37, but I don't see it in the
 list.

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


More information about the tor-bugs mailing list