Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
Trac
Trac
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 246
    • Issues 246
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Operations
    • Operations
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Create a new issue
  • Issue Boards

GitLab is used only for code review, issue tracking and project management. Canonical locations for source code are still https://gitweb.torproject.org/ https://git.torproject.org/ and git-rw.torproject.org.

  • Legacy
  • TracTrac
  • Issues
  • #29078

Closed
Open
Opened Jan 13, 2019 by toralf@toralf

nyx values do differ from stem native example

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.

To upload designs, you'll need to enable LFS and have admin enable hashed storage. More information
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: legacy/trac#29078