mixed+hs-v23 1.1 KB

1234567891011121314151617181920212223242526
  1. OLD_TOR="tor-stable"
  2. # By default, Authorities are not configured as exits
  3. Authority = Node(tag="a", authority=1, relay=1, torrc="authority.tmpl")
  4. OldAuthority = Node(tag="aOLD", authority=1, relay=1, torrc="authority.tmpl",
  5. tor=OLD_TOR)
  6. Relay = Node(tag="r", relay=1, exit=1, torrc="relay.tmpl")
  7. OldRelay = Node(tag="rOLD", relay=1, exit=1, torrc="relay.tmpl",
  8. tor=OLD_TOR)
  9. Client = Node(tag="c", client=1, torrc="client.tmpl")
  10. OldClient = Node(tag="cOLD", client=1, torrc="client.tmpl", tor=OLD_TOR)
  11. HSv2 = Node(tag="h", hs=1, torrc="hs.tmpl")
  12. OldHSv2 = Node(tag="hOLD", hs=1, torrc="hs.tmpl", tor=OLD_TOR)
  13. # Old tor versions don't have HSv3 support yet
  14. # And chutney doesn't know how to tell old clients to avoid v3 services
  15. # See 23498
  16. #HSv3 = Node(tag="h", hs=1, torrc="hs-v3.tmpl")
  17. # We need 8 authorities/relays/exits to ensure at least 2 get the guard flag
  18. # in 0.2.6
  19. NODES = Authority.getN(2) + OldAuthority.getN(2) + \
  20. Relay.getN(2) + OldRelay.getN(2) + \
  21. Client.getN(1) + OldClient.getN(1) + \
  22. HSv2.getN(1) + OldHSv2.getN(1)
  23. # HSv3.getN(1)
  24. ConfigureNodes(NODES)