From 5b07ee597c943add495993762f7d53da53a53f3c Mon Sep 17 00:00:00 2001 From: Jay Graber Date: Tue, 11 Oct 2016 12:06:24 -0700 Subject: [PATCH 1/5] Change alpha to beta testnet, add zcash hidden service --- doc/tor.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/doc/tor.md b/doc/tor.md index 901e6e2c4..abfa82ba1 100644 --- a/doc/tor.md +++ b/doc/tor.md @@ -94,20 +94,20 @@ a single Zcash hidden server. Edit zcash.conf and comment out any nodes you might normally connect to. - #addnode=alphatestnet.z.cash + #addnode=betatestnet.z.cash -Launch zcashd as follows: +Launch zcashd as follows, adding the Zcash hidden server: - zcashd -onion=127.0.0.1:9050 -addnode=abc123.onion + zcashd -onion=127.0.0.1:9050 -addnode=zctestseie6wxgio.onion Now use zcash-cli to verify there is only a single peer connection. zcash-cli getpeerinfo - + [ { "id" : 1, - "addr" : "abc123.onion:18233", + "addr" : "zctestseie6wxgio.onion:18233", ... "version" : 70002, "subver" : "/Satoshi:0.11.2/", From 856b92faa1a9c275bfe06e9eb967b5fab0334533 Mon Sep 17 00:00:00 2001 From: Jay Graber Date: Tue, 11 Oct 2016 15:41:15 -0700 Subject: [PATCH 2/5] Improve documentation on connecting to zcash hidden server --- doc/tor.md | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/doc/tor.md b/doc/tor.md index abfa82ba1..10279417c 100644 --- a/doc/tor.md +++ b/doc/tor.md @@ -70,7 +70,8 @@ your zcashd's P2P listen port (8233 by default). In a typical situation, where you're only reachable via Tor, this should suffice: - ./zcashd -proxy=127.0.0.1:9050 -externalip=abc123.onion -listen + ./zcashd -proxy=127.0.0.1:9050 -externalip=zctestseie6wxgio.onion + -listen (obviously, replace the Onion address with your own). If you don't care too much about hiding your node, and want to be reachable on IPv4 as well, additionally @@ -83,7 +84,7 @@ and open port 8233 on your firewall (or use -upnp). If you only want to use Tor to reach onion addresses, but not use it as a proxy for normal IPv4/IPv6 communication, use: - ./zcashd -onion=127.0.0.1:9050 -externalip=abc123.onion -discover + ./zcashd -onion=127.0.0.1:9050 -externalip=zctestseie6wxgio.onion -discover 3. Connect to a Zcash hidden server @@ -92,13 +93,9 @@ for normal IPv4/IPv6 communication, use: To test your set-up, you might want to try connecting via Tor to just a a single Zcash hidden server. -Edit zcash.conf and comment out any nodes you might normally connect to. +Launch zcashd as follows, connecting to the Zcash hidden server: - #addnode=betatestnet.z.cash - -Launch zcashd as follows, adding the Zcash hidden server: - - zcashd -onion=127.0.0.1:9050 -addnode=zctestseie6wxgio.onion + ./zcashd -onion=127.0.0.1:9050 -connect=zctestseie6wxgio.onion Now use zcash-cli to verify there is only a single peer connection. From 8908b299c4df65240bcdc71ad5f9369a4d594a1b Mon Sep 17 00:00:00 2001 From: Jay Graber Date: Tue, 11 Oct 2016 15:41:15 -0700 Subject: [PATCH 3/5] Improve documentation on connecting to zcash hidden server --- doc/tor.md | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/doc/tor.md b/doc/tor.md index abfa82ba1..495c59f3e 100644 --- a/doc/tor.md +++ b/doc/tor.md @@ -70,7 +70,7 @@ your zcashd's P2P listen port (8233 by default). In a typical situation, where you're only reachable via Tor, this should suffice: - ./zcashd -proxy=127.0.0.1:9050 -externalip=abc123.onion -listen + ./zcashd -proxy=127.0.0.1:9050 -externalip=zctestseie6wxgio.onion -listen (obviously, replace the Onion address with your own). If you don't care too much about hiding your node, and want to be reachable on IPv4 as well, additionally @@ -83,7 +83,7 @@ and open port 8233 on your firewall (or use -upnp). If you only want to use Tor to reach onion addresses, but not use it as a proxy for normal IPv4/IPv6 communication, use: - ./zcashd -onion=127.0.0.1:9050 -externalip=abc123.onion -discover + ./zcashd -onion=127.0.0.1:9050 -externalip=zctestseie6wxgio.onion -discover 3. Connect to a Zcash hidden server @@ -92,13 +92,9 @@ for normal IPv4/IPv6 communication, use: To test your set-up, you might want to try connecting via Tor to just a a single Zcash hidden server. -Edit zcash.conf and comment out any nodes you might normally connect to. +Launch zcashd as follows, connecting to the Zcash hidden server: - #addnode=betatestnet.z.cash - -Launch zcashd as follows, adding the Zcash hidden server: - - zcashd -onion=127.0.0.1:9050 -addnode=zctestseie6wxgio.onion + ./zcashd -onion=127.0.0.1:9050 -connect=zctestseie6wxgio.onion Now use zcash-cli to verify there is only a single peer connection. From 18a96c7977a44bd4569a6d906b4216f25fe14a07 Mon Sep 17 00:00:00 2001 From: Jay Graber Date: Tue, 11 Oct 2016 15:48:09 -0700 Subject: [PATCH 4/5] Update tor.md --- doc/tor.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/doc/tor.md b/doc/tor.md index 10279417c..495c59f3e 100644 --- a/doc/tor.md +++ b/doc/tor.md @@ -70,8 +70,7 @@ your zcashd's P2P listen port (8233 by default). In a typical situation, where you're only reachable via Tor, this should suffice: - ./zcashd -proxy=127.0.0.1:9050 -externalip=zctestseie6wxgio.onion - -listen + ./zcashd -proxy=127.0.0.1:9050 -externalip=zctestseie6wxgio.onion -listen (obviously, replace the Onion address with your own). If you don't care too much about hiding your node, and want to be reachable on IPv4 as well, additionally From 1f48a3403bdd557fb67d8197e513347070864beb Mon Sep 17 00:00:00 2001 From: Jay Graber Date: Wed, 12 Oct 2016 11:37:49 -0700 Subject: [PATCH 5/5] Distinguish between connecting to 1 vs multiple tor nodes --- doc/tor.md | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/doc/tor.md b/doc/tor.md index 495c59f3e..cc2039378 100644 --- a/doc/tor.md +++ b/doc/tor.md @@ -89,10 +89,8 @@ for normal IPv4/IPv6 communication, use: 3. Connect to a Zcash hidden server ----------------------------------- -To test your set-up, you might want to try connecting via Tor to just a -a single Zcash hidden server. - -Launch zcashd as follows, connecting to the Zcash hidden server: +To test your set-up, you might want to try connecting via Tor on a different computer to just a +a single Zcash hidden server. Launch zcashd as follows: ./zcashd -onion=127.0.0.1:9050 -connect=zctestseie6wxgio.onion @@ -110,3 +108,7 @@ Now use zcash-cli to verify there is only a single peer connection. ... } ] + +To connect to multiple Tor nodes, use: + + ./zcashd -onion=127.0.0.1:9050 -addnode=zctestseie6wxgio.onion -dnsseed=0 -onlynet=onion