Received: from sog-mx-4.v43.ch3.sourceforge.com ([172.29.43.194] helo=mx.sourceforge.net) by sfs-ml-2.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1SjyGk-0006KX-AB for bitcoin-development@lists.sourceforge.net; Wed, 27 Jun 2012 19:51:18 +0000 Received-SPF: pass (sog-mx-4.v43.ch3.sourceforge.com: domain of gmail.com designates 74.125.82.175 as permitted sender) client-ip=74.125.82.175; envelope-from=grarpamp@gmail.com; helo=mail-we0-f175.google.com; Received: from mail-we0-f175.google.com ([74.125.82.175]) by sog-mx-4.v43.ch3.sourceforge.com with esmtps (TLSv1:RC4-SHA:128) (Exim 4.76) id 1SjyGg-0002Ef-9f for bitcoin-development@lists.sourceforge.net; Wed, 27 Jun 2012 19:51:18 +0000 Received: by werg55 with SMTP id g55so1116441wer.34 for ; Wed, 27 Jun 2012 12:51:08 -0700 (PDT) MIME-Version: 1.0 Received: by 10.180.98.69 with SMTP id eg5mr7335155wib.3.1340826668093; Wed, 27 Jun 2012 12:51:08 -0700 (PDT) Received: by 10.180.7.105 with HTTP; Wed, 27 Jun 2012 12:51:08 -0700 (PDT) Date: Wed, 27 Jun 2012 15:51:08 -0400 Message-ID: From: grarpamp To: bitcoin-development@lists.sourceforge.net Content-Type: text/plain; charset=UTF-8 X-Spam-Score: -0.9 (/) X-Spam-Report: Spam Filtering performed by mx.sourceforge.net. See http://spamassassin.org/tag/ for more details. -1.5 SPF_CHECK_PASS SPF reports sender host as permitted sender for sender-domain 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (grarpamp[at]gmail.com) -0.0 SPF_PASS SPF: sender matches SPF record -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.7 AWL AWL: From: address is in the auto white-list X-Headers-End: 1SjyGg-0002Ef-9f Subject: [Bitcoin-development] Tor hidden service support X-BeenThere: bitcoin-development@lists.sourceforge.net X-Mailman-Version: 2.1.9 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Jun 2012 19:51:18 -0000 Forward past automoderation... > Reading https://github.com/bitcoin/bitcoin/blob/master/doc/Tor.txt > Is bitcoin software going to incorporate tor binaries within the > application standard application and automatically create a Tor Hidden > Service on behalf of end-user? > > Are there any direction regarding this kind of integration? The document (Tor.txt) assumes the bitcoin user has taken care of that. So no bi-direction needed (I am not TorProject). > Regarding the addressing, why not use directly the .onion address? > They represent in parallel: > - Routing information (providing a path to the destination) > - Proof of identity (owning the private RSA key) > Which is the reason to map it to an IPv6 address? Seems it's used only within bitcoin code to distinguish which proxy or native IPvN path to send bitcoin traffic to (or receive from). It might be simpler than managing onions, i2p's and whatever else throughout the code and the private bitcoin p2p mesh. Though I don't suspect it will conflict [1] with anyone's use of OnionCat, GarliCat, or Phantom... it would just feel odd configuring bitcoin to use Tor or I2P proxy ports (or Phantom native) when you could conceivably just dump the IPv6 traffic to the OS stack for handling once you have the *Cat shims and Phantom set up. They do have a point about about ocat as a shim for their purposes. And Phantom is a special case in that it's all native IPv6 interface, no proxy or shim needed or provided. I will quote an additional note from bitcoin-devel... "Note that while the hidden service support in bitcoin uses a compatible IPv6 mapping with onioncat, it is _not_ onioncat, does not use onioncat, does not need onioncat, and wouldn't benefit from onioncat. The onioncat style advertisement is used because our protocol already relays IPv6 addresses. The connections are regular tor hidden service connections, not the more-risky and low performance ip in tcp onioncat stuff." FYI. There have been a dozen or so onion:8333 nodes and maybe some on I2P long before this work. But I think could only be used as -connect or -addnode seeds with some extra host setup. Never tried it since -proxy was sufficient. Seems this is a simpler and full solution. [1] Well bitcoin wouldn't know to offload traffic to any of those blocks, or a specific host on them, if you had them set up locally via *Cat or Phantom... for bitcoin use. It would probably end up half useful similar to the above FYI. But that would just affect bitcoin, not whatever else you were running on them.