middle-025 437 B

1234567891011
  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", client=1, torrc="client.tmpl")
  6. NODES = Authority.getN(4) + \
  7. NonExitRelay.getN(10) + ExitRelay.getN(6) + \
  8. Client.getN(5)
  9. ConfigureNodes(NODES)