nyx icon indicating copy to clipboard operation
nyx copied to clipboard

Show streams on circuits

Open atagar opened this issue 5 years ago • 1 comments

Migrated from ticket 5186.

Nyx should show the targets of individual streams. For example, currently nyx 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 nyx 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.

atagar avatar Dec 21 '19 22:12 atagar

onioncircuits from the Tails project is a GUI applications that displays a list of circuits, their status, and any streams branched from the circuits.

It also is written in Python and uses the same stem library that nyx does to interface with the Tor control port. It would be a good starting point for someone to work on this.

In nyx the existing Connections panel is rather verbose listing attributes about each node in a circuit while the onioncircuits interface only displays some of them in a separate panel when a circuit or any of is streams in the list in selected. Wondering of the best way to express all the information about circuits and streams (i.e if streams should be separate from the existing Connections view) or not.

Thank you.

h3xagonal avatar May 22 '22 04:05 h3xagonal