]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Document remaining cases for protocol support
authorNick Mathewson <nickm@torproject.org>
Wed, 31 Jan 2018 18:50:04 +0000 (13:50 -0500)
committerNick Mathewson <nickm@torproject.org>
Wed, 31 Jan 2018 18:50:04 +0000 (13:50 -0500)
For each support flag, document which subprotocol version it requires.

src/or/or.h

index 2ef27a99a0ef03d696306279845e30811bf6029d..5b062349e704b695ae02f3f74c8aa8a8637b6752 100644 (file)
@@ -2204,15 +2204,17 @@ typedef struct protover_summary_flags_t {
   unsigned int protocols_known:1;
 
   /** True iff this router has a version or protocol list that allows it to
-   * accept EXTEND2 cells */
+   * accept EXTEND2 cells. This requires Relay=2. */
   unsigned int supports_extend2_cells:1;
 
   /** True iff this router has a protocol list that allows it to negotiate
-   * ed25519 identity keys on a link handshake with us. */
+   * ed25519 identity keys on a link handshake with us. This
+   * requires LinkAuth=3. */
   unsigned int supports_ed25519_link_handshake_compat:1;
 
   /** True iff this router has a protocol list that allows it to negotiate
-   * ed25519 identity keys on a link handshake, at all. */
+   * ed25519 identity keys on a link handshake, at all. This requires some
+   * LinkAuth=X for X >= 3. */
   unsigned int supports_ed25519_link_handshake_any:1;
 
   /** True iff this router has a protocol list that allows it to be an