[suggestion] Better Tor integration #475
Labels
enhancement
New feature for the user, not a new feature for build script
network
Network
P3
Low priority
security
Security
Milestone
Currently, if Tox node wishes to work through Tor, it has to choose the SOCKS5 proxy option. This automatically disables DHT and makes such node work through the TCP relay. As far as I know, the number of TCP relays is very limited in the network. (qTox has the hardcoded list of 60.) This puts Tor-connected nodes at a disadvantage, makes them unscalable, because all of them have to share a limited number of TCP relays.
ZeroNet, IMO, took a better approach. My suggestion is based on their approach.
Implementation-wise, the address of the Tox node will change from {IP} to {IP,Onion}. DHT will support the TCP connectivity to enable Tor nodes that have no UDP access. Only clearnet-only->onion-only connections will require going through TCP relays. All other connections will generally be direct.
This will make Tox work within the Tor network in a way similar to how it currently works over the clearnet, in a scalable fashion. Tor->Tor calls will not need to ever leave the Tor network.
The text was updated successfully, but these errors were encountered: