Commit Graph
15949 Commits
Author SHA1 Message Date
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
ca333 786af7cd31 Merge pull request #7 from jl777/master
master update
2017-03-25 22:18:43 +01:00
jl777 83f1c673bf Test 2017-03-25 23:05:17 +02:00
jl777 554cdd83b3 Merge pull request #388 from jl777/dev
Test
2017-03-25 20:37:13 +02:00
jl777 23bf71d1f6 Test 2017-03-25 20:36:39 +02:00
jl777 e84c90f704 Merge pull request #387 from jl777/dev
Remove prints
2017-03-25 19:32:57 +02:00
jl777 66294e69b2 Remove prints 2017-03-25 19:32:17 +02:00
jl777 e1fa9a2439 Merge pull request #386 from jl777/dPoW
DPoW
2017-03-25 19:08:42 +02:00
jl777 d074d6e14f Merge pull request #385 from jl777/beta
Beta
2017-03-25 19:07:55 +02:00
jl777 f8bb37565b Merge pull request #384 from jl777/dev
Dev
2017-03-25 19:07:14 +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
Simon f493d3e044 Add --disable-proton flag to build.sh. Proton has build/linker issues with gcc 4.9.2 and requires gcc 5.x. 2017-03-25 09:41:54 -07: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
Simon 99eb947a98 Add AMQP 1.0 support via Apache Qpid Proton C++ API 0.17.0 2017-03-25 08:51:40 -07: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
jl777 9e7efae331 Merge pull request #383 from jl777/dPoW
DPoW
2017-03-25 17:11:39 +02:00
jl777 276420b373 Merge pull request #382 from jl777/beta
Beta
2017-03-25 17:10:57 +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 1265e49f96 Merge pull request #379 from jl777/dev
Expand time window
2017-03-25 13:26:06 +02:00
jl777 39d28b0641 Expand time window 2017-03-25 13:25:37 +02:00
jl777 9094724ab8 Merge pull request #378 from jl777/dev
Fix miner
2017-03-25 10:36:25 +02:00
jl777 0af2786dc4 Fix miner 2017-03-25 10:35:45 +02:00
jl777 1aff66e126 Merge pull request #377 from jl777/dev
Test
2017-03-25 10:28:59 +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