common.i 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  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. Log notice file ${dir}/notice.log
  43. Log info file ${dir}/info.log
  44. # Turn this off to save space
  45. #Log debug file ${dir}/debug.log
  46. ProtocolWarnings 1
  47. SafeLogging 0
  48. ${authorities}