bridges-min 981 B

1234567891011121314151617181920
  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. BridgeAuthority = Node(tag="ba", authority=1, bridgeauthority=1,
  5. relay=1, torrc="bridgeauthority.tmpl")
  6. Bridge = Node(tag="br", bridge=1, relay=1, torrc="bridge.tmpl")
  7. BridgeClient = Node(tag="bc", client=1, bridgeclient=1, torrc="bridgeclient.tmpl")
  8. # Since only 25% of relays get the guard flag,
  9. # TestingDirAuthVoteGuard * may need to be used in small networks
  10. # (However, bridge clients use bridges instead of guards, so this
  11. # is only an issue for the exit bootstrapping)
  12. # The minimum number of authorities/relays/exits is 3, the minimum path length
  13. # But bridge networks with 3 relays don't bootstrap, so we use 4
  14. NODES = Authority.getN(1) + BridgeAuthority.getN(1) + ExitRelay.getN(1) + \
  15. Bridge.getN(1) + BridgeClient.getN(1)
  16. ConfigureNodes(NODES)