middle 514 B

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