[tor-bugs] #25614 [Core Tor/Tor]: tor sets `TOR_PT_EXIT_ON_STDIN_CLOSE=1` only for server transports, not client transports

Tor Bug Tracker & Wiki blackhole at torproject.org
Sat Mar 24 22:52:28 UTC 2018


#25614: tor sets `TOR_PT_EXIT_ON_STDIN_CLOSE=1` only for server transports, not
client transports
--------------------------+----------------------------------
 Reporter:  dcf           |          Owner:  (none)
     Type:  defect        |         Status:  new
 Priority:  Medium        |      Milestone:  Tor: unspecified
Component:  Core Tor/Tor  |        Version:
 Severity:  Minor         |     Resolution:
 Keywords:                |  Actual Points:
Parent ID:                |         Points:
 Reviewer:                |        Sponsor:
--------------------------+----------------------------------

Comment (by yawning):

 For what it's worth, it's probably fine to just assume that the behavior
 indicated by the env var is present (or gate it behind a command line
 option or something), since the main reason the env var exists is to
 indicate that the tor daemon will maintain stdin (it used to close it
 immediately prior to exec).

 Any semi-modern build of tor will do the right thing there.

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


More information about the tor-bugs mailing list