Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • Trac Trac
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Issues 246
    • Issues 246
    • List
    • Boards
    • Service Desk
    • Milestones
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
  • Wiki
    • Wiki
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • Legacy
  • TracTrac
  • Issues
  • #9670
Closed (moved) (moved)
Open
Issue created Sep 04, 2013 by Roger Dingledine@arma

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 (#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