Opened 3 years ago

Closed 3 years ago

#20085 closed defect (fixed)

Tor fails to start if RelayBandwidthRate < 75 KB/s despite torrc stating minimum is 20 KB/s

Reported by: rchaves Owned by:
Priority: Medium Milestone: Tor: 0.2.9.x-final
Component: Core Tor/Tor Version: Tor: 0.2.8.7
Severity: Normal Keywords: docs
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

Tor fails to start if RelayBandwidthRate < 75 KB/s despite stated minimum in just above where this value is set in /etc/tor/torrc:

## Define these to limit how much relayed traffic you will allow. Your
## own traffic is still unthrottled. Note that RelayBandwidthRate must
## be at least 20 kilobytes per second.

and on some web documentation (General Tor FAQ, https://www.torproject.org/docs/faq.html.en#BandwidthShaping):

"The minimum BandwidthRate setting is 20 kilobytes per second."

Excerpt from /var/log/syslog:

[warn] Failed to parse/validate config: RelayBandwidthRate is set to 20480 bytes/second. For servers, it must be at least 76800.
[err] Reading config failed--see warnings above.
systemd[1]: tor@…: control process exited, code=exited status=1
systemd[1]: Failed to start Anonymizing overlay network for TCP.
systemd[1]: Unit tor@… entered failed state.

Tor starts properly when RelayBandwidthRate >= 75 KB/s.

Suggest changing recommendation in default torrc file comments and on web rather than lowering minimum allowed RelayBandwidthRate.

Child Tickets

Change History (2)

comment:1 Changed 3 years ago by nickm

Keywords: docs added
Milestone: Tor: 0.2.9.x-final

The documentation parts of this can get fixed in 029; anything else should get fixed later.

comment:2 Changed 3 years ago by nickm

Resolution: fixed
Status: newclosed

Fixed in e4ef9f7491ed1495869692b57644885f9772bef5 (Tor) and 5300884f74218b51c5a9ac1a7561d642b6d20dc2 (website, faq).

Note: See TracTickets for help on using tickets.