commit 95001822b18b11c7deb346679a1b515f38d44a25 Author: teor teor2345@gmail.com Date: Thu Nov 20 20:59:58 2014 +1100
Minimum network with 3 authorities, 1 exit, and 1 client
Useful for reducing test cases to the simplest possible config. Avoids race conditions and dependencies among multiple instances. --- networks/basic-min | 7 +++++++ 1 file changed, 7 insertions(+)
diff --git a/networks/basic-min b/networks/basic-min new file mode 100644 index 0000000..347ba70 --- /dev/null +++ b/networks/basic-min @@ -0,0 +1,7 @@ +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") + +NODES = Authority.getN(3) + Relay.getN(1) + Client.getN(1) + +ConfigureNodes(NODES)
tor-commits@lists.torproject.org