hs-v23-exit-min 659 B

123456789101112131415
  1. # By default, Authorities are not configured as exits
  2. Authority = Node(tag="a", authority=1, relay=1, torrc="authority.tmpl")
  3. ExitRelay = Node(tag="r", relay=1, exit=1, torrc="relay.tmpl")
  4. Client = Node(tag="c", client=1, torrc="client.tmpl")
  5. HSv2 = Node(tag="h", hs=1, torrc="hs.tmpl")
  6. HSv3 = Node(tag="h", hs=1, torrc="hs-v3.tmpl")
  7. # A hidden service needs 5 authorities/relays to ensure it can build HS
  8. # connections:
  9. # a minimum path length of 3, plus the client-nominated rendezvous point,
  10. # plus a seperate introduction point
  11. NODES = Authority.getN(2) + ExitRelay.getN(3) + \
  12. Client.getN(1) + HSv2.getN(1) + HSv3.getN(1)
  13. ConfigureNodes(NODES)