You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 5116ff8
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: docs/20_1_Verifying_Your_Tor_Setup.md
+25-23Lines changed: 25 additions & 23 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,10 +2,10 @@
2
2
3
3
If you did a standard installation with [Bitcoin
4
4
Standup](https://github.com/BlockchainCommons/Bitcoin-Standup) then
5
-
you should have Tor set up as part of your Bitcoin node: Tor is
6
-
installed and has created hidden services for the Bitcoin RPC ports;
7
-
while an onion address has also been created for `bitcoind`. This
8
-
section talks about what all of that is and what to do with it.
5
+
you Tor is installed and has created hidden services for the Bitcoin
6
+
RPC ports; while an onion address has also been created for
7
+
`bitcoind`. This section talks about what all of that is and what to
8
+
do with it.
9
9
10
10
> 📖 ***What is Tor?*** Tor is a low-latency anonymity and overlay
11
11
network based on onion routing and path-building design for enabling
@@ -17,7 +17,7 @@ name derived from the acronym for the original software project name:
17
17
peer-to-peer network that listens for transactions and propagates them
18
18
using a public IP address. When connecting to the network not using
19
19
Tor, you would share your IP address, which could expose your
20
-
location, your uptime, and others details to third parties — which is
20
+
location, your uptime, and others details to third parties, which is
21
21
an undesirable privacy practice. To protect yourself online you should
22
22
use tools like Tor to hide your connection details. Tor allows you to
23
23
improve your privacy online as your data is cryptographically encoded
@@ -71,22 +71,23 @@ metadata to compromise anonymity and potentially identify users.
71
71
72
72
There are also studies that suggest that possible exploits of
73
73
Bitcoin's anti-DoS protection could allow an attacker to force other
74
-
users who use Tor to connect exclusively through his Tor Exit nodes or
75
-
to his Bitcoin peers, isolating the client from the rest of the
76
-
Bitcoin network and exposing them to censorship, correlation, and
77
-
other attacks.
74
+
users who use Tor to connect exclusively through the attacker's Tor
75
+
Exit nodes or to their Bitcoin peers, isolating the client from the
76
+
rest of the Bitcoin network and exposing them to censorship,
77
+
correlation, and other attacks.
78
78
79
79
Similarly, Bitcoin Tor users could be fingerprint-attacked by setting
80
80
an address cookie on their nodes. This would also allow correlation
81
-
and thus deanonymization.
81
+
and so deanonymization.
82
82
83
83
Meanwhile, even over Tor, Bitcoin is only a pseudoanonymous service
84
84
due to the many dangers of correlation that stem from the permanent
85
85
ledger itself. This means that Bitcoin usage over Tor is actually more
86
86
likely to be _deanonymized_ than other services (and could lead to the
87
87
deanonymization of other activities).
88
88
89
-
With that said, Tor is generally considered safer than the alternative, which is non-anonymous browsing.
89
+
With that said, Tor is generally considered safer than the
90
+
alternative, which is non-anonymous browsing.
90
91
91
92
## Verify Your Tor Setup
92
93
@@ -95,16 +96,17 @@ Bitcoin Standup, the following will verify that Tor is running on your
95
96
system.
96
97
97
98
```
98
-
$ sudo -u debian-tor tor --verify-config
99
+
sudo -u debian-tor tor --verify-config
99
100
```
100
101
101
102
If Tor is installed correctly you should output like this:
102
103
```
103
-
Oct 29 12:10:58.346 [notice] Tor 0.4.9.14 running on Linux with Libevent 2.1.13-stable, OpenSSL 3.5.7, Zlib 1.3.1, Liblzma 5.8.1, Libzstd 1.5.7 and Glibc 2.41 as libc.
104
-
Oct 29 12:10:58.346 [notice] Tor can't help you if you use it wrong! Learn how to be safe at https://support.torproject.org/faq/staying-anonymous/
105
-
Oct 29 12:10:58.346 [notice] Read configuration file "/etc/tor/torrc".
104
+
| Oct 29 12:10:58.346 [notice] Tor 0.4.9.14 running on Linux with Libevent 2.1.13-stable, OpenSSL 3.5.7, Zlib 1.3.1, Liblzma 5.8.1, Libzstd 1.5.7 and Glibc 2.41 as libc.
105
+
| Oct 29 12:10:58.346 [notice] Tor can't help you if you use it wrong! Learn how to be safe at https://support.torproject.org/faq/staying-anonymous/
106
+
| Oct 29 12:10:58.346 [notice] Read configuration file "/etc/tor/torrc".
106
107
Configuration was valid
107
108
```
109
+
108
110
> ⚠️ **Verification is Limited:** This just means that Tor is running, not that its being used for all (or any) connections.
109
111
110
112
At this point you should be able to use Tor in two ways. First, you
built into Bitcoin Standup. Just download the QR code found at
149
152
`/qrcode.png` and scan it using a wallet or node that support
150
-
QuickConnect, such as [The Gordian
151
-
Wallet](https://github.com/BlockchainCommons/FullyNoded-2). When you
153
+
QuickConnect, such as [Fully Noded](https://fullynoded.app/) When you
152
154
scan the QR, you should see the wallet sync up with your node; it's
153
155
doing so using the RPC hidden services.
154
156
@@ -158,7 +160,7 @@ normal UNIX command to a Tor-protected command. It's difficult because
158
160
you need to grab three pieces of information.
159
161
160
162
1.**Your Hidden Service Port.** This comes from `/etc/tor/torrc/`. By default, all of the Tor ports are set to mirror the regular TCP/IP ports, so the Signet server is at 38332.
161
-
2.**Your Tor Address.** This is in the `hostname` file in the `HiddenServiceDir` directory defined in `/etc/tor/torrc`. By default the file is thus`/var/lib/tor/standup/hostname`. It's protected, so you'll need to `sudo` to access it:
163
+
2.**Your Tor Address.** This is in the `hostname` file in the `HiddenServiceDir` directory defined in `/etc/tor/torrc`. By default the file is therefore`/var/lib/tor/standup/hostname`. It's protected, so you'll need to `sudo` to access it:
Copy file name to clipboardExpand all lines: docs/20_2_Changing_Your_Bitcoin_Hidden_Services.md
+7-1Lines changed: 7 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -71,7 +71,13 @@ See [Bitcoin Onion Nodes](https://github.com/emmanuelrosa/bitcoin-onion-nodes) f
71
71
72
72
Afterward, restart `tor` and `bitcoind`.
73
73
74
-
You should now be communicating exclusively on Tor. But, unless you are in a hostile state, this level of anonymity is probably not required. It also is not particularly recommended: you might greatly decrease your number of potential peers, inviting problems of censorship or even correlation. You may also see lag. And, this setup may give you a false sense of anonymity that really doesn't exist on the Bitcoin network.
74
+
You should now be communicating exclusively on Tor. But, unless you
75
+
are in a hostile state, this level of anonymity is probably not
76
+
required. It also is not particularly recommended: you might greatly
77
+
decrease your number of potential peers, inviting problems of
78
+
censorship or even correlation. You may also see lag. And, this setup
79
+
may give you a false sense of anonymity that really doesn't exist on
80
+
the Bitcoin network.
75
81
76
82
> ⚠️ **Bleeding Edge Setup:** This setup is untested! Use at your own risk!
0 commit comments