tomeshnet / prototype-cjdns-pi

Prototype system for mesh networks on single board computers
https://chat.tomesh.net/#/room/#software:tomesh.net
GNU General Public License v3.0
218 stars 42 forks source link

Update to latest IPFS version - changes and testing needed #485

Closed makew0rld closed 1 year ago

makew0rld commented 4 years ago

Discussed in chat here.

I asked some questions about issues I think we'd encounter in ipfs/go-ipfs#7109, starting here.

makew0rld commented 4 years ago

I made a feature request that will enable nodes connected to the Internet and CJDNS to talk to CJDNS-only nodes: ipfs/go-ipfs#7168.

makew0rld commented 4 years ago

I've made a feature request concerning nodes connected to Yggdrasil as well, which poses a different problem: ipfs/go-ipfs#7169

makew0rld commented 4 years ago

If they're direct routes, then we should consider them as LAN nodes for the purpose of the DHT, and things should crossed_fingers work out. https://github.com/libp2p/go-libp2p-kad-dht/blob/master/dht_filters.go#L142-L150 -- willscott

This applies Yggdrasil direct peers, and it definitely something we should test and verify. Also, what would happen to the connections that aren't direct, like two-hop peers, etc?

makew0rld commented 4 years ago

v0.5.0 was released today, which supports only 2000::/3 being part of the IPv6 WAN. This solves any Yggdrasil issues.

I think we should upgrade, but disabling AutoNAT just in case. The main issue to be aware of is that nodes that are connected to the internet and the mesh will not be able to share files with the mesh. That is being tracked in ipfs/go-ipfs#7168.

makew0rld commented 4 years ago

IPFS v0.5.1 and v0.6.0 have been out for a while. These changes should be looked at as well.

makew0rld commented 3 years ago

IPFS v0.7 was released today. The default multihash encoding has changed (Starts with Qm instead of k51) but that doesn't seem to be expected/hardcoded anywhere so it should be fine.