Mycelium network support#2245
Conversation
i2pd was initially designed to support multiple mesh network Yes you need to rewrite it in many places, that's why it's not worth to do. A lot of work with tiny or no result. |
|
Yes, I'm worried that touching anything beyond the address range rule could damage the stability of the router. Maybe return to this subject later, as learning I2P for few days, this task seems harder than expected. |
|
If I was you I would start from a reseed server in the mycelium network. It's easy and doesn't require many changes. |
|
I'm running this one:
but I don't know how to collect the DB if my router running Yggdrasil-only mode. |
But I meant to implement the code in Reseed.cpp to support mycelium reseeds if you have a local interface with it. |
This is just the initial commit that implements the Mycelium network condition, which is quite similar to Yggdrasil but operates in the
0400::/7range:https://github.com/threefoldtech/mycelium
I have a few questions:
opensslbranch the correct one to fork the upstream?UPD. While working on the second part, I found only one issue related to supporting multiple mesh networks: the router uses a single registry called
eNTCP2V6MeshIdx. It might make sense to rename Yggdrasil members to "Mesh" or to separate the indexes into different stacks. Configuration options would depend on this implementation, as there are too many potential networks possible to make the router extensible without increasing the codebase.