Bitcoin Forum
December 05, 2016, 06:41:51 PM *
News: Latest stable version of Bitcoin Core: 0.13.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Tor Support via Onion cat (onion in IPv6)  (Read 1590 times)
gmaxwell
Moderator
Legendary
*
qt
Offline Offline

Activity: 2016



View Profile
June 21, 2011, 04:24:00 AM
 #1


Today the bitcoin client can work over Tor, but it can't connect to nodes which exist exclusively in the Tor cloud except manually. When using tor your node will just connect to regular internet nodes via tor.

This means, e.g. that while running bitcoin over tor can protect your privacy it doesn't help secure bitcoin against ddos and internet filtering attacks, because tor hidden nodes can't play much of a role.

To fix this bitcoin would need to know how to connect to onion addresses and how to share them with other nodes.

Fortunately this can be done without changing the bitcoin p2p protocol.  Bitcoin already shares addresses in IPv6 form. Fortunately the onion address space is already 80 bits and there is already a widely used mapping of onion to IPv6 called onioncat: http://www.cypherpunk.at/onioncat/wiki/OnionCat

To support this bitcoin would need to know to pack and unpack onion hostnames to onioncat IPv6 addresses, and would need to know to only attempt to connect to them via the tor-socks-proxy.  It would also be useful for it to know how to have a tor-proxy used only for onion while the rest of the connections use the public internet.

Is there any reason that this wouldn't be a good way of handling this?
1480963311
Hero Member
*
Offline Offline

Posts: 1480963311

View Profile Personal Message (Offline)

Ignore
1480963311
Reply with quote  #2

1480963311
Report to moderator
1480963311
Hero Member
*
Offline Offline

Posts: 1480963311

View Profile Personal Message (Offline)

Ignore
1480963311
Reply with quote  #2

1480963311
Report to moderator
1480963311
Hero Member
*
Offline Offline

Posts: 1480963311

View Profile Personal Message (Offline)

Ignore
1480963311
Reply with quote  #2

1480963311
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
wumpus
Hero Member
*****
qt
Offline Offline

Activity: 798

No Maps for These Territories


View Profile
June 21, 2011, 05:52:49 AM
 #2

Sounds good. This has bothered me as well. By default, it only uses tor to connect via an exit node to other bitcoin clients. It should prefer connecting to hidden services inside the Tor network (and open up itself as hidden service, if the user chooses so).

However, wouldn't this require IPv6 support in the client? This still needs to be implemented.


Bitcoin Core developer [PGP] Warning: For most, coin loss is a larger risk than coin theft. A disk can die any time. Regularly back up your wallet through FileBackup Wallet to an external storage or the (encrypted!) cloud. Use a separate offline wallet for storing larger amounts.
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!