SSU: IPv6 Peer Testing updates

This commit is contained in:
zzz
2016-06-29 16:22:35 +00:00
parent 47c572745d
commit 5a80a92526
3 changed files with 33 additions and 8 deletions

View File

@@ -3,8 +3,8 @@ SSU Protocol Specification
==========================
.. meta::
:category: Transports
:lastupdated: May 2016
:accuratefor: 0.9.26
:lastupdated: June 2016
:accuratefor: 0.9.27
.. contents::
@@ -1074,6 +1074,11 @@ Notes
and Alice-Bob and Alice-Charlie communication may be via IPv6.
See Proposal 126 for details.
Alice sends the request to Bob using an existing session over the transport (IPv4 or IPv6) that she wishes to test.
When Bob receives a request from Alice via IPv4, Bob must select a Charlie that advertises an IPv4 address.
When Bob receives a request from Alice via IPv6, Bob must select a Charlie that advertises an IPv6 address.
The actual Bob-Charlie communication may be via IPv4 or IPv6 (i.e., independent of Alice's address type).
* A peer must maintain a table of active test states (nonces). On reception of
a PeerTest message, look up the nonce in the table. If found, it's an
existing test and you know your role (Alice, Bob, or Charlie). Otherwise, if