[tor-bugs] #10052 [Tor]: Tor Windows service should reload its configuration on SERVICE_CONTROL_PARAMCHANGE control code
Tor Bug Tracker & Wiki
blackhole at torproject.org
Wed Oct 30 12:23:57 UTC 2013
#10052: Tor Windows service should reload its configuration on
SERVICE_CONTROL_PARAMCHANGE control code
-------------------------------------------------+-------------------------
Reporter: GITNE | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Tor:
Component: Tor | 0.2.5.x-final
Keywords: Windows service config | Version: Tor:
configuration paramchange control SIGHUP | unspecified
Parent ID: | Actual Points:
| Points:
-------------------------------------------------+-------------------------
The Tor Windows service does not currently support reloading its
configuration without stopping or restarting. This functionality is
provided on other operating systems by sending the {{{SIGHUP}}} signal to
a Tor process.
Windows services implement this kind of functionality by
[http://msdn.microsoft.com/en-us/library/ms685054%28v=vs.85%29.aspx
registering] to the service manager to [http://msdn.microsoft.com/en-
us/library/ms683240%28v=vs.85%29.aspx listen] for control codes. Therefore
the Tor Windows service should implement reloading its configuration on
{{{SERVICE_CONTROL_PARAMCHANGE}}}.
'''NOTE:''' Because service control codes are only supported since Windows
XP, it does not need to be implemented for Windows 2000.
'''NOTE 2:''' Functionality that is provided by sending other signals to a
Tor process on other operating systems should be implemented as user
defined control codes. Initial documentation on implementing every single
one of those control codes should be recorded as separate trac tickets
while probably being a child of this ticket.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/10052>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list