hs-single-onion-v23-exit-min 856 B

12345678910111213141516171819
  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. SingleOnionv2 = Node(tag="h", hs=1, torrc="single-onion.tmpl")
  8. SingleOnionv3 = Node(tag="h", hs=1, torrc="single-onion-v3.tmpl")
  9. # A hidden service needs 5 authorities/relays to ensure it can build HS
  10. # connections:
  11. # a minimum path length of 3, plus the client-nominated rendezvous point,
  12. # plus a seperate introduction point
  13. NODES = Authority.getN(2) + ExitRelay.getN(3) + \
  14. Client.getN(1) + \
  15. HSv2.getN(1) + HSv3.getN(1) + \
  16. SingleOnionv2.getN(1) + SingleOnionv3.getN(1)
  17. ConfigureNodes(NODES)