-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Direct connections between 6bed4peers #12
Comments
This used to be about |
Direct peering can be greatly simplified if we don't test that a reply message matches one we sent directly. ICMPv6 can do this, and tricks with TCP semantics improve it further. But...
...so it suffices if a peer simply sends a notification that it has received some message from us directly. This can crossover between kinds of messages, so sends and receives do not have to be paired. And we do not need to compare identities and thus avoid sending two ways. The remaining information is just one bit, and can be an easy stowaway in one of the fixed headers: IPv4, UDP, or IPv6. Specifically, the IPv6 frame always begins with a nibble WHOA.... This simplifies life and now it is fair to make direct messaging a MUST have in the spec. Also, compatibility improves greatly. |
Every We can operate in three modes:
These modes can communicate are compatible, so the choice can be made locally. This is helpful to represent personal preferences, personal network setups and different code (networking over a generic interface or dedicated code that is part of an application). |
The practice of Neighbor Discovery between peers continues to be a useful idea. It supports the transmission of traffic for no other reason than to communicate between peers. The flag |
Here is an interesting little protocol:
|
The p2p functionality is currently only for one prefix, but we can extend that now, after the prefix orientation and implementation.
The routes are not available in such a crossover mode, but that is not an issue; we are talking of connections to remote peers that use an address that we recognise as being specific to 6bed4, and that we can route directly.
Although
fc64::/16
is a locally defined prefix, it should only arrive in our bubble when it is meaningful to us, and so, if it is a 6bed4 prefix. Note that this assumes that no other local nodes will use the prefix. In a realm where 6bed4 is used, IPv6 can probably be assumed to be not too extravagent indeed.The text was updated successfully, but these errors were encountered: