middle 436 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(3) + \
  7. NonExitRelay.getN(2) + ExitRelay.getN(3) + \
  8. Client.getN(2)
  9. ConfigureNodes(NODES)