[tor-relays] Relay Bandwidth Limit

Hi all,

I’ve been running my first relay for a few weeks now. The VPS provider I chose provides 5TB of bandwidth per month so I have set AccountingMax to “5 TB” and AccountingStart to

“day 1 00:00”. It looks as though my relay is going to blow past that limit based on the average data transferred per day and how many days are left in the month. Will it simply stop transferring data when the monthly limit is hit?

Thanks

···

Hi all,

I’ve been running my first relay for a few weeks now. The VPS provider I chose provides 5TB of bandwidth per month so I have set AccountingMax to “5 TB” and AccountingStart to

My experience with the Snowflake container is that it will blow through the bandwidth limit for the month, and your VPS will cut you off until the next billing cycle.

···

On Mon, Oct 16, 2023 at 9:34 AM Dan <dan@salmon.cat> wrote:

“day 1 00:00”. It looks as though my relay is going to blow past that limit based on the average data transferred per day and how many days are left in the month. Will it simply stop transferring data when the monthly limit is hit?

Thanks

On Mon, Oct 16, 2023 at 8:17 AM, Dan <dan@salmon.cat> wrote:

Hi all,

I’ve been running my first relay for a few weeks now. The VPS provider I chose provides 5TB of bandwidth per month so I have set AccountingMax to “5 TB” and AccountingStart to


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

Yes, that's how it works.

The one catch to keep an eye out for is that different ISPs count
bandwidth differently, and by default when you set AccountingMax to 5
TBytes, it means up to 5 TBytes in each direction. If your ISP means
"2.5 TBytes in each direction" when it says 5TB of bandwidth per month
(i.e. it counts each byte twice), then you could be in for a surprise.

See the AccountingMax section in the man page for more details, and
see the AccountingRule option in the man page for how to tell Tor that
your ISP means something different than Tor expected.

--Roger

···

On Mon, Oct 16, 2023 at 01:18:01PM +0000, Dan wrote:

Hi all,

I’ve been running my first relay for a few weeks now. The VPS provider I chose provides 5TB of bandwidth per month so I have set AccountingMax to “5 TB” and AccountingStart to
“day 1 00:00”. It looks as though my relay is going to blow past that limit based on the average data transferred per day and how many days are left in the month. Will it simply stop transferring data when the monthly limit is hit?

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

1 Like

Yes, this is correct, the standalone Snowflake does not have rate
limiting built-in currently.

But, running a Snowflake bridge in a container is a different topic
than running a Tor relay (or a Tor bridge).

--Roger

···

On Mon, Oct 16, 2023 at 09:40:17AM -0400, John Broome wrote:

My experience with the Snowflake container is that it will blow through the
bandwidth limit for the month, and your VPS will cut you off until the next
billing cycle.

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

1 Like

Hi Dan,

Please be aware that the AccountingMax is per direction of traffic (in/out). So 5TB is effectively 2*5=10TB in total.
See also https://support.torproject.org/relay-operators/limit-total-bandwidth/
And maybe you don’t want all your bandwidth used and want some traffic reserved for connecting/operating via ssh for example and installing updates during the month.
And indeed, the traffic will stop when the limit is reached or when all bandwidth the VPS provider gave is used.

Regards,
Jonathan

···

Hi all,

I’ve been running my first relay for a few weeks now. The VPS provider I chose provides 5TB of bandwidth per month so I have set AccountingMax to “5 TB” and AccountingStart to


/ Jonathan van der Steege

My GnuPG key is: c6f32128e7522f4acb878d6a4a9f0b50ace75416
<https://keys.openpgp.org/search?q=jonathan@jonakeys.nl>

I was never able to get the other bandwidth shaping parameters in tor to work how I wanted.

So, for my bandwidth limited server, I ended up loading “wondershaper” so I could provide a limited bandwidth continuously throughout the month instead of an on/off/on/off/… connection.

Cheers.

···

On 10/16/2023 7:15 AM, Jonathan van der Steege wrote:

Hi Dan,

Please be aware that the AccountingMax is per direction of traffic (in/out). So 5TB is effectively 2*5=10TB in total.
See also https://support.torproject.org/relay-operators/limit-total-bandwidth/
And maybe you don’t want all your bandwidth used and want some traffic reserved for connecting/operating via ssh for example and installing updates during the month.
And indeed, the traffic will stop when the limit is reached or when all bandwidth the VPS provider gave is used.

Regards,
Jonathan


De :
Dan dan@salmon.cat

Envoyé : 16 octobre 2023 15:19:36 GMT+02:00
À :
“tor-relays@lists.torproject.org” tor-relays@lists.torproject.org

Objet :
Re: [tor-relays] Relay Bandwidth Limit

“day 1 00:00”. It looks as though my relay is going to blow past that limit based on the average data transferred per day and how many days are left in the month. Will it simply stop transferring data when the monthly limit is hit?

Thanks

On Mon, Oct 16, 2023 at 8:17 AM, Dan <[dan@salmon.cat](mailto:On Mon, Oct 16, 2023 at 8:17 AM, Dan < wrote:

Hi all,

I’ve been running my first relay for a few weeks now. The VPS provider I chose provides 5TB of bandwidth per month so I have set AccountingMax to “5 TB” and AccountingStart to


/ Jonathan van der Steege

My GnuPG key is: c6f32128e7522f4acb878d6a4a9f0b50ace75416
<
https://keys.openpgp.org/search?q=jonathan@jonakeys.nl>

_______________________________________________
tor-relays mailing list
[tor-relays@lists.torproject.org](mailto:tor-relays@lists.torproject.org)
[https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays](https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays)