Commit Graph

14125 Commits

Author SHA1 Message Date
jl777
43cc3df657 Test 2017-03-26 13:53:22 +03:00
jl777
978ca79512 Test 2017-03-26 13:46:07 +03:00
jl777
033f496dbe Test 2017-03-26 13:41:31 +03:00
jl777
1e2a41f6c1 Test 2017-03-26 13:35:37 +03:00
jl777
9e1bde7e24 Test 2017-03-26 13:30:23 +03:00
jl777
f1024f06ac Test 2017-03-26 13:25:55 +03:00
jl777
7ed958da81 Test 2017-03-26 13:20:00 +03:00
jl777
5de55e14aa Test 2017-03-26 13:10:23 +03:00
jl777
b000fa04a6 Test 2017-03-26 12:53:24 +03:00
zkbot
45faa928ec Auto merge of #2177 - str4d:2061-tor-ephemeral-hs, r=daira
Tor ephemeral hidden services

Cherry-picked from the following upstream PRs:

- bitcoin/bitcoin#6503 (included to reduce merge conflicts)
- bitcoin/bitcoin#6639
- bitcoin/bitcoin#6643
- bitcoin/bitcoin#7090
- bitcoin/bitcoin#7035
- bitcoin/bitcoin#7170
- bitcoin/bitcoin#7218 (non-QT part)
- bitcoin/bitcoin#7313
- bitcoin/bitcoin#7438
- bitcoin/bitcoin#7553
- bitcoin/bitcoin#7637
- bitcoin/bitcoin#7683
- bitcoin/bitcoin#7813
- bitcoin/bitcoin#7703
- bitcoin/bitcoin#8203
- bitcoin/bitcoin#9004
- bitcoin/bitcoin#9234
- bitcoin/bitcoin#9911 (partial)

Closes #2061.
2017-03-26 02:44:06 +00:00
zkbot
f7fcad709b Auto merge of #2203 - arcalinea:2142_security_log_message, r=daira
Add message directing users to security guide

Addresses #2142, which was blocking on updates to zcash/support/security.html. That page has now been added, so this message directing users to the site can be included.

It displays in the zcash-cli --help and --version message text, and on the zcashd metrics screen.
2017-03-26 01:36:24 +00:00
Jack Grigg
87b7f4d878 torcontrol: Log invalid parameters in Tor reply strings where meaningful 2017-03-26 14:35:13 +13:00
Daira Hopwood
f0d1accb7d Line-wrap privacy notice. Use <> around URL and end sentence with '.'.
Include privacy notice in help text for zcashd -help.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2017-03-26 02:08:29 +01:00
Jack Grigg
3290567bbd torcontrol: Check for reading errors in ReadBinaryFile
This ensures that ReadBinaryFile never returns exactly TOR_COOKIE_SIZE bytes if
the file was larger than that.
2017-03-26 13:53:13 +13:00
jl777
83f1c673bf Test 2017-03-25 23:05:17 +02:00
jl777
23bf71d1f6 Test 2017-03-25 20:36:39 +02:00
jl777
66294e69b2 Remove prints 2017-03-25 19:32:17 +02:00
jl777
67478d4a4c Test 2017-03-25 19:06:21 +02:00
jl777
1812efacf4 Test 2017-03-25 18:50:05 +02:00
jl777
b020e6a38e Test 2017-03-25 18:49:16 +02:00
jl777
1a9890f534 Test 2017-03-25 18:49:00 +02:00
jl777
dd98c02d47 test 2017-03-25 18:46:14 +02:00
jl777
a85440acf8 Test 2017-03-25 18:32:22 +02:00
jl777
8b51b9e489 Test 2017-03-25 18:31:20 +02:00
jl777
ca3bf7ed8f Test 2017-03-25 18:30:12 +02:00
jl777
f0100e72e6 Test 2017-03-25 18:29:49 +02:00
jl777
4ab9dbe9b2 Test 2017-03-25 18:19:05 +02:00
jl777
902ac92da3 Test 2017-03-25 18:14:15 +02:00
jl777
2eb6b74a26 Test 2017-03-25 18:09:52 +02:00
jl777
37f823fba7 Test 2017-03-25 18:01:19 +02:00
jl777
0bba91a407 Test 2017-03-25 17:59:24 +02:00
jl777
c49a34c04a Test 2017-03-25 17:58:53 +02:00
jl777
44cc3bc7e6 Test 2017-03-25 17:57:28 +02:00
jl777
2e8e57576e Test 2017-03-25 17:55:07 +02:00
jl777
de65ff9543 Test 2017-03-25 17:51:17 +02:00
jl777
73326d0273 Test 2017-03-25 17:50:58 +02:00
jl777
1c5a00ced9 Test 2017-03-25 17:44:01 +02:00
Jack Grigg
64101d0407 torcontrol: Fix ParseTorReplyMapping
- Ignore remaining input if it is an OptArguments
- Correctly handle escapes
2017-03-26 00:35:13 +13:00
Jack Grigg
6dbd95afa1 torcontrol: Add unit tests for Tor reply parsers 2017-03-26 00:34:53 +13:00
jl777
39d28b0641 Expand time window 2017-03-25 13:25:37 +02:00
jl777
0af2786dc4 Fix miner 2017-03-25 10:35:45 +02:00
jl777
abdf25c80c Test 2017-03-25 10:28:21 +02:00
Jack Grigg
8966598033 torcontrol: Improve comments 2017-03-25 20:25:59 +13:00
Pavel Janík
4b5ba449bb Make some global variables less-global (static) 2017-03-25 20:25:57 +13:00
Pavel Janík
f0e9019223 Prevent -Wshadow warnings with gcc versions 4.8.5, 5.3.1 and 6.2.1.
Zcash: partial (ignoring src/test/script_tests.cpp due to merge conflicts)
2017-03-25 20:25:56 +13:00
Wladimir J. van der Laan
9e5c9d0a04 torcontrol: Explicitly request RSA1024 private key
When generating a new service key, explicitly request a RSA1024 one.

The bitcoin P2P protocol has no support for the longer hidden service names
that will come with ed25519 keys, until it does, we depend on the old
hidden service type so make this explicit.

See #9214.
2017-03-25 20:25:55 +13:00
unsystemizer
5aa2365edd Clarify listenonion
> This new feature is enabled by default if Bitcoin Core is listening, and a connection to Tor can be made. It can be configured with the -listenonion, -torcontrol and -torpassword settings. To show verbose debugging information, pass -debug=tor.

But it is correct to say that the feature is enabled *regardless* of whether a connection to Tor can be made.

I propose to clarify that so that users can eliminate these in their logs (when `listen=1` and no Tor).
And I think it's okay to clarify about the `listen` option, because on several occasions when I read this before I always assumed `listening` meant `server=1` which cost me a lot of time in troubleshooting.

```
2016-10-24 06:19:22.551029 tor: Error connecting to Tor control socket
2016-10-24 06:19:22.551700 tor: Not connected to Tor control port 127.0.0.1:9051, trying to reconnect
```

0.12.1
2017-03-25 20:25:53 +13:00
Nathaniel Mahieu
4404073185 Clarify documentation for running a tor node
Previous wording suggested that no additional setup was required for a
tor hidden service to be created.
2017-03-25 20:25:52 +13:00
Wladimir J. van der Laan
ca5e229514 tor: Change auth order to only use HASHEDPASSWORD if -torpassword
Change authentication order to make it more clear (see #7700).

- If the `-torpassword` option is provided, force use of
  `HASHEDPASSWORD` auth.

- Give error message if `-torpassword` provided, but
  `HASHEDPASSWORD` auth is not available.

- Give error message if only `HASHEDPASSWORD` available, but
  `-torpassword` not given.
2017-03-25 20:25:50 +13:00
Adam Brown
ec8828aff3 [doc] Update port in tor.md
Tor Browser Bundle spawns the Tor process and listens on port 9150, it doesn't randomly pick a port.

[ci skip]
(cherry picked from commit 1b63cf98347b2a62915425576930f55c2126c2ff)
2017-03-25 20:25:49 +13:00