<div><div dir="auto">So I am trying to limit as google cloud has strict  pricing plans. Perhaps I should go back to just running a bridge for now. What would the traffic limit for a useful relay be? Thanks.</div></div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Jun 3, 2019 at 10:40 AM Matt Traudt <<a href="mailto:pastly@torproject.org">pastly@torproject.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 6/3/19 13:20, Keifer Bly wrote:<br>
> Hi all, so as of Google Clouds pricing plans on outgoing traffic, I am<br>
> attempting to set my relay to hibernate after sending 100 mbits of data<br>
> per month. Does this torrc configuration look like it would do that?<br>
> <br>
> SOCKSPort 0<br>
> <br>
> ORPort 65534<br>
> <br>
> ExitPolicy reject *:*<br>
> <br>
> <br>
> ContactInfo keiferDoTblyAtgmaildOtcom<br>
> <br>
> Nickname torworld<br>
> <br>
> RelayBandwidthRate 100 MBits<br>
> <br>
> RelayBandwidthBurst 100 MBits<br>
> <br>
> AccountingMax 100 MBits<br>
> <br>
> AccountingStart month 1 00:00<br>
> <br>
> AccountingRule out<br>
> <br>
> Thanks all.<br>
> <br>
<br>
100 Megabits is 12.5 Megabytes, and approximately ~10 page loads of the<br>
average web page these days (as unscientifically eye-balled by me).<br>
<br>
Further, setting RBR and RBB to 100 Mbits (per second) means you could<br>
theoretically hit your tiny AccountingMax in the first second of every<br>
month.<br>
<br>
An AccountingMax of 100 Megabits is almost assuredly not what you<br>
actually want.<br>
<br>
I'm wondering if there was some confusion about the difference between<br>
speed and a simple of bytes. Confusingly, Tor uses the same unit strings<br>
(like "MBits") for both, but mentally we should be adding "per second"<br>
for torrc options like RelayBandwidthRate.<br>
<br>
100 Megabits per second is a reasonable RBR setting for a reasonable<br>
relay. 100 Megabits per month is a useless relay.<br>
<br>
Hope that helps.<br>
<br>
Matt<br>
_______________________________________________<br>
tor-relays mailing list<br>
<a href="mailto:tor-relays@lists.torproject.org" target="_blank">tor-relays@lists.torproject.org</a><br>
<a href="https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays" rel="noreferrer" target="_blank">https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays</a><br>
</blockquote></div></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">--Keifer</div></div>