Opened at 2008-09-18T20:52:23Z
Last modified at 2016-10-25T16:03:44Z
#517 closed enhancement
make tahoe Tor- and I2P-friendly — at Version 14
Reported by: | warner | Owned by: | ioerror |
---|---|---|---|
Priority: | minor | Milestone: | 1.12.0 |
Component: | code-network | Version: | 1.2.0 |
Keywords: | privacy anonymity anti-censorship i2p tor-protocol usability | Cc: | dawuud, leif@… |
Launchpad Bug: |
Description (last modified by zooko)
Jake Appelbaum and I were talking at the last hackfest about what it would take to run Tahoe safely through the Tor (anonymizing onion-router) proxy.
I figured it wouldn't take much: just removing the automatically-added local IP addresses from the advertised FURLs. You'd treat the tubid as a pseudonym (i.e. never run this node without Tor). Listeners would be a complete loss (that is, other nodes would not be able to establish connections to yours, until 1: we get SOCKS4A client-side support into Twisted, 2: make sure Foolscap can use .onion names in connection hints, and 3: add a Foolscap Listener that establishes itself on a Tor hidden-service port).
But beyond that, it should just be a question of running Tahoe under 'tsocks', so that all of its outbound connections go through the socks proxy and then through Tor to the other servers.
So the task for this ticket: provide a configuration knob to override the default "find all my IP addresses and add them to the connection hints (via Tub.setLocation)" behavior, and instead provide a hard-coded list of hints instead.
Change History (14)
comment:1 Changed at 2008-09-18T22:38:19Z by warner
- Description modified (diff)
comment:2 Changed at 2008-11-13T00:49:47Z by warner
9976bd439ac50be5 adds "tub.location" to tahoe.cfg . I haven't tested it at all, but I think this ought to handle the main issue. I think all that's left is for someone Tor-knowledgeable to test it out and write up a short guide on running tahoe under tsocks.
comment:3 Changed at 2009-07-28T23:16:57Z by zooko
- Keywords easy added
comment:4 Changed at 2010-02-10T04:21:46Z by zooko
To close this ticket write up documentation of how to use Tahoe-LAFS with Tor. Also use Tahoe-LAFS with Tor and make sure that it works. :-)
comment:5 Changed at 2010-02-10T04:21:57Z by zooko
- Keywords privacy added
comment:6 Changed at 2010-03-05T01:32:26Z by zooko
See the docs about tub.location in configuration.txt.
comment:7 Changed at 2010-03-05T05:10:32Z by ioerror
Should the Tor documentation show how to run Tahoe transparently? Should it be for a Tahoe storage node? For a Tahoe client connecting to the test grid?
What would be useful?
comment:8 Changed at 2010-03-05T08:26:21Z by ioerror
It seems like we have a few possible interesting use cases:
- Tahoe as a client to any grid where all connections leave the Tor network
- Tahoe storage nodes that advertise their address as their respective .onion address
- All outgoing TCP connections from the storage node must only connect through Tor
- The storage node should not leak it's own known IP
- A full Tahoe grid that is only available over Tor
- The introducer should reject listing all peers that aren't .onions
- All nodes should be reachable as .onions (thus we solve the NAT problem)
- It's super slow and everyone loves the idea but the practice is full of shame
I think that 1 is currently possible with tsocks and a functional Tor client. 2 seems to be easy enough to do with the tub.location patch and iptables wizardry. 3 seems likely best solved with transparent Tor proxying and manual tub.location stuffing.
As a side note, it's probably the case that Tahoe should weight reconstruction and not use blocks from .onions as their first choice for streaming data.
Is there anything else that's missing? What other ways should we use Tor and Tahoe together?
comment:9 Changed at 2010-03-05T12:33:44Z by sid77
Maybe an initial setup could be a tahoe running machine transparent proxied through Tor, just to see if it work.
comment:10 Changed at 2010-03-06T02:56:09Z by zooko
- Owner set to ioerror
comment:11 Changed at 2010-10-23T00:49:35Z by davidsarah
- Keywords anonymity added; tor removed
- Summary changed from make tahoe Tor-friendly to make tahoe Tor- and I2P-friendly
comment:12 Changed at 2010-12-16T01:25:01Z by davidsarah
- Keywords anti-censorship added
comment:13 Changed at 2013-04-19T20:13:58Z by leif
comment:14 Changed at 2014-01-14T17:54:01Z by zooko
- Description modified (diff)
- Keywords i2p tor added
fixed misspelling of Jake's name.. oops.