Re: [tor-relays] Dirport9030

2020-03-24 Thread Volker Mink
You can consider accounting.

It limits the monthly traffic to the value you set in the torrc fille.

 

I use this for one Exit i run on a VPS in malaysia.

 
 

Gesendet: Montag, 23. März 2020 um 19:23 Uhr
Von: "Nuno Rego" 
An: tor-relays@lists.torproject.org
Betreff: Re: [tor-relays] Dirport9030


OK thank you. I'm going to do some tests and see the results. 

 

Cumprimentos;

Nuno

 

--

Securely sent with Tutanota. Get your own encrypted, ad-free mailbox:

https://tutanota.com

 

 

 

Mar 23, 2020, 07:47 by a...@torproject.org:


On Sun, Mar 22, 2020 at 05:16:27PM +0100, Nuno Rego wrote:

As I said, I'm still learning. I have a server at Hetzner with a monthly limit of 20TB, and I am trying to adjust the speed so that it does not exceed 20TB at the end of the month. The problem is that whenever I place the BandwidthRate and BandwidthBurst above 10MB I lose the Guard, HSdir and V2Dir flags. On the page https://metrics.torproject.org/rs.html#search/TugaOnion I see that DirPort is 0 instead of 9030. I have the BandwidthRate and BandwidthBurst at 9MB and everything is fine, but I will reach the end of the month and I only spent about 10TB.

 

Check your logs. They likely say something like

 

"Not advertising DirPort (Reason: AccountingMax enabled)"

 

So your relay is indeed opening the DirPort, but it is opting to leave it

out of the descriptor that it publishes (i.e. not mention it to anybody),

in order to save its limited bandwidth for more important traffic.

 

You can read more about the design here:

https://gitweb.torproject.org/tor.git/tree/src/feature/relay/router.c?h=tor-0.4.2.7#n1199

 

Your options include:

 

(A) Leave your BandwidthRate at 9MBytes, but crank up your BandwidthBurst

super high so the rate limiting rarely actually kicks in. In theory the

bandwidth authority measurers should decide that you're really quite

fast compared to the other relays that claim 9MBytes/s, and assign you

more traffic. (I say 'in theory' because the bwauths are a source of

much randomness and chaos these days, so it is easy to describe what we

hope they will do, but harder to predict what they will actually do. :)

 

(B) Turn both your BandwidthRate and BandwidthBurst way up, so that you

use a lot of traffic even only in the 'middle hop' spot. It's hard to

say how this one will work out in practice, but in theory (there's that

phrase again) the bwauths should recognize that you can handle a lot of

load as a middle hop, and direct more traffic to you there.

 

(C) Sit back, relax, and be pleased that you're offering 10TBytes/mo

to the network.

 

All of these are valid directions to go in, I would say.

 

Thanks!

--Roger

 

___

tor-relays mailing list

tor-relays@lists.torproject.org

https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays


 
___ tor-relays mailing list tor-relays@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays



___
tor-relays mailing list
tor-relays@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays


Re: [tor-relays] Dirport9030

2020-03-23 Thread Nuno Rego
OK thank you. I'm going to do some tests and see the results. 

Cumprimentos;
Nuno

-- 
Securely sent with Tutanota. Get your own encrypted, ad-free mailbox: 
https://tutanota.com



Mar 23, 2020, 07:47 by a...@torproject.org:

> On Sun, Mar 22, 2020 at 05:16:27PM +0100, Nuno Rego wrote:
>
>> As I said, I'm still learning. I have a server at Hetzner with a monthly 
>> limit of 20TB, and I am trying to adjust the speed so that it does not 
>> exceed 20TB at the end of the month. The problem is that whenever I place 
>> the BandwidthRate and BandwidthBurst above 10MB I lose the Guard, HSdir and 
>> V2Dir flags. On the page 
>> https://metrics.torproject.org/rs.html#search/TugaOnion I see that DirPort 
>> is 0 instead of 9030. I have the BandwidthRate and BandwidthBurst at 9MB and 
>> everything is fine, but I will reach the end of the month and I only spent 
>> about 10TB.
>>
>
> Check your logs. They likely say something like
>
> "Not advertising DirPort (Reason: AccountingMax enabled)"
>
> So your relay is indeed opening the DirPort, but it is opting to leave it
> out of the descriptor that it publishes (i.e. not mention it to anybody),
> in order to save its limited bandwidth for more important traffic.
>
> You can read more about the design here:
> https://gitweb.torproject.org/tor.git/tree/src/feature/relay/router.c?h=tor-0.4.2.7#n1199
>
> Your options include:
>
> (A) Leave your BandwidthRate at 9MBytes, but crank up your BandwidthBurst
> super high so the rate limiting rarely actually kicks in. In theory the
> bandwidth authority measurers should decide that you're really quite
> fast compared to the other relays that claim 9MBytes/s, and assign you
> more traffic. (I say 'in theory' because the bwauths are a source of
> much randomness and chaos these days, so it is easy to describe what we
> hope they will do, but harder to predict what they will actually do. :)
>
> (B) Turn both your BandwidthRate and BandwidthBurst way up, so that you
> use a lot of traffic even only in the 'middle hop' spot. It's hard to
> say how this one will work out in practice, but in theory (there's that
> phrase again) the bwauths should recognize that you can handle a lot of
> load as a middle hop, and direct more traffic to you there.
>
> (C) Sit back, relax, and be pleased that you're offering 10TBytes/mo
> to the network.
>
> All of these are valid directions to go in, I would say.
>
> Thanks!
> --Roger
>
> ___
> tor-relays mailing list
> tor-relays@lists.torproject.org
> https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays
>

___
tor-relays mailing list
tor-relays@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays


Re: [tor-relays] Dirport9030

2020-03-23 Thread Roger Dingledine
On Sun, Mar 22, 2020 at 05:16:27PM +0100, Nuno Rego wrote:
> As I said, I'm still learning. I have a server at Hetzner with a monthly 
> limit of 20TB, and I am trying to adjust the speed so that it does not exceed 
> 20TB at the end of the month. The problem is that whenever I place the 
> BandwidthRate and BandwidthBurst above 10MB I lose the Guard, HSdir and V2Dir 
> flags. On the page https://metrics.torproject.org/rs.html#search/TugaOnion I 
> see that DirPort is 0 instead of 9030. I have the BandwidthRate and 
> BandwidthBurst at 9MB and everything is fine, but I will reach the end of the 
> month and I only spent about 10TB.

Check your logs. They likely say something like

"Not advertising DirPort (Reason: AccountingMax enabled)"

So your relay is indeed opening the DirPort, but it is opting to leave it
out of the descriptor that it publishes (i.e. not mention it to anybody),
in order to save its limited bandwidth for more important traffic.

You can read more about the design here:
https://gitweb.torproject.org/tor.git/tree/src/feature/relay/router.c?h=tor-0.4.2.7#n1199

Your options include:

(A) Leave your BandwidthRate at 9MBytes, but crank up your BandwidthBurst
super high so the rate limiting rarely actually kicks in. In theory the
bandwidth authority measurers should decide that you're really quite
fast compared to the other relays that claim 9MBytes/s, and assign you
more traffic. (I say 'in theory' because the bwauths are a source of
much randomness and chaos these days, so it is easy to describe what we
hope they will do, but harder to predict what they will actually do. :)

(B) Turn both your BandwidthRate and BandwidthBurst way up, so that you
use a lot of traffic even only in the 'middle hop' spot. It's hard to
say how this one will work out in practice, but in theory (there's that
phrase again) the bwauths should recognize that you can handle a lot of
load as a middle hop, and direct more traffic to you there.

(C) Sit back, relax, and be pleased that you're offering 10TBytes/mo
to the network.

All of these are valid directions to go in, I would say.

Thanks!
--Roger

___
tor-relays mailing list
tor-relays@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays


Re: [tor-relays] Dirport9030

2020-03-23 Thread Nuno Rego
As I said, I'm still learning. I have a server at Hetzner with a monthly limit 
of 20TB, and I am trying to adjust the speed so that it does not exceed 20TB at 
the end of the month. The problem is that whenever I place the BandwidthRate 
and BandwidthBurst above 10MB I lose the Guard, HSdir and V2Dir flags. On the 
page https://metrics.torproject.org/rs.html#search/TugaOnion I see that DirPort 
is 0 instead of 9030. I have the BandwidthRate and BandwidthBurst at 9MB and 
everything is fine, but I will reach the end of the month and I only spent 
about 10TB.

Cumprimentos;
TugaOnion
-- 
Securely sent with Tutanota. Get your own encrypted, ad-free mailbox: 
https://tutanota.com



Mar 4, 2020, 21:37 by :

> I have a problem.>  > I am learning, and I have 4 active relays.>  > I used 
> the same configuration on the 4. Recently 2 of them lost the Guard, HSdir and 
> V2Dir flags.>  > On the page > 
> https://metrics.torproject.org/rs.html#search/TugaOnion>  I see that DirPort 
> is 0 instead of 9030. I haven't changed anything, and in the relay 
> configuration there is 9030. Any suggestions on how to solve the problem>  > ?
>
> Cumprimentos;
>
> -- 
> Securely sent with Tutanota. Get your own encrypted, ad-free mailbox: 
> https://tutanota.com
>

___
tor-relays mailing list
tor-relays@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays


Re: [tor-relays] Dirport9030

2020-03-10 Thread Toralf Förster
On 3/10/20 2:46 PM, Nuno Rego wrote:
> I edited the Tor Configuration File (/ etc / tor / torrc) and rebooted
> the server.
Restarting the Tor service itself is fully sufficient.
Usually you need just to reboot a Linux server after a kernel upgrade.


-- 
Toralf



signature.asc
Description: OpenPGP digital signature
___
tor-relays mailing list
tor-relays@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays


Re: [tor-relays] Dirport9030

2020-03-10 Thread Nuno Rego
No problem;
I edited the Tor Configuration File (/ etc / tor / torrc) and rebooted the 
server. On one of the servers I left "auto" and Tor pick a port, on the other I 
chose the 9030, and after the reboot everything was ok.
Cumprimentos;

-- 
Securely sent with Tutanota. Get your own encrypted, ad-free mailbox: 
https://tutanota.com



Mar 5, 2020, 18:49 by i...@imrejonk.nl:

> Hi Nuno,
>
> On Thu, 2020-03-05 at 15:38 +0100, Nuno Rego wrote:
>
>> Problem solved.
>>
>
> Mind sharing the specifics? Other relay operators might encounter the
> same problem, it would be helpful if your solution is available in the
> list archive.
>
> Imre
>

___
tor-relays mailing list
tor-relays@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays


Re: [tor-relays] Dirport9030

2020-03-05 Thread Imre Jonk
Hi Nuno,

On Thu, 2020-03-05 at 15:38 +0100, Nuno Rego wrote:
> Problem solved.

Mind sharing the specifics? Other relay operators might encounter the
same problem, it would be helpful if your solution is available in the
list archive.

Imre


signature.asc
Description: This is a digitally signed message part
___
tor-relays mailing list
tor-relays@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays


Re: [tor-relays] Dirport9030

2020-03-05 Thread Nuno Rego
Problem solved.

Cumprimentos;

-- 
Securely sent with Tutanota. Get your own encrypted, ad-free mailbox: 
https://tutanota.com



Mar 4, 2020, 21:37 by :

> I have a problem.>  > I am learning, and I have 4 active relays.>  > I used 
> the same configuration on the 4. Recently 2 of them lost the Guard, HSdir and 
> V2Dir flags.>  > On the page > 
> https://metrics.torproject.org/rs.html#search/TugaOnion>  I see that DirPort 
> is 0 instead of 9030. I haven't changed anything, and in the relay 
> configuration there is 9030. Any suggestions on how to solve the problem>  > ?
>
> Cumprimentos;
>
> -- 
> Securely sent with Tutanota. Get your own encrypted, ad-free mailbox: 
> https://tutanota.com
>

___
tor-relays mailing list
tor-relays@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays


[tor-relays] Dirport9030

2020-03-04 Thread Nuno Rego
I have a problem. I am learning, and I have 4 active relays. I used the same 
configuration on the 4. Recently 2 of them lost the Guard, HSdir and V2Dir 
flags. On the page https://metrics.torproject.org/rs.html#search/TugaOnion I 
see that DirPort is 0 instead of 9030. I haven't changed anything, and in the 
relay configuration there is 9030. Any suggestions on how to solve the problem ?

Cumprimentos;

-- 
Securely sent with Tutanota. Get your own encrypted, ad-free mailbox: 
https://tutanota.com
___
tor-relays mailing list
tor-relays@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays