bridges+ipv6 688 B

123456789101112131415
  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. BridgeIPv6 = Node(tag="br", bridge=1, relay=1, ipv6_addr="[::1]", torrc="bridge-v6.tmpl")
  8. BridgeClient = Node(tag="bc", torrc="bridgeclient.tmpl")
  9. NODES = Authority.getN(3) + BridgeAuthority.getN(1) + Relay.getN(5) + \
  10. Bridge.getN(1) + BridgeIPv6.getN(1) + \
  11. Client.getN(2) + BridgeClient.getN(1)
  12. ConfigureNodes(NODES)