common.i 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  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. PidFile ${dir}/pid
  36. Log notice file ${dir}/notice.log
  37. Log info file ${dir}/info.log
  38. # Turn this off to save space
  39. #Log debug file ${dir}/debug.log
  40. ProtocolWarnings 1
  41. SafeLogging 0
  42. DisableDebuggerAttachment 0
  43. ${authorities}