TestingTorNetwork 1 ## Rapid Bootstrap Testing Options ## # These typically launch a working minimal Tor network in ~20s # These parameters make tor networks bootstrap fast, # but can cause consensus instability and network unreliability # (Some are also bad for security.) # # We need at least 3 descriptors to build circuits. # In a 3 relay network, 0.67 > 2/3, so we try hard to get 3 descriptors. # In larger networks, 0.67 > 2/N, so we try hard to get >=3 descriptors. PathsNeededToBuildCircuits 0.67 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 ## DataDirectory /builds/tpo/core/arti/shadow.chutney.data/hosts/host/nodes.946684805/000a ConnLimit 60 Nickname test000a # Let tor close connections gracefully before exiting ShutdownWaitLength 2 DisableDebuggerAttachment 0 AddressDisableIPv6 1 # Use ControlSocket rather than ControlPort unix: to support older tors ControlSocket 0 CookieAuthentication 1 PidFile /builds/tpo/core/arti/shadow.chutney.data/hosts/host/nodes.946684805/000a/pid Log notice file /builds/tpo/core/arti/shadow.chutney.data/hosts/host/nodes.946684805/000a/notice.log Log info file /builds/tpo/core/arti/shadow.chutney.data/hosts/host/nodes.946684805/000a/info.log # Turn this off to save space #Log debug file /builds/tpo/core/arti/shadow.chutney.data/hosts/host/nodes.946684805/000a/debug.log ProtocolWarnings 1 SafeLogging 0 LogTimeGranularity 1 # Options that we can disable at runtime, based on n vars # Use tor's sandbox. Defaults to 1 on Linux, and 0 on other platforms. # Use CHUTNEY_TOR_SANDBOX=0 to disable, if tor's sandbox doesn't work with # your glibc. Sandbox 0 # Ask all child tor processes to exit when chutney's test-network.sh exits # (if the CHUTNEY_*_TIME options leave the network running, this option is # disabled) #__OwningControllerProcess 0 UseMicrodescriptors 1 SocksPort 0 DnsPort 0 ControlPort 127.0.0.1:8000 RunAsDaemon 1 Address 127.0.0.1 OrPort 127.0.0.1:5100 AlternateDirAuthority test000a no-v2 orport=5100 v3ident=D190BF3B00E311A9AEB6D62B51980E9B2109BAD1 127.0.0.1:7100 27B266A22CF681C0BBAB6405EE5D758C55E71A0E AlternateDirAuthority test001a no-v2 orport=5101 v3ident=0B8997614EC647C1C6B6A044E2B5408F0B823FB0 127.0.0.1:7101 E4F20D06750C715AD9F5E2D680A2C184160F9E8A AlternateDirAuthority test002a no-v2 orport=5102 v3ident=5B591AD684C1AB8E0AB76C839E93FD097526A4BC 127.0.0.1:7102 257D06F0360BB2246388724F109EC0895A1D41FB AlternateDirAuthority test003a no-v2 orport=5103 v3ident=8A1777F0BF97344A7ABB97530EEEE38A5BDE8A4D 127.0.0.1:7103 36FAE655AF6AEC5DBF2A4C515E474BF516DACB2F AlternateBridgeAuthority test009ba no-v2 orport=5109 bridge 127.0.0.1:7109 C743616FB4AF4AE4430E4F36AD75E6531F5CAE45 ExitRelay 0 # These options are set here so they apply to IPv4 and IPv6 Exits # # Tell Exits to avoid using DNS: otherwise, chutney will fail if DNS fails # (Chutney only accesses 127.0.0.1 and ::1, so it doesn't need DNS) ServerDNSDetectHijacking 0 ServerDNSTestAddresses # If this option is /dev/null, or any other empty or unreadable file, tor exits # will not use DNS. Otherwise, DNS is enabled with this config. # (If the following line is commented out, tor uses /etc/resolv.conf.) ServerDNSResolvConfFile /etc/resolv.conf DirPort 7100 AuthoritativeDirectory 1 ContactInfo auth0@test.test V3AuthoritativeDirectory 1 # Disable authority to relay/bridge reachability checks # These checks happen every half hour, even in testing networks # As of tor 0.4.3, there is no way to speed up these checks AssumeReachable 1 # Speed up the consensus cycle as fast as it will go. # If clock desynchronisation is an issue, increase these voting times. # V3AuthVotingInterval and TestingV3AuthInitialVotingInterval can be: # 10, 12, 15, 18, 20, ... # TestingV3AuthInitialVotingInterval can also be: # 5, 6, 8, 9 # They both need to evenly divide 24 hours. # Initial Vote + Initial Dist must be less than Initial Interval # # Mixed 0.3.3 and 0.3.4 networks are unstable, due to timing changes. # When all 0.3.3 and earlier versions are obsolete, we may be able to revert to # TestingV3AuthInitialVotingInterval 5 TestingV3AuthInitialVotingInterval 20 TestingV3AuthInitialVoteDelay 4 TestingV3AuthInitialDistDelay 4 # Vote + Dist must be less than Interval/2, because when there's no consensus, # tor uses Interval/2 as the voting interval # V3AuthVotingInterval 20.0 V3AuthVoteDelay 4 V3AuthDistDelay 4 ConsensusParams cc_alg=2