Ask HN: Would you use Tor to connect to your distributed servers?
What should we consider before going with tor ? Would you do it ? Thanks !
[1]: http://gk2.sk/running-ssh-on-a-raspberry-pi-as-a-hidden-service-with-tor/
What should we consider before going with tor ? Would you do it ? Thanks !
[1]: http://gk2.sk/running-ssh-on-a-raspberry-pi-as-a-hidden-service-with-tor/
* Tor HS are not particularly resilient and have relatively high latency.
* The addresses of Tor hidden services can be determined by an attacker (Malicious HSDir operators).
* The Tor network is already over capacity, and isn't intended or ready for commercial use. Carefully considering using a free community service for a commercial product.
* If you do ultimately use Tor, consider running Tor relays or donating to the foundation.
* What are the risks of unmasking a hidden Tor
* Planning a schedule to turn on tor will be a good solution for the resiliency problem ?
Thanks !
Turning Tor off and on is a relatively expensive operation for the Tor network. It wouldn't particularly help resilience.
Personally I think it can be great to go with Tor, having a great excuse to support it too.
What do you mean by "not particularly resilient", compared to other remote management solutions? Tor is very good at handling temporarily broken connections, change of networks etc. -- much better than many other solutions like openVPN.
Addresses of onion services in the current design can be discovered, true. Again, this is not different from many other remote management solutions. You can (and should in this scenario) use authenticated onion services, which means that unless you know a secret you cannot access any service behind an onion. See "HidServAuth" in the Tor manual.
"The Tor network is already over capacity" -- what makes you think that? Here's a graph roughly comparing available vs. used bandwidth: https://metrics.torproject.org/bandwidth.html
We tested with the instructions in the link above and worked really smoothly. The idea is the to orchestrate all the server with Ansible or Salt via tor SSH