-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 .
- Loading branch information
Showing
4 changed files
with
40 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# 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) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
${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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
${include:relay-non-exit.tmpl} | ||
|
||
Nickname relay1mbyteMAB | ||
MaxAdvertisedBandwidth 1 MBytes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
${include:relay-non-exit.tmpl} | ||
|
||
Nickname relay1mbyteMBR | ||
RelayBandwidthRate 1 MBytes |