Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#5452 closed enhancement (fixed)

Tor should complain if the user has configured a too-short CBT

Reported by: rransom Owned by:
Priority: Medium Milestone: Tor: 0.2.3.x-final
Component: Core Tor/Tor Version:
Severity: Keywords: easy tor-client
Cc: torbug Actual Points:
Parent ID: Points:
Reviewer: Sponsor:


The reporter of #5363 set the following torrc lines, and Tor got flaky:

LearnCircuitBuildTimeout 0
CircuitBuildTimeout 5

Perhaps Tor should warn the user if he/she/it has specified a non-adaptive circuit-build timeout and Tor is failing to build too many circuits.

Child Tickets

Change History (7)

comment:1 Changed 8 years ago by nickm

Keywords: easy added

For 0.2.3.x, it's probably easier to just add a "Hey, if Tor breaks, here is why!" warning in options_validate() if you have turned off LearnCircuitBuildTimeout and set a low CircuitBuildTimeout value.

comment:3 Changed 8 years ago by nickm

Status: needs_reviewneeds_revision

Needs a changes file (see doc/HACKING ""), and probably needs an additional sentence to say "If Tor isn't working, raise this value or turn LearnCircuitBuildTimeout back on"

comment:4 Changed 8 years ago by andrea

Status: needs_revisionneeds_review

Requested changes made.

comment:5 Changed 8 years ago by nickm

Resolution: fixed
Status: needs_reviewclosed

Thank you! Merging now.

comment:6 Changed 8 years ago by nickm

Keywords: tor-client added

comment:7 Changed 8 years ago by nickm

Component: Tor ClientTor
Note: See TracTickets for help on using tickets.