TestingTorNetwork 1 ## Rapid Bootstrap Testing Options ## # These typically launch a working minimal Tor network in ~20s # These parameters make tor networks bootstrap fast, # but can cause consensus instability and network unreliability # (Some are also bad for security.) AssumeReachable 1 # We need at least 3 descriptors to build circuits. # In a 3 relay network, 0.67 > 2/3, so we try hard to get 3 descriptors. # In larger networks, 0.67 > 2/N, so we try hard to get >=3 descriptors. PathsNeededToBuildCircuits 0.67 TestingDirAuthVoteExit * TestingDirAuthVoteHSDir * V3AuthNIntervalsValid 2 # This line will be commented out if 'num_cpus' is None ${num_cpus_line} # This line will be commented out if 'num_additional_eventloops_line' is None ${num_additional_eventloops_line} # measureme MeasuremeLogFile ${measureme_log_dir}/measureme-${nick} ## Always On Testing Options ## # We enable TestingDirAuthVoteGuard to avoid Guard stability requirements TestingDirAuthVoteGuard * # We set TestingMinExitFlagThreshold to 0 to avoid Exit bandwidth requirements TestingMinExitFlagThreshold 0 # VoteOnHidServDirectoriesV2 needs to be set for HSDirs to get the HSDir flag #Default VoteOnHidServDirectoriesV2 1 ## Options that we always want to test ## DataDirectory $dir RunAsDaemon $daemon_int ConnLimit $connlimit Nickname $nick # Let tor close connections gracefully before exiting ShutdownWaitLength 2 DisableDebuggerAttachment 0 ControlPort $controlport # Use ControlSocket rather than ControlPort unix: to support older tors ControlSocket ${dir}/control CookieAuthentication 1 PidFile ${dir}/pid ${log_file_lines} ${throughput_log_file_line} ProtocolWarnings 1 SafeLogging 0 LogTimeGranularity 1 # Options that we can disable at runtime, based on env vars # Use tor's sandbox. Defaults to 1 on Linux, and 0 on other platforms. # Use CHUTNEY_TOR_SANDBOX=0 to disable, if tor's sandbox doesn't work with # your glibc. Sandbox ${sandbox} # Ask all child tor processes to exit when chutney's test-network.sh exits # (if the CHUTNEY_*_TIME options leave the network running, this option is # disabled) ${owning_controller_process} ${authorities}