mirror of
https://github.com/antitree/private-tor-network
synced 2024-11-16 20:22:41 +00:00
422b496921
updated torrc, docker-compose, and entrypoint scripts to reflect new users added ca-certificates to requirements, removed asciidocs
50 lines
1.5 KiB
Plaintext
50 lines
1.5 KiB
Plaintext
# Run Tor as a regular user (do not change this)
|
|
#User debian-tor
|
|
|
|
TestingTorNetwork 1
|
|
|
|
## Comprehensive Bootstrap Testing Options ##
|
|
# These typically launch a working minimal Tor network in 25s-30s,
|
|
# and a working HS Tor network in 40-45s.
|
|
# See authority.tmpl for a partial explanation
|
|
#AssumeReachable 0
|
|
#Default PathsNeededToBuildCircuits 0.6
|
|
#Disable TestingDirAuthVoteExit
|
|
#Disable TestingDirAuthVoteHSDir
|
|
#Default V3AuthNIntervalsValid 3
|
|
|
|
## Rapid Bootstrap Testing Options ##
|
|
# These typically launch a working minimal Tor network in 6s-10s
|
|
# These parameters make tor networks bootstrap fast,
|
|
# but can cause consensus instability and network unreliability
|
|
# (Some are also bad for security.)
|
|
AssumeReachable 1
|
|
PathsNeededToBuildCircuits 0.25
|
|
TestingDirAuthVoteExit *
|
|
TestingDirAuthVoteHSDir *
|
|
V3AuthNIntervalsValid 2
|
|
|
|
## 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 ##
|
|
Sandbox 1
|
|
|
|
# Private tor network configuration
|
|
RunAsDaemon 0
|
|
ConnLimit 60
|
|
ShutdownWaitLength 0
|
|
#PidFile /var/lib/tor/pid
|
|
Log info stdout
|
|
ProtocolWarnings 1
|
|
SafeLogging 0
|
|
DisableDebuggerAttachment 0
|
|
|
|
DirPortFrontPage /usr/share/doc/tor/tor-exit-notice.html
|
|
|