[tor-commits] [chutney/master] Add network template for OBv3 testing.
teor at torproject.org
teor at torproject.org
Fri May 15 01:35:11 UTC 2020
commit 2a96dfaf33e460cb141091f684f185e5b4cf33c5
Author: George Kadianakis <desnacked at riseup.net>
Date: Wed Apr 8 16:42:49 2020 +0300
Add network template for OBv3 testing.
---
networks/hs-ob-v3 | 15 +++++++++++++++
1 file changed, 15 insertions(+)
diff --git a/networks/hs-ob-v3 b/networks/hs-ob-v3
new file mode 100644
index 0000000..6309762
--- /dev/null
+++ b/networks/hs-ob-v3
@@ -0,0 +1,15 @@
+# A minimal Onionbalance V3 config:
+# - it has two clients (one for OBv3 and another for client)
+# - it has 4 onion services (to serve as OBv3 backends)
+
+# By default, Authorities are not configured as exits
+Authority = Node(tag="a", authority=1, relay=1, torrc="authority.tmpl")
+ExitRelay = Node(tag="r", relay=1, exit=1, torrc="relay.tmpl")
+Client = Node(tag="c", client=1, torrc="client.tmpl")
+HS = Node(tag="h", hs=1, torrc="hs-v3.tmpl")
+
+NODES = Authority.getN(3) + ExitRelay.getN(5) + \
+ Client.getN(2) + HS.getN(4)
+
+ConfigureNodes(NODES)
+
More information about the tor-commits
mailing list