diff options
author | Martin Schanzenbach <schanzen@gnunet.org> | 2022-12-26 11:00:08 +0900 |
---|---|---|
committer | Martin Schanzenbach <schanzen@gnunet.org> | 2022-12-26 11:00:08 +0900 |
commit | 3a2ed928c57940dd07a4cf6aae59d54af9b59fc8 (patch) | |
tree | 8f7c096aee5900432acaf98c34c2ff17f6af13ac | |
parent | 75a3164358a2c5b36abd319ddf22fcdeaad864af (diff) | |
download | lsd0004-3a2ed928c57940dd07a4cf6aae59d54af9b59fc8.tar.gz lsd0004-3a2ed928c57940dd07a4cf6aae59d54af9b59fc8.zip |
HelloMessage processing the connection establishment clarification.
-rw-r--r-- | draft-schanzen-r5n.xml | 21 |
1 files changed, 9 insertions, 12 deletions
diff --git a/draft-schanzen-r5n.xml b/draft-schanzen-r5n.xml index 2e1bf76..0024d8e 100644 --- a/draft-schanzen-r5n.xml +++ b/draft-schanzen-r5n.xml | |||
@@ -1307,7 +1307,11 @@ BEGIN | |||
1307 | <section anchor="p2p_hello_processing"> | 1307 | <section anchor="p2p_hello_processing"> |
1308 | <name>Processing</name> | 1308 | <name>Processing</name> |
1309 | <t> | 1309 | <t> |
1310 | Upon receiving a <tt>HelloMessage</tt> from a peer <tt>P</tt> | 1310 | If the initiator of a <tt>HelloMessage</tt> is <tt>SELF</tt>, the message |
1311 | is simply sent to all neighbors <tt>P</tt> currently in the routing table | ||
1312 | using <tt>SEND</tt>. | ||
1313 | <t> | ||
1314 | Otherwise, upon receiving a <tt>HelloMessage</tt> from a peer <tt>P</tt> | ||
1311 | an implementation <bcp14>MUST</bcp14> process it step by step as follows: | 1315 | an implementation <bcp14>MUST</bcp14> process it step by step as follows: |
1312 | </t> | 1316 | </t> |
1313 | <ol> | 1317 | <ol> |
@@ -1325,21 +1329,14 @@ BEGIN | |||
1325 | <!-- FIXME same problem as for <tt>HELLO</tt> blocks: We do not need to TRY_CONNECT here because we already have | 1329 | <!-- FIXME same problem as for <tt>HELLO</tt> blocks: We do not need to TRY_CONNECT here because we already have |
1326 | a connection, obviously. But we may want to TRY_CONNECT on the new addresses? Adding for now --> | 1330 | a connection, obviously. But we may want to TRY_CONNECT on the new addresses? Adding for now --> |
1327 | The implementation <bcp14>MAY</bcp14> instruct the Underlay to connect to all now available addresses | 1331 | The implementation <bcp14>MAY</bcp14> instruct the Underlay to connect to all now available addresses |
1328 | using <tt>TRY_CONNECT</tt> in order to make the underlay aware of alternative addresses for this connection. | 1332 | using <tt>TRY_CONNECT</tt> in order to make the underlay aware of alternative addresses for this connection and |
1333 | to maintain optimal connectivity. | ||
1329 | </li> | 1334 | </li> |
1330 | <li> | 1335 | <li> |
1331 | <!-- We need a statement like this here. Should they? Can they? What if they are (not)? --> | 1336 | <!-- FIXME: We need a statement like this here. Should they? Can they? What if they are (not)? --> |
1332 | <tt>HelloMessages</tt> <bcp14>SHOULD NOT</bcp14> be forwarded. | 1337 | Received <tt>HelloMessages</tt> <bcp14>MUST NOT</bcp14> be forwarded. |
1333 | </li> | 1338 | </li> |
1334 | </ol> | 1339 | </ol> |
1335 | <t> | ||
1336 | <!-- FIXME: How? What function of the underlay? The underlay also already knows so... | ||
1337 | what is the point? --> | ||
1338 | The address information about P should then also be made | ||
1339 | available to each respective Underlays to enable the | ||
1340 | Underlay to maintain optimal connectivity to the | ||
1341 | neighbor. | ||
1342 | </t> | ||
1343 | </section> | 1340 | </section> |
1344 | </section> | 1341 | </section> |
1345 | <section anchor="p2p_put" numbered="true" toc="default"> | 1342 | <section anchor="p2p_put" numbered="true" toc="default"> |