Ticket #13839: torrc

File torrc, 3.5 KB (added by teor, 5 years ago)

chutney-generated torrc for an authority which doesn't label itself Exit even though it has accept *:*

Line 
1TestingTorNetwork 1
2DataDirectory /Users/twilsonb/Documents/Tor/chutney/net/nodes/000a
3RunAsDaemon 1
4ConnLimit 60
5Nickname test000a
6ShutdownWaitLength 0
7PidFile /Users/twilsonb/Documents/Tor/chutney/net/nodes/000a/pid
8Log notice file /Users/twilsonb/Documents/Tor/chutney/net/nodes/000a/notice.log
9Log info file /Users/twilsonb/Documents/Tor/chutney/net/nodes/000a/info.log
10# Turn this off to save space
11# Log debug file /Users/twilsonb/Documents/Tor/chutney/net/nodes/000a/debug.log
12ProtocolWarnings 1
13SafeLogging 0
14DisableDebuggerAttachment 0
15DirAuthority test000a orport=5000 no-v2 hs v3ident=A149559B490F6CFECA67C78502E1D04715EDBE3A 127.0.0.1:7000 B8B022F51FB13CF9EF1AAC3DD4FEE40BE16819C9
16DirAuthority test001a orport=5001 no-v2 hs v3ident=B014064B881FE75ABB0776CD56F99734E3FA5B96 127.0.0.1:7001 B38BB55326B7F09FA4FC4E18590057F2DE2B488A
17DirAuthority test002a orport=5002 no-v2 hs v3ident=903F48500E9F182E44745AC8188C19D95632687C 127.0.0.1:7002 31B5EBB637B759493DD1BFF2CEE0ADA275E8183F
18
19
20SocksPort 0
21OrPort 5000
22Address 127.0.0.1
23DirPort 7000
24#NOTE: Setting TestingServerConsensusDownloadSchedule doesn't
25#      help -- dl_stats.schedule is not DL_SCHED_CONSENSUS
26#      at boostrap time.
27TestingServerDownloadSchedule 10, 2, 2, 4, 4, 8, 13, 18, 25, 40, 60
28
29
30# This file is named "relay.tmpl" for compatibility with previous
31# chutney versions
32
33# An exit relay that can exit to IPv4 & IPv6 localhost
34# (newer versions of tor need this to be explicitly configured)
35
36
37# An exit policy that allows exiting to IPv4 localhost
38#ExitPolicy accept 127.0.0.0/8:*
39
40# An exit policy that allows exiting to the entire internet on HTTP(S)
41# This is required to work around #11264 with microdescriptors enabled
42# "The core of this issue appears to be that the Exit flag code is
43#  optimistic (just needs a /8 and 2 ports), but the microdescriptor
44#  exit policy summary code is pessimistic (needs the entire internet)."
45# An alternative is to disable microdescriptors and use regular
46# descriptors, as they do not suffer from this issue.
47#ExitPolicy accept *:80
48#ExitPolicy accept *:443
49#ExitPolicy reject *:*
50ExitPolicy accept *:*
51
52
53# An exit policy that allows exiting to IPv6 localhost
54#ExitPolicy accept6 [::1]:*
55IPv6Exit 1
56
57# An exit policy that allows exiting to the entire internet on HTTP(S)
58# This is required to work around #11264 with microdescriptors enabled
59# "The core of this issue appears to be that the Exit flag code is
60#  optimistic (just needs a /8 [IP6?]  and 2 ports), but the microdescriptor
61#  exit policy summary code is pessimistic (needs the entire internet)."
62# An alternative is to disable microdescriptors and use regular
63# descriptors, as they do not suffer from this issue.
64#ExitPolicy accept6 *:80
65#ExitPolicy accept6 *:443
66#ExitPolicy reject6 *:*
67
68ExitPolicy accept6 *:*
69
70
71AuthoritativeDirectory 1
72V3AuthoritativeDirectory 1
73ContactInfo auth0@test.test
74ExitPolicy reject *:*
75TestingV3AuthInitialVotingInterval 300
76TestingV3AuthInitialVoteDelay 2
77TestingV3AuthInitialDistDelay 2
78TestingV3AuthVotingStartOffset 292
79
80# Work around situations where the Exit and Guard flags aren't being set
81# These flags are set eventually, but it takes ~30 minutes
82# We could be more precise here, but it's easiest just to vote everything
83# Clients are sensible enough to filter out Exits without any exit ports,
84# and Guards without ORPorts
85# If your tor doesn't recognise TestingDirAuthVoteExit, update your chutney
86# to a version that includes the issue-13161-check-torrc-options features
87#TestingDirAuthVoteExit * # temporary change for testing #13718
88TestingDirAuthVoteGuard *