[tor-relays] Proper bandwidth units [was: Exit nodes on Gandi]

Gordon Morehouse gordon at morehouse.me
Mon Nov 25 18:29:52 UTC 2013


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Roger Dingledine:
> On Sat, Nov 23, 2013 at 02:29:04PM -0800, Gordon Morehouse wrote:
>> Lunar:
>>> Gordon Morehouse:
>>>> Why not just accept KB/sec, KiB/sec, GB/mo, GiB/mo in the
>>>> config file?
>>> 
>>> That would be #9214 [1], implemented by CharlieB, shipped
>>> since tor 0.2.5.1-alpha.
>>> 
>>> [1] https://bugs.torproject.org/9214
>> 
>> Good, this is the most sensical behavior to the widest array of
>> people who type things into config files
> 
> Actually, this is alas not the case.
> 
> We now support gbits (1<<27) and gbytes (1<<30) in the torrc file,
> but we do not support "gib". Or I think more correctly, we say
> gbytes for what you want us to call gibs, and if you want to say a
> billion bytes, you need to type all the zeros.

I learned about the 'gib, kib' etc in wikipedia a while back - it'd be
best if the config file were extremely liberal in accepting what
people type, IMO.

Best,
- -Gordon M.


-----BEGIN PGP SIGNATURE-----

iQEcBAEBCgAGBQJSk5cgAAoJED/jpRoe7/ujt8IH/2ipNB52tIcxQtF9U7bw+ThN
aYim2upAF4bluDcsgYia29FgtwKW8LkFwlBH06qG0DVcifprlkfzR3iZGIfTOGE2
m1cfLkEqRvF7nF5H9ajfIwBnvgrf3stmIBMsjMhFwo1iaRWoD/qPtd14wKVWk+xH
skK48fNcCI0nCep0rBHKwC593QUVv++soNi+aLhuOOGXR0raA/hVt/nms0D4v/pZ
FEdsJfK8BOxrS43JpuQVR8AbUdbnJGs1HQ35T3HmyRoMdDj2ulQ8G9fYIG0w7u2P
cXM9+5BhfMx5M2y1YI+3t9WFBJhZO3Kwzz2X/OSOwt1vfWHcwQ1KVBrRRgGg79A=
=j66M
-----END PGP SIGNATURE-----


More information about the tor-relays mailing list