hs-min 704 B

1234567891011121314151617
  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="r", relay=1, torrc="relay-non-exit.tmpl")
  4. Client = Node(tag="c", torrc="client.tmpl")
  5. HS = Node(tag="h", hs=1, torrc="hs.tmpl")
  6. # Since only 25% of relays get the guard flag,
  7. # TestingDirAuthVoteGuard * may need to be used in small networks
  8. # A hidden service needs 5 authorities/relays to ensure it can build HS
  9. # connections:
  10. # a minimum path length of 3, plus the client-nominated rendezvous point,
  11. # plus a seperate introduction point
  12. NODES = Authority.getN(2) + NonExitRelay.getN(3) + \
  13. Client.getN(1) + HS.getN(1)
  14. ConfigureNodes(NODES)