Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • Trac Trac
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Issues 246
    • Issues 246
    • List
    • Boards
    • Service Desk
    • Milestones
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
  • Wiki
    • Wiki
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • Legacy
  • TracTrac
  • Issues
  • #31792
Closed
Open
Created Sep 18, 2019 by toralf@toralf

nyx "amount outbound connection" calculated wrong for 2 relays runnign at sema ip address

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.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking