[tor-bugs] #22375 [Core Tor/Stem]: Can tor-prompt optionally wait for tor to start on a port, rather than failing straight away?

Tor Bug Tracker & Wiki blackhole at torproject.org
Fri May 26 21:39:03 UTC 2017


#22375: Can tor-prompt optionally wait for tor to start on a port, rather than
failing straight away?
---------------------------+-----------------------------------
 Reporter:  teor           |          Owner:  atagar
     Type:  enhancement    |         Status:  needs_information
 Priority:  Medium         |      Milestone:
Component:  Core Tor/Stem  |        Version:
 Severity:  Normal         |     Resolution:
 Keywords:                 |  Actual Points:
Parent ID:                 |         Points:
 Reviewer:                 |        Sponsor:
---------------------------+-----------------------------------
Changes (by atagar):

 * status:  new => needs_information


Comment:

 Hi teor. Sorry but this one seems a tad specialized to Chutney. Would a
 shell script do the trick?

 {{{
 % cat tor-prompt-await.sh

 while ! nc -z localhost 9051; do
   sleep 0.5
 done

 exec tor-prompt --interface 9051
 }}}

 I'm all ears if you think this would be more generally useful.

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


More information about the tor-bugs mailing list