ipfs / ipfs-desktop

An unobtrusive and user-friendly desktop application for IPFS on Windows, Mac and Linux.
https://docs.ipfs.tech/install/ipfs-desktop/
MIT License
5.96k stars 861 forks source link

Add Proxy Support #958

Open ghbjklhv opened 5 years ago

ghbjklhv commented 5 years ago

Feature: Add Proxy Support Why?: Adding proxy support may enable users to route connections through another server to provide better anonymity. Plus, it would enable users to utilize IPFS with TOR.


Want to support this issue? Post a bounty on it! We accept bounties via BountySource.

Bountysource

lidel commented 3 years ago

Blocked: support for proxying p2p connections need to land in go-ipfs first, then we can add UI in Desktop app.

cyqsimon commented 1 year ago

I'm probably completely wrong here, but I think the curl environment variables are respected (at least for some types of connections). Try setting http_proxy, https_proxy, and/or ALL_PROXY.

SgtPooki commented 11 months ago

@lidel any update on this one from the Kubo/Boxo/Libp2p side?

lidel commented 11 months ago

libp2p and Kubo support limited relays (https://github.com/ipfs/kubo/blob/master/docs/config.md#swarmrelayclient) but there is no such thing like "libp2p over (http? socks?) proxy".

even if ot existed, TOR socks proxy will not magically give privacy / anonymity to IPFS Desktop. libp2p in Kubo will leak IPs and PeerID, and local cache can be used for fingerprinting and tracking even with TOR.

Doing it safely requires deeper rearchitecture of networking and content management.

if someone wants to use ipfs over Tor, they should access trustless gateway over http over tor. ipfs desktop is not the tool for the job.

I think this should be closed unless more details about use case are provided.