[tor-bugs] #15435 [Tor]: Tor should not close stdin on child processes.

Tor Bug Tracker & Wiki blackhole at torproject.org
Thu Mar 26 13:03:48 UTC 2015


#15435: Tor should not close stdin on child processes.
---------------------------+-----------------------------------------------
     Reporter:  yawning    |      Owner:
         Type:             |     Status:  needs_review
  enhancement              |  Milestone:  Tor: 0.2.7.x-final
     Priority:  normal     |    Version:  Tor: unspecified
    Component:  Tor        |   Keywords:  tor-pt, needs-spec-patch pt-wants
   Resolution:             |  Parent ID:
Actual Points:             |
       Points:             |
---------------------------+-----------------------------------------------
Changes (by yawning):

 * status:  new => needs_review


Comment:

 Ok, I'll write up the pt-spec.txt changes momentarily, but since the code
 is done, `needs_review`ing.

 The TLDR for the pt-spec.txt changes is "If the env. var
 'TOR_PT_EXIT_ON_STDIN_CLOSE' is set to '1', implementations MAY terminate
 immediately if stdin is closed.".

 tor: https://github.com/Yawning/tor/compare/feature15435
 obfs4proxy (Example usage):
 https://github.com/Yawning/obfs4/compare/feature15435

 NB: While I think the Windows version of the code is correct, it is
 entirely untested.

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


More information about the tor-bugs mailing list