
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 /tmp/TailsToaster/chutney-data/nodes.1780479859/024defbr
ConnLimit 60
Nickname test024defbr
# Let tor close connections gracefully before exiting
ShutdownWaitLength 2
DisableDebuggerAttachment 0

AddressDisableIPv6 0
# Use ControlSocket rather than ControlPort unix: to support older tors
ControlSocket /tmp/TailsToaster/chutney-data/nodes.1780479859/024defbr/control
CookieAuthentication 1
PidFile /tmp/TailsToaster/chutney-data/nodes.1780479859/024defbr/pid

Log notice file /tmp/TailsToaster/chutney-data/nodes.1780479859/024defbr/notice.log

# Turn this off to save space
#Log debug file /tmp/TailsToaster/chutney-data/nodes.1780479859/024defbr/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:8024
ControlPort [::1]:8024
RunAsDaemon 1
Address 10.2.1.1
OrPort 10.2.1.1:5124
AlternateDirAuthority test000auth no-v2 orport=5100 v3ident=7F949B0869700B919D3956322787F59450B4E3DC 10.2.1.1:7100 920E91B3E3EEDB07A696F6DBD9EEE446A132F5D0
AlternateDirAuthority test001auth no-v2 orport=5101 v3ident=54C655D1DA5A6EEC83C26EC43E84F89B06E1B2BA 10.2.1.1:7101 4E2BA1AF18E0359E4EE376B97B1E14ECEAC79602
AlternateDirAuthority test002auth no-v2 orport=5102 v3ident=79299BC66882042B8161F09C084D97C06B5629E9 10.2.1.1:7102 FA190B4CEE48144B7FF84D9DB981EC4B68A5C09B
AlternateDirAuthority test003auth no-v2 orport=5103 v3ident=A1ED7692D6EA567528C956F52D8E227B0E6FFE28 10.2.1.1:7103 F2EACE925B023310EA0A7EA5D32D3FE6680DD933
AlternateBridgeAuthority test004ba no-v2 orport=5104 bridge 10.2.1.1:7104 8F4BCCAEE73DACF5191E74AC7AD48D0CD3FA2BEC

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 0

BridgeRelay 1
# Nor do we have GEOIP files in any reliable location
BridgeRecordUsageByCountry 0

ServerTransportPlugin obfs4 exec /usr/bin/obfs4proxy
ExtOrPort 9524
ServerTransportListenAddr obfs4 10.2.1.1:9924

