[tor-bugs] #9330 [Pluggable transport]: Pluggable Transports on windows are killed with ProcessTerminate

Tor Bug Tracker & Wiki blackhole at torproject.org
Sun Oct 27 18:08:51 UTC 2013


#9330: Pluggable Transports on windows are killed with ProcessTerminate
------------------------------+--------------------------------------------
     Reporter:  yawning       |      Owner:  asn
         Type:  defect        |     Status:  new
     Priority:  normal        |  Milestone:
    Component:  Pluggable     |    Version:  Tor: unspecified
  transport                   |   Keywords:  pt, win32, pluggable transport
   Resolution:                |  Parent ID:
Actual Points:                |
       Points:                |
------------------------------+--------------------------------------------

Comment (by infinity0):

 Another solution on the internet suggests using CTRL-BREAK to act as
 SIGTERM (clean shutdown):

 http://stackoverflow.com/questions/1453520/run-arbitrary-subprocesses-on-
 windows-and-still-terminate-cleanly

 Its recommendation is:

 - Tor must set CREATE_NEW_PROCESS_GROUP on the PT
 - The PT must set *empty* creation flags for the children.

 I'm not certain about the latter point, but I will try to get a basic test
 case at some point.

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


More information about the tor-bugs mailing list