Decentralized node on Librem 5? ipfs.io DHT blockchain intégration

I would love to see native support for decentralized technologies. Not only on computer (relatively easy) but also on mobile.

I would especially love if Librem 5 was natively an ipfs node or whatever equivalent decentralized technologies (DHT based + Blockchain: like Internet of People).

Any plan for that ?

3 Likes

Noob question : does it require IPv6?

Not an expert (I’m evaluating these tech) but as far as I understand, IPv4 is enough. Actually ipfs is transport agnostic. See here (https://github.com/wking/ipfs-specs/blob/master/protocol/network/README.md#Transport-Agnostic).

To me the main difficulty is the DHT (Merkle tree) which seems quite demanding.

Also feature N1 to me for having decentralized communication is enforcing P2P communication (Device to Device communication). I dream of a system where direct connection would be the default mode (1) straight P2P, then 2) opportunistic meshed network then 3) LAN and WAN (internet)).

Most of the time direct connection is enough (MPC for iOS or wifi direct for Android). I see lots of advantages (privacy but also better network usage and far berger resilience !!!).
If librem dev enforce this, that would be a killer phone. And I’ll be finally out of Apple ecosystem :blush:

1 Like

Transport-wise it is protocol agnostic, ok.
But in order to host a node, do you need a global IPv6 address rather than a local IPv4 one hidden behind NATs and CGNs?
I read lately that p2p protocols were greatly harmed by dying IPv4, which is indeed wasting a lot of energy on the network.

Edit : ah just saw that, gotta figure it out now :slight_smile:
Edit 2 : so ipfs relies on WebRTC for example, which can accomodate IPV4 and NATs.
Edit 3 : this is nuts… as per RFC linked above, TURN which works around NATs uses rendezvous protocol, so you end up on your IPv4 “peer-to-peer” connection with : host - NAT - CGN - RELAY - CGN - NAT - destination. 4 entities modifying your packet headers… lets adopt IPv6 fast right :slight_smile:
I got my answer, (stop spamming), and hope ull get the answer to your question!

3 Likes

you’re not spamming, that’s interesting… :wink:

Yeah lets adopt IPv6 … but it’s long… and this is sad as there is a crying need for it (especially considering “smart objects”).

But anyway, my point is I’d love to have direct (or meshed) P2P capability + a very fine control on incoming connections.
iOS MPC is cool in that respect, but limited to 10 devices simultaneously … and of course to Apple ecosystem…

This is why I see librem as a potentially perfect application vehicle where we can have very fine control on everything.

2 Likes