[tor-relays] Proper bandwidth units [was: Exit nodes on Gandi]
gordon at morehouse.me
Mon Nov 25 18:29:52 UTC 2013
-----BEGIN PGP SIGNED MESSAGE-----
> On Sat, Nov 23, 2013 at 02:29:04PM -0800, Gordon Morehouse wrote:
>>> Gordon Morehouse:
>>>> Why not just accept KB/sec, KiB/sec, GB/mo, GiB/mo in the
>>>> config file?
>>> That would be #9214 , implemented by CharlieB, shipped
>>> since tor 0.2.5.1-alpha.
>>>  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.
- -Gordon M.
-----BEGIN PGP SIGNATURE-----
-----END PGP SIGNATURE-----
More information about the tor-relays