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

Roger Dingledine arma at mit.edu
Mon Nov 25 04:06:35 UTC 2013

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
> > 
> > [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.


More information about the tor-relays mailing list