12345678910111213 |
- # By default, Authorities are not configured as exits
- Authority = Node(tag="a", authority=1, relay=1, torrc="authority.tmpl")
- NonExitRelay = Node(tag="m", relay=1, torrc="relay-non-exit.tmpl")
- ExitRelay = Node(tag="r", relay=1, exit=1, torrc="relay.tmpl")
- Client = Node(tag="c", torrc="client.tmpl")
- # We need 8 authorities/relays/exits to ensure at least 2 get the guard flag
- # in 0.2.6
- NODES = Authority.getN(3) + \
- NonExitRelay.getN(2) + ExitRelay.getN(3) + \
- Client.getN(2)
- ConfigureNodes(NODES)
|