Skip to content

BandwidthBurst should set BandwidthRate

Summary

tor should set BandwidthRate when BandwidthBurst is set.

torrc:

...
BandwidthBurst 10MBits
...
$ sudo -u debian-tor tor --verify-config
...
[warn] Failed to parse/validate config: BandwidthBurst must be at least equal to BandwidthRate.
[err] Reading config failed--see warnings above.

What is the expected behavior?

Setting only BandwidthBurst 10 MBits and no BandwidthRate means, in this example, 10 MBit/s is the upper bound i can offer to the onionservice and tor should set the appropriate BandwidthRate that works best with it.
The user can't know the appropriate value.

It took me a while to figure out that tor expects BandwidthRate to be set when BandwidthBurst is set because it doesn't write anything to the logfile and sudo systemctl status tor shows active although [err] Reading config failed--see warnings above. (what may be a bug).

Edited by computer_freak
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information