Changes
no edit summary
* Install various dependencies.
** On CentOS 6, you'll need to <code>yum -y install libffi libffi-devel python-devel openssl-devel</code>
* Get the latest version of Tahoe-LAFS. Until [[User:Mjh|mhazinsk's]] patch for To use it with Torsocks 2.x gets merged, clone it from you must use [https://github.com/matthazinskitahoe-lafs/tahoe-lafs his githubthe latest version from their Github] containing [[User:Mjh|mhazinsk]]'s patch.
* Create a hidden service by editing the <code>torrc</code> file, usually found at <code>/etc/tor/torrc</code>. Add the following:
HiddenServiceDir /var/lib/tor/tahoe_storage/
=== Tahoe daemonized and then terminated immediately ===
This can be caused by several factors when running with torsocks.
* You're trying to bind to an IP other than localhost and torsocks blocked this** For the introducer '''only''', it doesn't appear to be possible to restrict the interfaces it binds to. Instead, modify <code>/etc/tor/torsocks.conf</code> and add <code>AllowInbound 1</code>. Then use iptables to deny inbound connections to non-localhost on that port.** For all other nodes (including storage nodes), modify Ensure the tub.port or and web.port lines in tahoeare set to restrict traffic to localhost.cfg* Tahoe is attempting to establish a UDP connection to identify its local IP address. Torsocks restricts UDP connections, causing Tahoe to throw exceptions and terminate. Use Ensure you are using the [https://github.com/matthazinskitahoe-lafs/tahoe-lafs mhazinsk's forklatest trunk version] until this is merged upstreamrather than the version supplied by your OS.
=== Can't connect to introducer ===
* Ensure tor is running and that Tahoe is started through torify.
* Ensure the <code>introducer.furl</code> parameter is not enclosed with quotes in <code>tahoe.cfg</code>. For some reason this has caused connection issuesfor me.
==FAQs==
Technical documentation on tahoe Tahoe can be found at on its website. However, for the prospective user, here's a simple explanation in Q&A format:
===What does it do?===