{"action":"created","issue":{"url":"https://api.github.com/repos/ipfs/go-ipfs/issues/1118","labels_url":"https://api.github.com/repos/ipfs/go-ipfs/issues/1118/labels{/name}","comments_url":"https://api.github.com/repos/ipfs/go-ipfs/issues/1118/comments","events_url":"https://api.github.com/repos/ipfs/go-ipfs/issues/1118/events","html_url":"https://github.com/ipfs/go-ipfs/issues/1118","id":69986914,"number":1118,"title":"play nice with Tor onion services","user":{"login":"david415","id":50611,"avatar_url":"https://avatars.githubusercontent.com/u/50611?v=3","gravatar_id":"","url":"https://api.github.com/users/david415","html_url":"https://github.com/david415","followers_url":"https://api.github.com/users/david415/followers","following_url":"https://api.github.com/users/david415/following{/other_user}","gists_url":"https://api.github.com/users/david415/gists{/gist_id}","starred_url":"https://api.github.com/users/david415/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/david415/subscriptions","organizations_url":"https://api.github.com/users/david415/orgs","repos_url":"https://api.github.com/users/david415/repos","events_url":"https://api.github.com/users/david415/events{/privacy}","received_events_url":"https://api.github.com/users/david415/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-04-22T00:30:17Z","updated_at":"2015-04-22T18:28:58Z","closed_at":null,"body":"play nice with Tor onion services aka Tor hidden services.\r\n\r\nOnion services provide at least three properties that ipfs users might find useful:\r\n - end to end crypto transport\r\n - enforce that the client must use Tor... to protect their identity\r\n - protect the identity of storage node operators\r\n\r\nThis here is the \"let's auto-detect ALL the user's IP addresses and announce them to the world\" section:\r\n\r\nhttps://github.com/ipfs/go-ipfs/blob/b1adeef85ce0558ca51754a01d6ebaac2ebeeccd/p2p/net/swarm/swarm_net.go#L116-L121\r\n\r\nWe'd like ipfs to have a anonymity mode configuration setting; if enabled this autodetection and announcement would be turned off. The ipfs onion peer operator would enter their \"announcement address\" into the ipfs configuration; in the case of Tor onion services this would include a onion address and port number.\r\n\r\nI think it would also be great if ipfs allowed a heterogeneous configuration such that a node could announce itself as being available via ipv4/6 AND Tor. This of course would deanonymize the node operator but the onion service would still provide the other two properties I previously mentioned above. It is remarkable that Tor Project plans to provide \"direct onion service\" wherein the operator's identity is not protected be the client's is; this is great! This also means that \"direct onion service\" operators would utilize fewer resources on the Tor network.\r\n\r\nWhat do core ipfs devs, core Tor devs and ipfs storage node operators think of this?\r\n"},"comment":{"url":"https://api.github.com/repos/ipfs/go-ipfs/issues/comments/95292955","html_url":"https://github.com/ipfs/go-ipfs/issues/1118#issuecomment-95292955","issue_url":"https://api.github.com/repos/ipfs/go-ipfs/issues/1118","id":95292955,"user":{"login":"aagbsn","id":315010,"avatar_url":"https://avatars.githubusercontent.com/u/315010?v=3","gravatar_id":"","url":"https://api.github.com/users/aagbsn","html_url":"https://github.com/aagbsn","followers_url":"https://api.github.com/users/aagbsn/followers","following_url":"https://api.github.com/users/aagbsn/following{/other_user}","gists_url":"https://api.github.com/users/aagbsn/gists{/gist_id}","starred_url":"https://api.github.com/users/aagbsn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aagbsn/subscriptions","organizations_url":"https://api.github.com/users/aagbsn/orgs","repos_url":"https://api.github.com/users/aagbsn/repos","events_url":"https://api.github.com/users/aagbsn/events{/privacy}","received_events_url":"https://api.github.com/users/aagbsn/received_events","type":"User","site_admin":false},"created_at":"2015-04-22T18:28:58Z","updated_at":"2015-04-22T18:28:58Z","body":"Some Tor developers do use github, though an email to tor-dev@lists.torproject.org would reach more developers. You can view list archives at https://lists.torproject.org, e.g. the Direct Onion Services thread is:\r\nhttps://lists.torproject.org/pipermail/tor-dev/2015-April/008625.html"}}