Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nyx is not showing any inbound connections #34

Closed
Quakerelay opened this issue Nov 18, 2020 · 2 comments
Closed

Nyx is not showing any inbound connections #34

Quakerelay opened this issue Nov 18, 2020 · 2 comments

Comments

@Quakerelay
Copy link

Hi,

Running Tor 0.4.5.1-alpha here. I've installed Nyx with Python's pip3 installer.

Tor currently has around 2300 inbound and 2300 outbound connections (checked with netstat -p).

When I run nyx I don't see any inbound connections at all:
Connections (2412 outbound, 1 control)

When I switch the resolver to netstat I get this:
Connections (5130 outbound, 1 control)

I also tried shutting down the relay and restarting it but that didn't fix the issue.

Tor is build with:
./configure --disable-module-dirauth --prefix=/usr --sysconfdir=/etc --localstatedir=/var --mandir=/usr/man --libdir=/usr/lib64 --docdir=/usr/doc/tor-0.4.5.1-alpha --with-tor-user=tor --with-tor-group=tor --build=x86_64-slackware-linux

@Quakerelay
Copy link
Author

New info:

I wasn't aware of that 0.4.5.1-alpha now binds to ipv6 automatically so I had these lines on torrc:
ORPort myipv4address:53
ORPort [myipv6address]:53

... so obviously Tor binds to myip:port

I switched it to just "ORPort 53" and Tor now binds to 0.0.0.0:53 and [::]:53 and Nyx is showing inbound connections normally:
Connections (1413 inbound, 1123 outbound, 11 circuit, 1 control)

So, it was kind of my mistake. However, could this be still considered a bug?

@atagar
Copy link
Collaborator

atagar commented Nov 18, 2020

Hi Quakerelay, thanks for running a relay!

By configuring an ORPort address nyx could no longer determine if it was for localhost or not...

https://gitweb.torproject.org/stem.git/tree/stem/control.py#n1392

Patches welcome if know of a better method of determining if an address is local or not.

@atagar atagar closed this as completed Nov 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants