aboutsummaryrefslogtreecommitdiff
path: root/networks/bridges
diff options
context:
space:
mode:
authorLinus Nordberg <linus@nordberg.se>2012-07-11 12:42:41 +0200
committerLinus Nordberg <linus@nordberg.se>2012-07-11 12:42:41 +0200
commit3ecad7d8587298c8efd642dd5ec5ba26f7000946 (patch)
treefad6f2e18d4511d19803fdb71de264f05fa95154 /networks/bridges
parent05355f80b8b461e665eb5e38508b247e716b94fc (diff)
downloadchutney-3ecad7d8587298c8efd642dd5ec5ba26f7000946.tar
chutney-3ecad7d8587298c8efd642dd5ec5ba26f7000946.tar.gz
Add support for bridge authorities, bridge relays and clients using bridges.
Diffstat (limited to 'networks/bridges')
-rw-r--r--networks/bridges13
1 files changed, 13 insertions, 0 deletions
diff --git a/networks/bridges b/networks/bridges
new file mode 100644
index 0000000..ce9116b
--- /dev/null
+++ b/networks/bridges
@@ -0,0 +1,13 @@
+Authority = Node(tag="a", authority=1, relay=1, torrc="authority.tmpl")
+Relay = Node(tag="r", relay=1, torrc="relay.tmpl")
+Client = Node(tag="c", torrc="client.tmpl")
+
+BridgeAuthority = Node(tag="ba", authority=1, bridgeauthority=1,
+ relay=1, torrc="bridgeauthority.tmpl")
+Bridge = Node(tag="br", bridge=1, relay=1, torrc="bridge.tmpl")
+BridgeClient = Node(tag="bc", torrc="bridgeclient.tmpl")
+
+NODES = Authority.getN(3) + BridgeAuthority.getN(1) + Relay.getN(5) + \
+ Bridge.getN(2) + Client.getN(2) + BridgeClient.getN(1)
+
+ConfigureNodes(NODES)