common.i 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  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. ShutdownWaitLength 0
  35. DisableDebuggerAttachment 0
  36. ControlPort $controlport
  37. # Use ControlSocket rather than ControlPort unix: to support older tors
  38. ControlSocket ${dir}/control
  39. CookieAuthentication 1
  40. PidFile ${dir}/pid
  41. Log notice file ${dir}/notice.log
  42. Log info file ${dir}/info.log
  43. # Turn this off to save space
  44. #Log debug file ${dir}/debug.log
  45. ProtocolWarnings 1
  46. SafeLogging 0
  47. ${authorities}