[tor-commits] [chutney/master] Add a hidden service to the IPv6 client network

teor at torproject.org teor at torproject.org
Tue Sep 6 22:15:29 UTC 2016


commit 90a008d8d69593a655b959f693d7dbe7f04cf0f3
Author: teor <teor2345 at gmail.com>
Date:   Wed Sep 7 08:14:21 2016 +1000

    Add a hidden service to the IPv6 client network
---
 networks/client-ipv6-only | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/networks/client-ipv6-only b/networks/client-ipv6-only
index 19e5ad8..d36ba4f 100644
--- a/networks/client-ipv6-only
+++ b/networks/client-ipv6-only
@@ -8,6 +8,7 @@ ExitRelay6 = Node(tag="r", relay=1, exit=1,
                   ipv6_addr=os.environ.get('CHUTNEY_LISTEN_ADDRESS_V6',
                                            '[::1]'),
                   torrc="relay-orport-v6-exit.tmpl")
+HS = Node(tag="h", hs=1, torrc="hs.tmpl")
 Client6 = Node(tag="c", torrc="client-only-v6.tmpl")
 
 # Since only 25% of relays get the guard flag,
@@ -15,6 +16,6 @@ Client6 = Node(tag="c", torrc="client-only-v6.tmpl")
 
 # The minimum number of authorities/relays/exits is 3, the minimum path length
 # But for some reason, Tor wants 4 "acceptable routers" (Tor bug #20071)
-NODES = Authority6.getN(3) + ExitRelay6.getN(1) + Client6.getN(1)
+NODES = Authority6.getN(3) + ExitRelay6.getN(1) + HS.getN(1) + Client6.getN(1)
 
 ConfigureNodes(NODES)



More information about the tor-commits mailing list