Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • Tor Tor
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 325
    • Issues 325
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 30
    • Merge requests 30
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • The Tor Project
  • Core
  • TorTor
  • Issues
  • #9670
Closed
Open
Issue created Sep 04, 2013 by Roger Dingledine@armaReporter

Disable exploratory client circuit builds during botnet

When clients find that they're failing a lot of circuits, they back off from their computed cbt value, which puts them in the "launch a bunch of test circuits so we can get a better estimate of our cbt" phase. By default they launch 100 circuits, one per circuit_build_times_test_frequency(), from circuit_build_needed_circs() which calls circuit_predict_and_launch_new() which does

  if (num < MAX_UNUSED_OPEN_CIRCUITS-2 &&
      get_options()->LearnCircuitBuildTimeout &&
      circuit_build_times_needs_circuits_now(&circ_times)) {
    flags = CIRCLAUNCH_NEED_CAPACITY;
    log_info(LD_CIRC,
             "Have %d clean circs need another buildtime test circ.", num);
    circuit_launch(CIRCUIT_PURPOSE_C_GENERAL, flags);

I think while our network is overloaded (legacy/trac#9657 (moved)), we should turn this behavior off.

To do it, we need to set

  cbtdisabled=1
  cbtmincircs=1

in our consensus params.

(We need to set both because there's a bug where it doesn't look at cbtdisabled when making the decision. But I'll open that as a separate ticket.)

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking