Re: [tor-relays] Questions regarding arm on Debian

2016-11-14 Thread theonionbox
Von: "Kurt Besig" An: tor-relays@lists.torproject.org Betreff: Re: [tor-relays] Questions regarding arm on Debian On 11/12/2016 8:34 AM, r1610091651 wrote: > On Sat, 12 Nov 2016 at 12:41 Dennis Christ > > wrote: > > Yes that is what i tried to do. But it does not work in my

Re: [tor-relays] Questions regarding arm on Debian

2016-11-14 Thread Kurt Besig
On 11/12/2016 8:34 AM, r1610091651 wrote: > On Sat, 12 Nov 2016 at 12:41 Dennis Christ > wrote: > > Yes that is what i tried to do. But it does not work in my case. > > $ arm > [Errno 13] Permission denied: '/var/lib/tor/control_auth_cookie' > > Even if my

Re: [tor-relays] Questions regarding arm on Debian

2016-11-14 Thread Volker Mink
tor-relays] Questions regarding arm on Debian > This sounds bad too. In fact, it sounds like one of those "you broke > the package, and now you get to keep both pieces" situations. :) > > I believe that the Tor deb, including the one intended for jessie, > sho

Re: [tor-relays] Questions regarding arm on Debian

2016-11-14 Thread Dennis Christ
This sounds bad too. In fact, it sounds like one of those "you broke the package, and now you get to keep both pieces" situations. :) I believe that the Tor deb, including the one intended for jessie, should work with systemd well: https://gitweb.torproject.org/debian/tor.git/tree/debian/changelo

Re: [tor-relays] Questions regarding arm on Debian

2016-11-14 Thread diffusae
Hi! On 13.11.2016 03:00, Roger Dingledine wrote: > So you shouldn't be needing to add any lines to your /etc/tor/torrc > file. Right, that what I've meant before. > I believe that the Tor deb, including the one intended for jessie, > should work with systemd well: > https://gitweb.torproject.or

Re: [tor-relays] Questions regarding arm on Debian

2016-11-12 Thread Roger Dingledine
On Fri, Nov 11, 2016 at 02:14:01PM +0100, Dennis Christ wrote: > I think the problem with CookieAuthentication was that the cookie > file control_auth_cookie gets written > to /var/lib/tor. This directory is only readable by user debian-tor > and not even group readable. I have > put CookieAuthFile

Re: [tor-relays] Questions regarding arm on Debian

2016-11-12 Thread Dennis Christ
That is a bit odd. I don't have '/var/lib/tor/control_auth_cookie' It resides in /var/run/tor/control.authcookie -rw-r- 1 debian-tor debian-tor 32 /var/run/tor/control.authcookie So read access should be possible. If I remove this file, I also get [Errno 2] No such file or directory: '/var/

Re: [tor-relays] Questions regarding arm on Debian

2016-11-12 Thread diffusae
Hi! On 12.11.2016 12:40, Dennis Christ wrote: > Yes that is what i tried to do. But it does not work in my case. > > $ arm > [Errno 13] Permission denied: '/var/lib/tor/control_auth_cookie' That is a bit odd. I don't have '/var/lib/tor/control_auth_cookie' It resides in /var/run/tor/control.auth

Re: [tor-relays] Questions regarding arm on Debian

2016-11-12 Thread r1610091651
On Sat, 12 Nov 2016 at 12:41 Dennis Christ wrote: > Yes that is what i tried to do. But it does not work in my case. > > $ arm > [Errno 13] Permission denied: '/var/lib/tor/control_auth_cookie' > > Even if my user is in the group debian-tor the user has no right to > access /var/lib/tor. > > $ ls

Re: [tor-relays] Questions regarding arm on Debian

2016-11-12 Thread Dennis Christ
Yes that is what i tried to do. But it does not work in my case. $ arm [Errno 13] Permission denied: '/var/lib/tor/control_auth_cookie' Even if my user is in the group debian-tor the user has no right to access /var/lib/tor. $ ls -l /var/lib | grep tor drwx--S--- 4 debian-tordebian-tor

Re: [tor-relays] Questions regarding arm on Debian

2016-11-12 Thread Dennis Christ
Tried it out and that solved the message about reloading the config file. What still remains is this message: 12:30:13 [ARM_NOTICE] Unneeded torrc entries found. They've been highlighted in blue on the torrc page. - entry matches its default value: Nickname (line 117) Line 117 is now this:

Re: [tor-relays] Questions regarding arm on Debian

2016-11-12 Thread Louie Cardone-Noott
On Fri, 11 Nov 2016, at 07:16 PM, diffusae wrote: > Yes, you are right. But CookieAuthentication should work. You cannot > query all of the connections without access to /var/lib/tor. You only > will see circuits. I suggest to use "sudo -u debian-tor arm", if you > like to use all of the arm pages.

Re: [tor-relays] Questions regarding arm on Debian

2016-11-11 Thread diffusae
Hi! On 11.11.2016 14:14, Dennis Christ wrote: > I think the problem with CookieAuthentication was that the cookie file > control_auth_cookie gets written > to /var/lib/tor. This directory is only readable by user debian-tor and > not even group readable. I have > put CookieAuthFileGroupReadable 1

Re: [tor-relays] Questions regarding arm on Debian

2016-11-11 Thread diffusae
Hi! On 11.11.2016 14:10, Michael Armbruster wrote: > Try using your nickname without quotes, like so: > > Nickname Iridium Yes, I can confirm, that Nickname should be set without quotes. > You could try to use kilobytes/s instead of a decimal number in MB > > RelayBandwidthBurst 1536 KB The

Re: [tor-relays] Questions regarding arm on Debian

2016-11-11 Thread Dennis Christ
You don't need a shell for the debian-tor user. CookieAuthentication should work, if you set CookieAuthentication 1 in /etc/tor/torrc and are using an armrc file. I think the problem with CookieAuthentication was that the cookie file control_auth_cookie gets written to /var/lib/tor. This direc

Re: [tor-relays] Questions regarding arm on Debian

2016-11-11 Thread Michael Armbruster
Am 11.11.2016 um 13:51 schrieb Dennis Christ: > Line 118 is actually an empty line, but on 117 is this: > > Nickname "Iridium" Try using your nickname without quotes, like so: Nickname Iridium > > Line 127 is also empty, but on 126 is this: > > RelayBandwidthBurst 1.5 MB You could try to use

Re: [tor-relays] Questions regarding arm on Debian

2016-11-11 Thread Dennis Christ
Line 118 is actually an empty line, but on 117 is this: Nickname "Iridium" Line 127 is also empty, but on 126 is this: RelayBandwidthBurst 1.5 MB I did not set up tor to write out the torrc file. But if have noticed on the Tor Configuration File page in arm these two config values are in red

Re: [tor-relays] Questions regarding arm on Debian

2016-11-10 Thread teor
> On 11 Nov. 2016, at 05:27, Dennis Christ wrote: > > Hi, > > i have installed a new relay on Debian 8 and playing around with the arm tool. > > ... > > > 2. Issue: It always says this message in the arm logs even if the service is > just started a moment ago. If i reload the config it says

Re: [tor-relays] Questions regarding arm on Debian

2016-11-10 Thread diffusae
Hi! On 10.11.2016 19:27, Dennis Christ wrote: > 1. Issue: Seeing Connections Im not sure, but I've only copied the default armrc to /var/lib/tor/.arm/ and set the proper permissions. As I see, there is no /usr/share/doc/arm/armrc.sample. I've fetched it from here: https://www.atagar.com/arm/. I

[tor-relays] Questions regarding arm on Debian

2016-11-10 Thread Dennis Christ
Hi, i have installed a new relay on Debian 8 and playing around with the arm tool. 1. Issue: Seeing Connections I have added 'DisableDebuggerAttachment 0' to the config file as suggested and now i get this: 17:20:09 [ARM_NOTICE] We were unable to use any of your system's resolvers to get