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

Yggdrasil compatibility with CJDNS - ie running Yggdrasil only networks #244

Open makew0rld opened 5 years ago

makew0rld commented 5 years ago

I think there should eventually be the ability to run Yggdrasil only networks. This would require making CJDNS installation not mandatory, and providing yggdrasil node addresses in places where CJDNS ones exist, such as for NTP, DNS and IPFS peering.

darkdrgn2k commented 5 years ago

First some one needs to run perminent services on the network.

makew0rld commented 5 years ago

Yes, of course. Are any of your current servers that run some of these services running ygg? Could they at some point? I would also tag @Famicoman because he runs some of the DNS.

benhylau commented 5 years ago

I think the default/basic install should run both. This way the applications on top run on both networks by default. We have too small of a testnet to start partitioning it into two.

makew0rld commented 5 years ago

@benhylau Won't running both by default possibly run into issues I want to investigate in #243? I feel like making both of them the default for installation could mess some things up until we figure out how it will affect applications. And I'm not in favour of partitioning a network or anything, I mostly made this issue because I think it would be a nice thing to support eventually.

darkdrgn2k commented 5 years ago

The applications should be able to resolve this issue by design. Many times there are multiple paths to them (ie have a connection to WiFi AND cell or Ethernet).

Additionally many of the nodes we use are connected to both Hyperbola and the Internet and that does not create any known issues.

darkdrgn2k commented 5 years ago

PS: I encourage you to continue the investigation and see if you can identify any issues. But at present there are no known issues.

makew0rld commented 5 years ago

Ygg IPFS peering now happens in #268.

makew0rld commented 5 years ago

There are several DNS servers on Yggdrasil now, including one from @Famicoman.

makew0rld commented 5 years ago

@ASoTNetworks is running an NTP and DNS server at 200:78e8:5817:319d:9cd4:cab3:93ae:6774.

makew0rld commented 5 years ago

In chat @ASoTNetworks says "Looks good".

darkdrgn2k commented 5 years ago

seperate module?

makew0rld commented 5 years ago

We can now add those services to the stack at least, and make CJDNS a separate module the future possibly.

darkdrgn2k commented 5 years ago

right now both services are a sperate module

because if your not connected to hyperborea they will break the node

same issue will occur with ygg id not peered correctly