[tor-bugs] #29078 [- Select a component]: nyx values do differ from stem native example

Tor Bug Tracker & Wiki blackhole at torproject.org
Sun Jan 13 19:17:00 UTC 2019


#29078: nyx values do differ from stem native example
--------------------------+--------------------------------------
 Reporter:  toralf        |          Owner:  (none)
     Type:  defect        |         Status:  new
 Priority:  Medium        |      Component:  - Select a component
  Version:  Tor: 0.3.5.7  |       Severity:  Normal
 Keywords:                |  Actual Points:
Parent ID:                |         Points:
 Reviewer:                |        Sponsor:
--------------------------+--------------------------------------
 I do run 2 Tor relaays at the same hardware at 2 different ports. Netstat
 reports about 12,000 connections.
 Stem 1.7.1 gives:
 {{{
 mr-fox ~ # for p in 9051 29051 ; do python
 /usr/share/doc/stem-1.7.1/_static/example/relay_connections.py --ctrlport
 $p; done
  0.3.5.7   uptime: 08:25:03   flags: Fast, Guard, Running, Stable, V2Dir,
 Valid

 +------------------------------+------+------+
 | Type                         | IPv4 | IPv6 |
 +------------------------------+------+------+
 | Inbound to our ORPort        | 2777 |    6 |
 | Inbound to our DirPort       |    3 |    0 |
 | Inbound to our ControlPort   |    1 |    0 |
 | Outbound to a relay          | 3235 |    0 |
 | Outbound uncategorized       |    8 |    0 |
 +------------------------------+------+------+
 | Total                        | 6024 |    6 |
 +------------------------------+------+------+

  0.3.5.7   uptime: 08:25:05   flags: Fast, Guard, Running, Stable, V2Dir,
 Valid

 +------------------------------+------+------+
 | Type                         | IPv4 | IPv6 |
 +------------------------------+------+------+
 | Inbound to our ORPort        | 2866 |    2 |
 | Inbound to our ControlPort   |    2 |    0 |
 | Outbound to a relay          | 3447 |    0 |
 | Outbound uncategorized       |   16 |    0 |
 +------------------------------+------+------+
 | Total                        | 6331 |    2 |
 +------------------------------+------+------+
 }}}
 whilst nyx 2.0.4 gives:
 {{{
 sudo -u tor /bin/bash -c "/usr/bin/nyx -i 29051"
 ...
 Connections (2853 inbound, 6690 outbound, 1 control):
 }}}
 and
 {{{
 sudo -u tor /bin/bash -c "/usr/bin/nyx -i 9051"
 ...
 Connections (2787 inbound, 6694 outbound, 1 control):
 }}}
 respectively.

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


More information about the tor-bugs mailing list