Commit 55867eef authored by juga  's avatar juga
Browse files

Add back bwscanner files

because sbws is now using chutney and it would be better the
files are maintained as part of chutney.
This will also help to reproduce #40013 .
parent d368cb5f
# By default, Authorities are not configured as exits
Authority = Node(tag="a", authority=1, relay=1, torrc="authority.tmpl")
# #40013: All the relays get the EXIT flag
# The relay-non-exit.tmpl includes the relay-non-dir.tmpl, which includdes
# `${include:common.i} ExitRelay=0` and common.i generates a torrc file with
# ExitRelay 0
# ExitRelay 0
# ExitPolicy reject *:*
NonExitRelay = Node(tag="m", relay=1, exit=0, torrc="relay-non-exit.tmpl")
ExitRelay = Node(tag="r", relay=1, exit=1, torrc="relay.tmpl")
Client = Node(tag="c", client=1, torrc="client_bwscanner.tmpl")
RelayMAB = Node(tag="relay1mbyteMAB", relay=1, exit=1, torrc="relay-MAB.tmpl")
RelayMBR = Node(tag="relay1mbyteMBR", relay=1, exit=1, torrc="relay-MBR.tmpl")
NODES = Authority.getN(3) + \
NonExitRelay.getN(7) + \
RelayMBR.getN(1) + RelayMAB.getN(1) + \
ExitRelay.getN(3) + Client.getN(1)
ConfigureNodes(NODES)
${include:common.i}
SocksPort $socksport
UseEntryGuards 0
UseMicroDescriptors 0
FetchDirInfoEarly 1
FetchDirInfoExtraEarly 1
FetchUselessDescriptors 1
LearnCircuitBuildTimeout 0
CircuitBuildTimeout 60
ConnectionPadding 0
__DisablePredictedCircuits 1
__LeaveStreamsUnattached 1
${include:relay-non-exit.tmpl}
Nickname relay1mbyteMAB
MaxAdvertisedBandwidth 1 MBytes
${include:relay-non-exit.tmpl}
Nickname relay1mbyteMBR
RelayBandwidthRate 1 MBytes
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment