aboutsummaryrefslogtreecommitdiff
path: root/networks/hs-tripple-intro-fail-3
diff options
context:
space:
mode:
Diffstat (limited to 'networks/hs-tripple-intro-fail-3')
-rw-r--r--networks/hs-tripple-intro-fail-336
1 files changed, 36 insertions, 0 deletions
diff --git a/networks/hs-tripple-intro-fail-3 b/networks/hs-tripple-intro-fail-3
new file mode 100644
index 0000000..b301640
--- /dev/null
+++ b/networks/hs-tripple-intro-fail-3
@@ -0,0 +1,36 @@
+from hs_intro_fail import *
+
+network = Network()
+
+hs_nodes, hs_servers = testing.create_hidden_service(3)
+
+network.add(hs_nodes);
+
+network.add(Node.create(3, {
+ "tag": "a",
+ "authority": 1,
+ "relay": 1,
+ "torrc": "authority.tmpl"
+}))
+
+network.add(Node.create(12, {
+ "tag": "c",
+ "torrc": "client.tmpl"
+}))
+
+network.add(Node.create(30, {
+ "tag": "r",
+ "relay": 1,
+ "torrc": "intro.tmpl"
+}))
+
+def start():
+ results = hs_fail_test(network, failures=3)
+
+ for server in hs_servers:
+ server.stopListening()
+
+ network.stop()
+
+ return results
+