Wladimir J. van der Laan
8f4e67f152
net: Automatically create hidden service, listen on Tor
...
Starting with Tor version 0.2.7.1 it is possible, through Tor's control socket
API, to create and destroy 'ephemeral' hidden services programmatically.
https://stem.torproject.org/api/control.html#stem.control.Controller.create_ephemeral_hidden_service
This means that if Tor is running (and proper authorization is available),
bitcoin automatically creates a hidden service to listen on, without user
manual configuration. This will positively affect the number of available
.onion nodes.
- When the node is started, connect to Tor through control socket
- Send `ADD_ONION` command
- First time:
- Make it create a hidden service key
- Save the key in the data directory for later usage
- Make it redirect port 8333 to the local port 8333 (or whatever port we're listening on).
- Keep control socket connection open for as long node is running. The hidden service will
(by default) automatically go away when the connection is closed.
2015-11-10 17:29:56 +01:00
..
2015-10-27 17:44:13 +01:00
2015-06-07 04:54:20 +03:00
2015-11-03 17:12:36 +00:00
2015-03-06 15:54:53 +01:00
2015-11-04 23:46:47 +01:00
2015-11-03 17:14:09 +00:00
2015-11-09 21:00:16 +01:00
2015-11-10 16:44:53 +01:00
2015-10-23 13:33:13 +02:00
2015-04-22 14:03:10 -07:00
2015-05-15 11:44:58 +02:00
2015-11-09 21:00:16 +01:00
2015-10-09 11:37:00 +02:00
2015-11-10 15:48:23 +01:00
2015-11-10 15:32:03 +01:00
2015-11-05 23:28:02 +01:00
2015-09-24 15:20:48 -04:00
2015-09-24 15:20:48 -04:00
2015-07-23 21:10:22 +02:00
2015-06-04 19:34:18 +02:00
2015-08-03 22:58:30 +01:00
2015-10-13 01:04:39 -07:00
2015-03-06 17:21:59 +01:00
2015-04-20 13:29:22 +02:00
2015-02-15 11:34:02 -05:00
2015-07-25 09:51:52 +02:00
2015-05-22 02:56:55 +00:00
2015-10-27 17:39:42 +01:00
2015-05-22 02:56:55 +00:00
2015-10-27 17:39:42 +01:00
2015-05-22 02:56:55 +00:00
2015-10-27 17:39:42 +01:00
2015-07-27 19:09:39 +02:00
2015-07-27 19:09:39 +02:00
2015-05-13 12:52:57 -07:00
2015-05-02 15:23:59 +00:00
2015-10-20 17:06:28 +02:00
2015-10-20 17:06:28 +02:00
2015-10-20 14:28:43 +02:00
2015-10-20 14:28:43 +02:00
2015-06-25 08:05:52 +02:00
2015-07-23 21:10:22 +02:00
2015-07-28 15:26:50 -04:00
2015-05-01 11:21:27 +00:00
2015-06-02 17:11:05 +02:00
2015-08-08 09:30:53 -07:00
2015-07-20 11:17:53 -04:00
2015-07-20 11:17:53 -04:00
2015-10-22 17:57:48 +00:00
2015-07-30 19:56:00 -04:00
2015-09-22 18:51:07 +02:00
2015-10-01 10:49:57 +02:00
2015-10-01 10:49:57 +02:00
2015-10-22 21:33:06 -04:00
2015-10-27 17:39:42 +01:00
2015-08-19 14:25:01 -04:00
2015-05-06 17:22:46 +02:00
2015-05-06 17:22:46 +02:00
2015-09-03 10:59:19 +02:00
2015-09-03 10:59:18 +02:00
2015-10-20 14:31:40 +02:00
2015-09-21 17:15:36 +02:00
2015-11-10 17:29:56 +01:00
2015-09-03 10:59:18 +02:00
2015-05-06 18:37:49 +02:00
2015-05-06 18:37:49 +02:00
2015-07-20 16:01:37 -07:00
2015-07-20 16:01:37 -07:00
2015-08-17 12:15:32 -04:00
2015-11-10 17:29:56 +01:00
2015-11-10 15:58:00 +01:00
2015-11-10 17:29:56 +01:00
2015-09-30 09:24:42 -04:00
2015-10-01 10:49:57 +02:00
2015-10-01 10:49:57 +02:00
2015-10-22 21:33:06 -04:00
2015-10-27 17:44:13 +01:00
2015-08-10 22:06:27 +01:00
2015-05-01 11:21:27 +00:00
2015-11-03 17:12:36 +00:00
2015-10-01 23:16:42 +00:00
2015-07-28 20:15:00 +02:00
2015-11-10 17:29:56 +01:00
2015-10-26 15:37:30 +01:00
2015-11-10 17:29:56 +01:00
2015-11-10 17:29:56 +01:00
2015-10-19 14:25:21 -04:00
2015-04-22 03:53:25 -07:00
2015-04-19 11:10:23 -07:00
2015-09-05 23:29:13 -07:00
2015-05-06 17:22:46 +02:00
2015-05-06 17:22:46 +02:00
2015-02-25 18:37:06 -05:00
2015-10-30 14:07:30 +01:00
2015-09-03 15:13:40 -04:00
2015-11-10 15:32:03 +01:00
2015-10-23 12:47:19 +02:00
2015-10-01 10:49:57 +02:00
2015-10-01 23:16:42 +00:00
2015-11-09 08:44:19 +01:00
2015-10-29 13:30:42 +01:00
2015-09-03 10:59:18 +02:00
2015-10-01 10:49:57 +02:00
2015-10-30 14:07:30 +01:00
2015-10-28 22:25:32 -04:00
2015-10-01 10:49:57 +02:00
2015-09-03 15:13:40 -04:00
2015-05-16 17:59:23 -04:00
2015-05-14 01:02:01 -04:00
2015-10-06 07:46:10 -07:00
2015-08-07 16:18:16 -04:00
2015-08-10 22:06:27 +01:00
2015-09-27 16:40:16 +02:00
2015-11-10 17:29:56 +01:00
2015-11-10 17:29:56 +01:00
2015-10-28 01:05:32 +01:00
2015-10-22 21:33:06 -04:00
2015-10-28 02:25:06 +01:00
2015-10-28 03:07:59 +01:00
2015-09-16 16:50:19 +02:00
2015-03-12 22:17:22 +06:00
2015-10-26 15:05:37 -04:00
2015-10-26 15:05:37 -04:00
2015-06-06 09:30:41 +02:00
2015-06-06 09:30:41 +02:00
2015-09-23 12:06:00 +02:00
2015-09-16 15:23:29 +02:00
2015-10-26 15:05:37 -04:00
2015-10-26 15:05:37 -04:00
2015-09-16 11:01:35 +01:00
2015-09-16 16:51:21 +02:00
2015-09-05 23:29:13 -07:00