info_tfgrid/collections/tech/primitives/network/mycelium.md
2024-05-08 16:12:17 -04:00

3.6 KiB
Raw Blame History

Mycelium: Our Planetary Network

The planetary network called Mycelium is an overlay network which lives on top of the existing Internet or other peer-to-peer networks created.

In the Mycelium network, everyone is connected to everyone. End-to-end encryption between users of an app and the app runs behind the network wall.

Each user end network point is strongly authenticated and uniquely identified, independent of the network carrier used. There is no need for a centralized firewall or VPN solutions, as there is a circle-based networking security in place.

Key Benefits

  • It finds shortest possible paths between peers
  • There is full security through end-to-end encrypted messaging
  • It allows for peer-to-peer links, like meshed wireless
  • It can survive broken Internet links and re-route when needed
  • It resolves the shortage of IPV4 addresses

Whereas current computer networks depend heavily on very centralized design and configuration, this networking concept breaks this mold by making use of a global-spanning tree to form a scalable IPv6 encrypted mesh network. This is a peer-to-peer implementation of a networking protocol.

The following table illustrates the high-level differences between traditional networks like today's Internet, and the Planetary Network created by ThreeFold:

Characteristic Traditional Mycelium
End-to-end encryption for all traffic across the network No Yes
Decentralized routing information shared using a DHT No Yes
Cryptographically-bound IPv6 addresses No Yes
Node is aware of its relative location to other nodes No Yes
IPv6 address remains with the device even if moved No Yes
Topology extends gracefully across different mediums, i.e. mesh No Yes

What are the problems solved here?

The Internet as we know it today doesnt conform to a well-defined topology. This has largely happened over time - as the Internet has grown, more and more networks have been “bolted together." The lack of defined topology gives us some unavoidable problems:

  • The routing tables that hold a “map” of the Internet are huge and inefficient
  • There isnt really any way for a computer to know where it is located on the Internet relative to anything else
  • It is difficult to examine where a packet will go on its journey, from source to destination, without actually sending it
  • It is very difficult to install reliable networks into locations that change often or are non-static, i.e. wireless mesh networks

These problems have been partially mitigated (but not really solved) through centralization - rather than your computers at home holding a copy of the global routing table, your ISP does it for you. Your computers and network devices are configured just to “send it upstream” and to let your ISP decide where it goes from there, but this does leave you entirely at the mercy of your ISP, who can redirect your traffic anywhere they like and to inspect, manipulate, or intercept it.

In addition, wireless meshing requires you to know a lot about the network around you, which would not typically be the case when you have outsourced this knowledge to your ISP. Many existing wireless mesh routing schemes are not scalable or efficient, and do not bridge well with existing networks.