[tor-bugs] #20956 [Core Tor/Tor]: optionally do not write command line config to torrc
Tor Bug Tracker & Wiki
blackhole at torproject.org
Tue Dec 13 00:22:51 UTC 2016
#20956: optionally do not write command line config to torrc
--------------------------+------------------------------------
Reporter: mcs | Owner:
Type: defect | Status: new
Priority: Medium | Milestone: Tor: 0.3.0.x-final
Component: Core Tor/Tor | Version:
Severity: Normal | Resolution:
Keywords: tbb-wants | Actual Points:
Parent ID: | Points:
Reviewer: | Sponsor:
--------------------------+------------------------------------
Comment (by arma):
See ticket #586 for a similar issue we had with Vidalia long ago: it
wanted to put a HashedControlPassword on the command-line, but writing it
during saveconf made no sense since it was generated fresh each time.
The answer there was to create a separate
{{{__HashedControlSessionPassword}}} config option. The {{{__}}} part
makes it not get saved during saveconf:
{{{
/* Don't save 'hidden' control variables. */
if (!strcmpstart(fmt->vars[i].name, "__"))
continue;
}}}
Maybe some similar solution would be helpful here? "session control port"
and "session socks port"?
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/20956#comment:2>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list