<html>
  <head>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  </head>
  <body>
<div><span class="" lang="en"><span class="" title="">OK thank you.</span> <span title="">I'm going to do some tests and see the results.</span> </span><br></div><div><span class="" lang="en"></span><br></div><div style="16px">Cumprimentos;<br></div><div style="16px">Nuno<br></div><div style="16px"><br></div><div style="16px">-- <br></div><div style="16px">Securely sent with Tutanota. Get your own encrypted, ad-free mailbox: <br></div><div style="16px">https://tutanota.com<br></div><div><br></div><div><br></div><div><br></div><div>Mar 23, 2020, 07:47 by arma@torproject.org:<br></div><blockquote class="tutanota_quote" style="border-left: 1px solid #93A3B8; padding-left: 10px; margin-left: 5px;"><div>On Sun, Mar 22, 2020 at 05:16:27PM +0100, Nuno Rego wrote:<br></div><blockquote>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.<br></blockquote><div><br></div><div>Check your logs. They likely say something like<br></div><div><br></div><div>"Not advertising DirPort (Reason: AccountingMax enabled)"<br></div><div><br></div><div>So your relay is indeed opening the DirPort, but it is opting to leave it<br></div><div>out of the descriptor that it publishes (i.e. not mention it to anybody),<br></div><div>in order to save its limited bandwidth for more important traffic.<br></div><div><br></div><div>You can read more about the design here:<br></div><div>https://gitweb.torproject.org/tor.git/tree/src/feature/relay/router.c?h=tor-0.4.2.7#n1199<br></div><div><br></div><div>Your options include:<br></div><div><br></div><div>(A) Leave your BandwidthRate at 9MBytes, but crank up your BandwidthBurst<br></div><div>super high so the rate limiting rarely actually kicks in. In theory the<br></div><div>bandwidth authority measurers should decide that you're really quite<br></div><div>fast compared to the other relays that claim 9MBytes/s, and assign you<br></div><div>more traffic. (I say 'in theory' because the bwauths are a source of<br></div><div>much randomness and chaos these days, so it is easy to describe what we<br></div><div>hope they will do, but harder to predict what they will actually do. :)<br></div><div><br></div><div>(B) Turn both your BandwidthRate and BandwidthBurst way up, so that you<br></div><div>use a lot of traffic even only in the 'middle hop' spot. It's hard to<br></div><div>say how this one will work out in practice, but in theory (there's that<br></div><div>phrase again) the bwauths should recognize that you can handle a lot of<br></div><div>load as a middle hop, and direct more traffic to you there.<br></div><div><br></div><div>(C) Sit back, relax, and be pleased that you're offering 10TBytes/mo<br></div><div>to the network.<br></div><div><br></div><div>All of these are valid directions to go in, I would say.<br></div><div><br></div><div>Thanks!<br></div><div>--Roger<br></div><div><br></div><div>_______________________________________________<br></div><div>tor-relays mailing list<br></div><div>tor-relays@lists.torproject.org<br></div><div>https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays<br></div></blockquote><div><br></div>  </body>
</html>