Opened 7 years ago

Last modified 3 years ago

#10052 new enhancement

Tor Windows service should reload its configuration on SERVICE_CONTROL_PARAMCHANGE control code

Reported by: GITNE Owned by:
Priority: Medium Milestone: Tor: unspecified
Component: Core Tor/Tor Version: Tor: unspecified
Severity: Normal Keywords: Windows, service, nt-service win32 config, configuration, paramchange, SIGHUP, tor-control
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:


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 registering to the service manager to 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.

Child Tickets

Change History (6)

comment:1 Changed 7 years ago by nickm

Milestone: Tor: 0.2.5.x-finalTor: 0.2.???

comment:2 Changed 4 years ago by teor

Milestone: Tor: 0.2.???Tor: 0.3.???

Milestone renamed

comment:3 Changed 4 years ago by nickm

Keywords: tor-03-unspecified-201612 added
Milestone: Tor: 0.3.???Tor: unspecified

Finally admitting that 0.3.??? was a euphemism for Tor: unspecified all along.

comment:4 Changed 3 years ago by nickm

Keywords: tor-03-unspecified-201612 removed

Remove an old triaging keyword.

comment:5 Changed 3 years ago by dgoulet

Keywords: tor-control added; control removed

Unify "control" keyword to "tor-control".

comment:6 Changed 3 years ago by nickm

Keywords: nt-service win32 added
Severity: Normal
Note: See TracTickets for help on using tickets.