[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-bugs] #31792 [Core Tor/Nyx]: nyx "amount outbound connection" calculated wrong for 2 relays runnign at sema ip address



#31792: nyx "amount outbound connection" calculated wrong for 2 relays runnign at
sema ip address
--------------------------+------------------------------
 Reporter:  toralf        |          Owner:  atagar
     Type:  defect        |         Status:  new
 Priority:  Medium        |      Component:  Core Tor/Nyx
  Version:  Tor: 0.4.1.5  |       Severity:  Minor
 Keywords:                |  Actual Points:
Parent ID:                |         Points:
 Reviewer:                |        Sponsor:
--------------------------+------------------------------
 I do run 2 relays at the same ip address at different ports
 The stem example shows (corrrect):
 {{{
 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.4.1.6   uptime: 02:15:02   flags: Fast, Running, Stable, V2Dir, Valid

 +------------------------------+------+------+
 | Type                         | IPv4 | IPv6 |
 +------------------------------+------+------+
 | Inbound to our ORPort        | 3119 |    3 |
 | Inbound to our ControlPort   |    1 |    0 |
 | Outbound to a relay          | 3758 |    0 |
 | Outbound uncategorized       |   16 |    0 |
 +------------------------------+------+------+
 | Total                        | 6894 |    3 |
 +------------------------------+------+------+

  0.4.1.6   uptime: 02:02:58   flags: Fast, Running, Stable, V2Dir, Valid

 +------------------------------+------+------+
 | Type                         | IPv4 | IPv6 |
 +------------------------------+------+------+
 | Inbound to our ORPort        | 2117 |    3 |
 | Inbound to our ControlPort   |    1 |    0 |
 | Outbound to a relay          | 3702 |    0 |
 | Outbound uncategorized       |   16 |    0 |
 +------------------------------+------+------+
 | Total                        | 5836 |    3 |
 +------------------------------+------+------+

 }}}
 A call of nyx, eg.:
 {{{
 sudo -u tor /bin/bash -c "/usr/bin/nyx -i 9051"
 }}}
 however shows about 7500 connections (Alt+S -> Connections) which seems to
 be the sum of boths.
 Netstat etc how that the command line values are right, Nyx is wrong.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/31792>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs