[Whonix-devel] #21590 [Core Tor/Stem]: tor-prompt / tor-cli SETEVENTS support

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed Mar 1 21:12:04 CET 2017

#21590: tor-prompt / tor-cli SETEVENTS support
 Reporter:  adrelanos      |          Owner:  atagar
     Type:  enhancement    |         Status:  new
 Priority:  Medium         |      Milestone:
Component:  Core Tor/Stem  |        Version:
 Severity:  Normal         |     Resolution:
 Keywords:                 |  Actual Points:
Parent ID:                 |         Points:
 Reviewer:                 |        Sponsor:

Comment (by adrelanos):

 Replying to [comment:1 atagar]:
 > Hi adrelanos, please see the following...
 > https://stem.torproject.org/tutorials/down_the_rabbit_hole.html#event-

 I see.

 However, I would say my feature request is still standing.

 What I am suggesting with {{{tor-cli}}} (#21541) is a replacement for the
 following cumbersome procedure.

 socat - UNIX-CONNECT:/var/run/tor/control

 echo "AUTHENTICATE $(xxd -c 32 -g 0 /var/run/tor/control.authcookie | awk
 '{print $2}')"

 If I did that above, and entered {{{SETEVENTS circ}}}, then I could see
 events as they happen. Easy. No manual reading besides Tor control

 Currently {{{tor-prompt}}} is more like a python interpreter that
 simplifies getting up a Tor control connection. What I am suggesting with
 {{{tor-cli}}} is a simple tool to talk use Tor's control connection
 automating the two above commands.

 Just clarifying my idea. Of course I understand should you not wish to
 implement this.

 > Did you have any other questions?

 Not at the moment. Thank you! :)

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

More information about the Whonix-devel mailing list