Re: [tor-relays] Relay Bandwidth Limit

2023-10-17 Thread Eddie
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 

*Envoyé :* 16 octobre 2023 15:19:36 GMT+02:00
*À :*
"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 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=jonat...@jonakeys.nl>

___
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] Relay Bandwidth Limit

2023-10-16 Thread Jonathan van der Steege
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


 Courriel d’origine 
De : Dan 
Envoyé : 16 octobre 2023 15:19:36 GMT+02:00
À : "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 <[d...@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=jonat...@jonakeys.nl>___
tor-relays mailing list
tor-relays@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays


Re: [tor-relays] Relay Bandwidth Limit

2023-10-16 Thread tostigraeda--- via tor-relays
As far as I know tor won’t spread the 5TB across the month. It’ll just run 
until it hits that limit and then hibernate for the rest of the define period. 
So if it hits 5T at 15 days it’ll hibernate for the next 15.

You can try to spread this out yourself by using daily limits and divide your 
allocation that way. It may still hibernate but may be available for more time 
during the month than the monthly max.

Hopefully I’m understanding correctly - your original message was truncated 
across two messages.

Cheers

On Mon, Oct 16, 2023 at 8:40 AM, John Broome <[jbro...@gmail.com](mailto:On 
Mon, Oct 16, 2023 at 8:40 AM, 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.
>
> On Mon, Oct 16, 2023 at 9:34 AM Dan  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 
>> <[d...@salmon.cat](mailto:On+Mon,+Oct+16,+2023+at+8:17+AM,+Dan+%3C%3Ca+href=)>
>>  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___
tor-relays mailing list
tor-relays@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays


Re: [tor-relays] Relay Bandwidth Limit

2023-10-16 Thread Roger Dingledine
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.

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

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


Re: [tor-relays] Relay Bandwidth Limit

2023-10-16 Thread Roger Dingledine
On Mon, Oct 16, 2023 at 01:18:01PM +, 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?

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

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


Re: [tor-relays] Relay Bandwidth Limit

2023-10-16 Thread John Broome
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  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  > 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
>
___
tor-relays mailing list
tor-relays@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays


Re: [tor-relays] Relay Bandwidth Limit

2023-10-16 Thread Dan
“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 <[d...@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___
tor-relays mailing list
tor-relays@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays


[tor-relays] Relay Bandwidth Limit

2023-10-16 Thread Dan
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