Tor as a transport #454
Replies: 4 comments 1 reply
-
I don't think you are missing anything. Pretty sure right now you could use the existing TCPServer and TCPClient interfaces to tunnel a Reticulum connection through tor, it just requires some manual setup of your tor process.
One other fairly significant option that a tor interface could provide, is the ability for a RNS Instance to easily connect to some public-facing TCPServer, using tor exit nodes. |
Beta Was this translation helpful? Give feedback.
-
Stem and PySocks would probably be the two "new dependancies" added to implement this. PySocks would allow TCPClient interfaces to connect over a SOCKS proxy to a public facing instance running a TCPServer interface, including ones operating as hidden services. Stem will allow to programatically control the Tor process, for example, by launching a hidden service.
That is pretty much it. And with hidden service support for TCPServer's, you can have location-hidden RNS Instances behind NAT that offer a "public facing" interface for clients to connect to. I think I'll try get a draft/test of adding SOCKS support to the TCPClient interface first. Should allow me to get familiar with the codebase. |
Beta Was this translation helpful? Give feedback.
-
That sounds like a good approach. Let me know if you bump into any problems or have questions along the way, I will try my best to be helpful :) |
Beta Was this translation helpful? Give feedback.
-
why not https://freenetproject.org/ it is better because use similar messages system. |
Beta Was this translation helpful? Give feedback.
-
I probably can't implement this immediately, as I am still getting familiar with the software, but I noticed it already supports I2P tunnels as a transport layer.
It probably wouldn't be particularly hard to implement Tor support - it would just be a change to the tcpclient interface implementation to use a SOCKS proxy, and for the tcpserver interface implementation, just spinning up a hidden service (probably using the Stem library) pointing to the tcpserver port (bound to localhost by default in Tor mode?).
Unless I am missing something?
Love the project by the way, I hope at some time to pick up some of the associated hardware.
Beta Was this translation helpful? Give feedback.
All reactions