Mesh-P2P / Mesh

A P2P standard based on the fact that your contacts likely share at least some of yours
GNU General Public License v3.0
0 stars 0 forks source link

[Project] Onion routing #6

Open Aras14HD opened 3 years ago

Aras14HD commented 3 years ago

Existing Onion routing services have many drawbacks: Tor relies on relatively few publicly known servers, I2P takes a long time to build connections.

The Onion routing would happen in two steps:

  1. Random selection of layer nodes
  2. Layer creation

The node selection process would happen via a Mesh message that is either answered or forwarded to a random compatible contact. The response would include the UUID and public key of that node.

The Layers would be established through a DiffieHellman (or ECDH) key exchange via already established nodes. The first node would be directly connected to then the first layer would be established. The UUID and public key of the next node would then be sent to the current. It would then connect to that node, after which its layer would be established. This would continue to the last node to which is then treated as a contact.

Aras14HD commented 2 years ago

Instead of a custom solution, it might make sense to base it off Tor and make it compatible with the main version. The differences would be in the following areas: