[tor-relays] Relay Throttling

trinity pointard trinity.pointard at gmail.com
Fri May 6 12:39:09 UTC 2022


Hi,

There are two main mechanisms to limit relays bandwidth usage.
The first is by setting RelayBandwidthRate and RelayBandwidthBurst to limit
the average and peak bandwidth usage of your bridge.
The second is by setting AccountingMax, AccountingStart and possibly
accounting AccountingRule, to limit the total bandwidth usage over some
periode (day, week or month)

If you want to limit your relay to, say 100mbit, with burst at 120, and set
a hard limit on monthly traffic to 1TB you can set in your relay torrc.

RelayBandwidthRate 100MBits
RelayBandwidthBurst 120MBits
AccountingMax 1 TBytes
AccountingStart month 1 00:00 # this is actually the default value, so you
can omit it

You can read more about these options in tor manpage
<https://man.archlinux.org/man/tor.1>.

You can use either or both kind of settings. As the goal is to limit cost,
you should definitely use the Accounting part. You can set RelayBandwdith
so your relay does not use its quota in just a few days, unless that would
make it too slow.

Le ven. 6 mai 2022 à 14:16, sysmanager7 via tor-relays <
tor-relays at lists.torproject.org> a écrit :

> Hi
>
>   Is there a tutorial on how to limit a relay's throughput?? There has to
> be!
>   I did a search and came up empty. I'm trying to avoid shutting down my
>   relay's due to financial burden  Any help would be appreciated.
>
>      Thank you!
>
>
> Sent with ProtonMail <https://protonmail.com/> secure email.
> _______________________________________________
> tor-relays mailing list
> tor-relays at lists.torproject.org
> https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.torproject.org/pipermail/tor-relays/attachments/20220506/2abf47b5/attachment-0001.htm>


More information about the tor-relays mailing list