common.i 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. TestingTorNetwork 1
  2. ## Comprehensive Bootstrap Testing Options ##
  3. # These typically launch a working minimal Tor network in 25s-30s,
  4. # and a working HS Tor network in 40-45s.
  5. # See authority.tmpl for a partial explanation
  6. #AssumeReachable 0
  7. #Default PathsNeededToBuildCircuits 0.6
  8. #Disable TestingDirAuthVoteExit
  9. #Disable TestingDirAuthVoteHSDir
  10. #Default V3AuthNIntervalsValid 3
  11. ## Rapid Bootstrap Testing Options ##
  12. # These typically launch a working minimal Tor network in 6s-10s
  13. # These parameters make tor networks bootstrap fast,
  14. # but can cause consensus instability and network unreliability
  15. # (Some are also bad for security.)
  16. AssumeReachable 1
  17. PathsNeededToBuildCircuits 0.25
  18. TestingDirAuthVoteExit *
  19. TestingDirAuthVoteHSDir *
  20. V3AuthNIntervalsValid 2
  21. ## Always On Testing Options ##
  22. # We enable TestingDirAuthVoteGuard to avoid Guard stability requirements
  23. TestingDirAuthVoteGuard *
  24. # We set TestingMinExitFlagThreshold to 0 to avoid Exit bandwidth requirements
  25. TestingMinExitFlagThreshold 0
  26. # VoteOnHidServDirectoriesV2 needs to be set for HSDirs to get the HSDir flag
  27. #Default VoteOnHidServDirectoriesV2 1
  28. ## Options that we always want to test ##
  29. Sandbox 1
  30. DataDirectory $dir
  31. RunAsDaemon 1
  32. ConnLimit $connlimit
  33. Nickname $nick
  34. # Let tor close connections gracefully before exiting
  35. ShutdownWaitLength 2
  36. DisableDebuggerAttachment 0
  37. ControlPort $controlport
  38. # Use ControlSocket rather than ControlPort unix: to support older tors
  39. ControlSocket ${dir}/control
  40. CookieAuthentication 1
  41. PidFile ${dir}/pid
  42. # Ask all child tor processes to exit when chutney's test-network.sh exits
  43. # (if the CHUTNEY_*_TIME options leave the network running, this option is
  44. # disabled)
  45. ${owning_controller_process}
  46. Log notice file ${dir}/notice.log
  47. Log info file ${dir}/info.log
  48. # Turn this off to save space
  49. #Log debug file ${dir}/debug.log
  50. ProtocolWarnings 1
  51. SafeLogging 0
  52. LogTimeGranularity 1
  53. ${authorities}