Opened 6 years ago

Last modified 21 months ago

#5186 new enhancement

Show streams on circuits

Reported by: cypherpunks Owned by: atagar
Priority: High Milestone:
Component: Core Tor/Nyx Version:
Severity: Normal Keywords: connections
Cc: tor@…, intrigeri@… Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

Arm should show the targets of individual streams. For example, currently arm might show a new stream like this (spaces removed):

127.0.0.1:42051 --> 127.0.0.1:9050 UNKNOWN 0.0s (SOCKS)    

Of course the destination is 127.0.0.1:9050. That's just our socksport, and it provides no new information to the arm user. The destination should be shown as the target of the stream.

Once the stream is attached to a circuit, this binding should be shown explicitly. Note that this is not entirely trivial to do: for example, sometimes streams are reattached to different circuits (e.g. if a particular circuit does not work).

It might also be useful to indicate the status of a particular stream, e.g. "SENTRESOLVE", "SUCCEEDED", etc.

Child Tickets

Change History (4)

comment:1 Changed 6 years ago by cypherpunks

You may want to check this quick little controller for some ideas for what sorts of data structures and event catching might be needed to map streams to circuits in the display. In particular, see the core() function (line 396) and specifically the handling of STREAM messages (line 480).

comment:2 Changed 4 years ago by intrigeri

Cc: intrigeri@… added

I see this feature is listed in the "Next release" section of the dev wiki. Is there any ETA for this release?

FYI the lack of this feature is one of the (various) blockers for Tails to drop Vidalia and use Tor Launcher + arm instead.

comment:3 Changed 3 years ago by atagar

Hi intrigeri. Thanks for the ping and sorry for leaving you a full year without a reply. A year back I was focused on Stem, but now I'm back on arm.

Arm is undergoing a rewrite (take a peek at my development log for what's going on there). I expect this to last the better part of a year, after which we'll have a far more sleek and better written codebase to work with. After that I plan to loop back over the ticket queue and add features like this. This is actually probably at the top of my list. :)

If that doesn't work for you then my suggestion would be to fork the 1.4.5 release and implement this feature there. The present git repository is far from stable, but after I'm done expanding arm with something like this should be considerably easier.

Cheers! -Damian

comment:4 Changed 21 months ago by atagar

Keywords: connections added
Priority: MediumHigh
Severity: Normal
Summary: show stream targets & match streams to circuitsShow streams on circuits
Type: defectenhancement
Note: See TracTickets for help on using tickets.