bridges 657 B

1234567891011121314
  1. Authority = Node(tag="a", authority=1, relay=1, torrc="authority.tmpl")
  2. Relay = Node(tag="r", relay=1, torrc="relay.tmpl")
  3. Client = Node(tag="c", torrc="client.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", torrc="bridgeclient.tmpl")
  8. # We need 8 authorities/relays/exits to ensure at least 2 get the guard flag in 0.2.6
  9. NODES = Authority.getN(3) + BridgeAuthority.getN(1) + Relay.getN(4) + \
  10. Bridge.getN(1) + Client.getN(1) + BridgeClient.getN(1)
  11. ConfigureNodes(NODES)