bridges+ipv6-min 1.0 KB

12345678910111213141516171819202122
  1. Require("IPV6")
  2. # By default, Authorities are not configured as exits
  3. Authority = Node(tag="a", authority=1, relay=1, torrc="authority.tmpl")
  4. ExitRelay = Node(tag="r", relay=1, exit=1, torrc="relay.tmpl")
  5. BridgeAuthority = Node(tag="ba", authority=1, bridgeauthority=1,
  6. relay=1, torrc="bridgeauthority.tmpl")
  7. BridgeIPv6 = Node(tag="br", bridge=1, relay=1, ipv6_addr="[::1]",
  8. torrc="bridge-v6.tmpl")
  9. BridgeClient = Node(tag="bc", client=1, bridgeclient=1, torrc="bridgeclient.tmpl")
  10. # Since only 25% of relays get the guard flag,
  11. # TestingDirAuthVoteGuard * may need to be used in small networks
  12. # (However, bridge clients use bridges instead of guards, so this
  13. # is only an issue for the exit bootstrapping)
  14. # The minimum number of authorities/relays/exits is 3, the minimum path length
  15. # But bridge networks with 3 relays don't bootstrap, so we use 4
  16. NODES = Authority.getN(1) + BridgeAuthority.getN(1) + ExitRelay.getN(1) + \
  17. BridgeIPv6.getN(1) + BridgeClient.getN(1)
  18. ConfigureNodes(NODES)