<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">Hi Tor devs!<br><div><br></div><div>I’d like your feedback on a new system to provide public hidden services that I call "shroud”. By “public hidden services”, I mean services whose network location cannot be determined (like Tor hidden services) but are accessible by any client on the internet (like hidden services + Tor2Web). I’ve linked to what I think is pretty comprehensive documentation at the end of this message, but here’s a brief summary:</div><div><br></div><div>Shroud runs over Tor with zero changes to the protocol but *does not* use the Tor hidden service protocol. At a very high level, shroud creates something like a reverse ssh tunnel *over* Tor from a local service to a public proxy. You then point DNS for a domain to the public proxy servers so that internet clients can talk to it. The public proxy servers multiplex TLS connections by inspecting the SNI data and forward the connection through to the appropriate shrouded service over its reverse tunnel.</div><div><br></div><div>Obviously, shroud makes a number of tradeoffs compared to traditional hidden services and Tor2Web, the most important being:</div><div>- Shrouded services have real hostname addresses and look just like any “ordinary” web service.</div><div>- Shrouded services (anecdotally) have better latency characteristics than Tor hidden services</div><div>- Shrouded services provide no anonymity for clients</div><div>- Shrouded services are dependent on their public proxy servers being available</div><div>- Shrouded services rely on DNS and are at the mercy of DNS providers and registrars (excepting things like modifying your /etc/hosts)</div><div>- Public proxies can not inspect or modify the connections they proxy because they are TLS-encrypted with keys they don’t own</div><div><br></div><div>Shroud is still very early in development, so I’m looking for feedback from the community on all aspects of the system from overall architecture to UI. In particular, I have a number of questions that I’m researching that I could use guidance on from those of you already steeped in Tor:</div><div><br></div><div>1. Shrouded services open up a single long-lived connection TLS connection to their public proxy. Is this a risk that could make it easier to de-anonymize a service? Would it be more difficult for an attacker to locate the service if the service opened a new connection over a new circuit every X seconds? Would it be more difficult for an attacker if the shrouded service communicated with the public proxy over multiple connections over multiple circuits simultaneously?</div><div><br></div><div>2. Right now shroud only allows you to tunnel TLS connections on domains you control with the idea that it eases the burden on public proxy operators (namely me). This is kind of akin to having an exit node with a policy that it only allows TLS connections out. Am I worrying too much about the consequences proxying traffic that could be inspected?  Allowing non-TLS services would make it *far* easier to set up a shrouded service because a shrouded service provider would 1. not have to own a domain, and 2. not need to create TLS key pairs and acquire certificates.</div><div><br></div><div>3. Is this a useful system? I feel like tor2web validates that there are use cases that could benefit from this type of asymmetric anonymity where only the service provider is anonymous, but perhaps someone else can indicate whether this is a path worth pursuing.</div><div><br></div><div>Links:</div><div>Source code and documentation: <a href="https://github.com/inconshreveable/shroud">https://github.com/inconshreveable/shroud</a></div><div>More in-depth documentation on shroud’s architecture: <a href="https://github.com/inconshreveable/shroud/blob/master/docs/ARCHITECTURE.md">https://github.com/inconshreveable/shroud/blob/master/docs/ARCHITECTURE.md</a></div><div><br></div><div>Pre-built binaries (just for testing/demonstration):</div><div>Linux: <a href="http://dl.shroud.io/linux_386/dev/shroud.zip">http://dl.shroud.io/linux_386/dev/shroud.zip</a></div><div>OS X: <a href="http://dl.shroud.io/darwin_amd64/dev/shroud.zip">http://dl.shroud.io/darwin_amd64/dev/shroud.zip</a></div><div>Windows: <a href="http://dl.shroud.io/windows_386/dev/shroud.zip">http://dl.shroud.io/windows_386/dev/shroud.zip</a></div><div><br></div><div>Thanks!</div><div><br></div><div>- alan</div></body></html>