[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: tor traffic ratelimiting



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

You followed in my mis-steps upon setting up my first node.

kB (kilo-byte - the big 'B') does not equal kb (kilo-bit - the little  
'b').  Tor bandwidth limiting is measured in Kilobytes, bandwidth is  
measured in Kilobits.

If you are trying to keep bandwidth burst to 128kb, then you will  
need to set your BandwidthBurst to 16KB.  (16 KB x 8 bits/byte = 128kb)

Along the same line, your BandwithRate should be 8KB if you wish to  
rate limit to 64kb.

Hope this helps!

Robert


On Sep 30, 2005, at 11:15 AM, Matt Ghali wrote:

>
> I was on the phone with my ISP today, and as an aside, the engineer  
> mentioned that my 768k upstream was pegged at 105% capacity. I was  
> surprised, and a little freaked out, since nothing should be  
> generating that much traffic.
>
> I killed tor while we were on the phone, and he confirmed that  
> almost all traffic on the link dissapeared. I am quite concerned,  
> because I have the following statements in my torrc:
>
> BandwidthRate 64 KB
> BandwidthBurst 128 KB
>
> from these settings I expect that tor should never be using the  
> majority of my available bandwidth- but it seems it is.
>
> Am I missing something here, or has the ratelimiting code been  
> quietly broken?
>
> thanks,
> matto
>
> --matt@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx<darwin><
>               The only thing necessary for the triumph
>               of evil is for good men to do nothing. - Edmund Burke
>


-----BEGIN PGP SIGNATURE-----
Version: PGP Desktop 9.0.2 (Build 2425)

iQA/AwUBQz2DMwexQFXcI4PUEQIFtACeJOgDus2tn6Rcw9Z5CtjxmFvTWIoAn0BI
bCTZU/2/q15R9SklN5BCpjaH
=o5A1
-----END PGP SIGNATURE-----