[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-relays] nyx no connections shown
Just to post an update on the list in case someone else comes across this, what we found is that nyx is using proc by default to display connections, which isn't on FreeBSD by default. The solution is to set DisableDebuggerAttachment 0 (is defaulted to 1 which prevents users other than root from accessing tor's memory) in the torrc or possibly configure FreeBSD to emulate proc. Since this server is only really running tor and the only users with login are root (via console only) and myself, I opted to set the option in my torrc instead of adding complexity to the system. (I also have some sysctl settings that should also prevent users other than root and the _tor user from reading tor's memory.)
After setting DisableDebuggerAttachmnet, I am able to see connections on the connections page. What I had previously seen occasionally was the circuit information, which is retrieved in a different manner from connections. Still not sure why it is only showing the circuits randomly. I am still apparently having issues with the circuit information showing up as I just noticed when I checked the page as I typed this up, the circuits have disappeared from the list again.
--
John McDonnell
-----Original Message-----
From: tor-relays [mailto:tor-relays-bounces@xxxxxxxxxxxxxxxxxxxx] On Behalf Of Damian Johnson
Sent: Wednesday, January 17, 2018 12:24 PM
To: tor-relays@xxxxxxxxxxxxxxxxxxxx
Subject: Re: [tor-relays] nyx no connections shown
Hi John, simply run 'nyx --debug' as discussed with Arisbe on this thread.
[1] https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.torproject.org%2Fpipermail%2Ftor-relays%2F2018-January%2F014173.html&data=02%7C01%7C%7C74d036dc1bd4461d86d808d55dcf36e5%7C4d0a72eeba2646d58bbe6430f01b636a%7C0%7C0%7C636518066926438053&sdata=glP3toTGESKNsRVASE7WPXYIGvKmlSRmQnRTkQ6KjGM%3D&reserved=0
On Wed, Jan 17, 2018 at 9:18 AM, John D. McDonnell <mcdonnjd@xxxxxxxx> wrote:
> What logs do you need? I only logging at notice level in tor, so they're not any help.
>
> --
> John McDonnell
>
> -----Original Message-----
> From: tor-relays [mailto:tor-relays-bounces@xxxxxxxxxxxxxxxxxxxx] On Behalf Of Damian Johnson
> Sent: Wednesday, January 17, 2018 10:58 AM
> To: tor-relays@xxxxxxxxxxxxxxxxxxxx
> Subject: Re: [tor-relays] nyx no connections shown
>
> Hi John, I require the redacted logs to be able to help at all.
>
>
> On Wed, Jan 17, 2018 at 6:32 AM, John D. McDonnell <mcdonnjd@xxxxxxxx> wrote:
>> Logged back in to check on it again this morning, and nyx is back to not displaying any connections on the 2nd page.
>>
>> --
>> John McDonnell
>>
>> -----Original Message-----
>> From: John D. McDonnell
>> Sent: Tuesday, January 16, 2018 9:25 PM
>> To: 'tor-relays@xxxxxxxxxxxxxxxxxxxx' <tor-relays@xxxxxxxxxxxxxxxxxxxx>
>> Subject: RE: [tor-relays] nyx no connections shown
>>
>> Just updated FreeBSD and updated tor to 0.3.2.9 and rebooted the whole server and nyx is working properly again. I'm thinking something was hanging in the background or something that the reboot fixed, though I'm not sure what it could have been. (Python and nyx are still the same versions, so I'm thinking my updates didn't fix it but the reboot fixed whatever was hung in the background. Maybe I'll check on my other relay to see if I can figure out what specifically is causing it to not show connections.)
>>
>> --
>> John McDonnell
>>
>> -----Original Message-----
>> From: John D. McDonnell
>> Sent: Tuesday, January 16, 2018 8:02 PM
>> To: 'tor-relays@xxxxxxxxxxxxxxxxxxxx' <tor-relays@xxxxxxxxxxxxxxxxxxxx>
>> Subject: RE: [tor-relays] nyx no connections shown
>>
>> Nyx was working fine until sometime last week when I had the same issue where the connection page was suddenly blank. It came back a while later but then went blank again. I just checked again and the connections page is still coming up as blank. I'm also on FreeBSD running tor 0.3.1.9.
>>
>> FreeBSD 11.1-RELEASE-p4
>> tor-0.3.1.9_1
>> python27-2.7.14_1
>> py27-nyx-2.0.4
>>
>> I'm not sure when exactly I noticed the connections page started showing up as blank as I usually only spot check the first page and maybe check the notices.log file.
>>
>> I'm going to check for updates and then see what happens after.
>>
>> --
>> John McDonnell
>>
>> -----Original Message-----
>> From: tor-relays [mailto:tor-relays-bounces@xxxxxxxxxxxxxxxxxxxx] On Behalf Of TorGate
>> Sent: Monday, January 15, 2018 7:14 PM
>> To: tor-relays@xxxxxxxxxxxxxxxxxxxx
>> Subject: Re: [tor-relays] nyx no connections shown
>>
>> Thank you, its working :-)
>> But can i also show connections ?
>>
>> Steffen
>>
>>
>>
>>
>>
>> Am 15.01.2018 um 23:49 schrieb Damian Johnson <atagar@xxxxxxxxxxxxxx <mailto:atagar@xxxxxxxxxxxxxx> >:
>>
>> Thanks Arisbe! This is useful.
>>
>>> 1) nyx is way slow to start up. Sometimes taking 20 seconds to come visible. The contacts page (page 2) does come up eventually but sometimes takes 10 minutes;
>>
>>
>> Weird. Nyx should be quicker in that respect than the old arm codebase. Please run 'nyx --debug' and send me the debug log, minus anything you think is sensitive.
>>
>>> 2) the inbound and outbound connections on page two are listed by IP only and not sorted by inbound/outbound;
>>
>>
>> Not sure I follow. Is this purely a sorting issue or are inbound/outbound not properly labeled? This is something a screenshot might help with.
>>
>>> 3) IP addresses do not have country identification but rather all just have (??);
>>
>>
>> Hopefully the debug log will help with this too. This should be coming from tor.
>>
>>> 4) nyx rejects some of the options in nyxrc
>>
>>
>> Yup, the nyxrc options are different from the old armrc. They're listed on...
>>
>> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fnyx.torproject.org%2F%23configuration&data=02%7C01%7C%7Ca256bea416dd493a69d108d55dc441dd%7C4d0a72eeba2646d58bbe6430f01b636a%7C0%7C0%7C636518019875476846&sdata=g%2B38U4%2BpgV21I9V4ENHnlv1qKqjfhDGhRci8Xeq55vI%3D&reserved=0 <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fnyx.torproject.org%2F%23configuration&data=02%7C01%7C%7Caa6bedc69ca04acb280908d55c76131d%7C4d0a72eeba2646d58bbe6430f01b636a%7C0%7C0%7C636516584561576746&sdata=63h7wDPnpf1ATZWjivaoHM%2Bx0gqx%2F7eQcw3E0GxP7nc%3D&reserved=0>
>>
>>> 5) There is no man page for nyx.
>>
>>
>> Actually, there is.
>>
>> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgitweb.torproject.org%2Fnyx.git%2Ftree%2Fnyx.1&data=02%7C01%7C%7Ca256bea416dd493a69d108d55dc441dd%7C4d0a72eeba2646d58bbe6430f01b636a%7C0%7C0%7C636518019875476846&sdata=jKPwn%2FDB9UawDaczLJyPsdlLkS5OZS1CqvO1WmKDiOc%3D&reserved=0 <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgitweb.torproject.org%2Fnyx.git%2Ftree%2Fnyx.1&data=02%7C01%7C%7Caa6bedc69ca04acb280908d55c76131d%7C4d0a72eeba2646d58bbe6430f01b636a%7C0%7C0%7C636516584561576746&sdata=Zn4uJiRKtphBf96feG9jRK4UAadqMvEzGZx8bDLYv6I%3D&reserved=0>
>>
>>
>> Arm attempted to guess where to install it when you ran 'python setup.py install' but doing so caused problems. Unfortunately the path man pages are located at varies by the platform so I now leave it up to package managers (yum, emerge, etc). Are you on Debian or Ubuntu? That's the most common pain point right now - a package will hopefully be available for those soonish.
>>
>>
>> Cheers! -Damian
>>
>> _______________________________________________
>> tor-relays mailing list
>> tor-relays@xxxxxxxxxxxxxxxxxxxx <mailto:tor-relays@xxxxxxxxxxxxxxxxxxxx>
>> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.torproject.org%2Fcgi-bin%2Fmailman%2Flistinfo%2Ftor-relays&data=02%7C01%7C%7Ca256bea416dd493a69d108d55dc441dd%7C4d0a72eeba2646d58bbe6430f01b636a%7C0%7C0%7C636518019875476846&sdata=N1DWUkwqDhEGM0UCIzOSnNev7IpyDlE6xOgTqslqHWQ%3D&reserved=0
>>
>>
>>
>>
>> Penn Cambria School District
>>
>> This e-mail and any files transmitted with it are confidential and intended only for the person or entity to which it is addressed. If you have received this email in error, please notify the sender immediately via email and delete this email along with any attachments from your system. Any unauthorized or improper disclosure, copying, distribution, or use of the contents of this e-mail and attached documents is strictly prohibited. The views and opinions of this email or attachments are reflections of the author and are not necessarily the views and opinions of Penn Cambria School District. We do not accept responsibility or liability for any loss or damage from the receipt of this email, its use, or for any errors or omissions.
>>
>> https://na01.safelinks.protection.outlook.com/?url=www.pcam.org&data=02%7C01%7C%7Ca256bea416dd493a69d108d55dc441dd%7C4d0a72eeba2646d58bbe6430f01b636a%7C0%7C0%7C636518019875476846&sdata=Hae0mN%2Fz%2Fgw4RHjLtVZvJoS7TvNO7I7CdUEvj05bwx0%3D&reserved=0<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.pcam.org&data=02%7C01%7C%7Ca256bea416dd493a69d108d55dc441dd%7C4d0a72eeba2646d58bbe6430f01b636a%7C0%7C0%7C636518019875476846&sdata=ogQhkzpfc5V0L2a%2Fp1%2BAgSYC0M3STx%2FPb%2FREJV%2FknrQ%3D&reserved=0>
>>
>> _______________________________________________
>> tor-relays mailing list
>> tor-relays@xxxxxxxxxxxxxxxxxxxx
>> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.torproject.org%2Fcgi-bin%2Fmailman%2Flistinfo%2Ftor-relays&data=02%7C01%7C%7Ca256bea416dd493a69d108d55dc441dd%7C4d0a72eeba2646d58bbe6430f01b636a%7C0%7C0%7C636518019875476846&sdata=N1DWUkwqDhEGM0UCIzOSnNev7IpyDlE6xOgTqslqHWQ%3D&reserved=0
> _______________________________________________
> tor-relays mailing list
> tor-relays@xxxxxxxxxxxxxxxxxxxx
> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.torproject.org%2Fcgi-bin%2Fmailman%2Flistinfo%2Ftor-relays&data=02%7C01%7C%7Ca256bea416dd493a69d108d55dc441dd%7C4d0a72eeba2646d58bbe6430f01b636a%7C0%7C0%7C636518019875476846&sdata=N1DWUkwqDhEGM0UCIzOSnNev7IpyDlE6xOgTqslqHWQ%3D&reserved=0
>
> Penn Cambria School District
>
> This e-mail and any files transmitted with it are confidential and intended only for the person or entity to which it is addressed. If you have received this email in error, please notify the sender immediately via email and delete this email along with any attachments from your system. Any unauthorized or improper disclosure, copying, distribution, or use of the contents of this e-mail and attached documents is strictly prohibited. The views and opinions of this email or attachments are reflections of the author and are not necessarily the views and opinions of Penn Cambria School District. We do not accept responsibility or liability for any loss or damage from the receipt of this email, its use, or for any errors or omissions.
>
> https://na01.safelinks.protection.outlook.com/?url=www.pcam.org&data=02%7C01%7C%7C74d036dc1bd4461d86d808d55dcf36e5%7C4d0a72eeba2646d58bbe6430f01b636a%7C0%7C0%7C636518066926438053&sdata=sz5i6NpGcJqrKW%2BV5blmHrb8gueZxD1htUVd3KpSpEs%3D&reserved=0<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.pcam.org&data=02%7C01%7C%7C74d036dc1bd4461d86d808d55dcf36e5%7C4d0a72eeba2646d58bbe6430f01b636a%7C0%7C0%7C636518066926438053&sdata=x7iZt0oxgX0zDFsligV%2BxrdK0EalOhgbn5ZFOhtpU1k%3D&reserved=0>
>
> _______________________________________________
> tor-relays mailing list
> tor-relays@xxxxxxxxxxxxxxxxxxxx
> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.torproject.org%2Fcgi-bin%2Fmailman%2Flistinfo%2Ftor-relays&data=02%7C01%7C%7C74d036dc1bd4461d86d808d55dcf36e5%7C4d0a72eeba2646d58bbe6430f01b636a%7C0%7C0%7C636518066926438053&sdata=OAeEy9Py6zaswGtlx%2B8ihTw4p4RckanfAFZMaSdXNIk%3D&reserved=0
_______________________________________________
tor-relays mailing list
tor-relays@xxxxxxxxxxxxxxxxxxxx
https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.torproject.org%2Fcgi-bin%2Fmailman%2Flistinfo%2Ftor-relays&data=02%7C01%7C%7C74d036dc1bd4461d86d808d55dcf36e5%7C4d0a72eeba2646d58bbe6430f01b636a%7C0%7C0%7C636518066926438053&sdata=OAeEy9Py6zaswGtlx%2B8ihTw4p4RckanfAFZMaSdXNIk%3D&reserved=0
Penn Cambria School District
This e-mail and any files transmitted with it are confidential and intended only for the person or entity to which it is addressed. If you have received this email in error, please notify the sender immediately via email and delete this email along with any attachments from your system. Any unauthorized or improper disclosure, copying, distribution, or use of the contents of this e-mail and attached documents is strictly prohibited. The views and opinions of this email or attachments are reflections of the author and are not necessarily the views and opinions of Penn Cambria School District. We do not accept responsibility or liability for any loss or damage from the receipt of this email, its use, or for any errors or omissions.
www.pcam.org<http://www.pcam.org>
_______________________________________________
tor-relays mailing list
tor-relays@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays