From dff21314ba98a50df6b6843f0104c8d38c98f596 Mon Sep 17 00:00:00 2001 From: zzz Date: Thu, 21 Nov 2013 22:24:42 +0000 Subject: [PATCH] I2CP SessionConfig clarifications --- www.i2p2/pages/common_structures_spec.html | 5 +++- www.i2p2/pages/i2cp_spec.html | 33 ++++++++++++++++------ 2 files changed, 28 insertions(+), 10 deletions(-) diff --git a/www.i2p2/pages/common_structures_spec.html b/www.i2p2/pages/common_structures_spec.html index 6e07d4a0..16445ed7 100644 --- a/www.i2p2/pages/common_structures_spec.html +++ b/www.i2p2/pages/common_structures_spec.html @@ -1,7 +1,7 @@ {% extends "_layout.html" %} {% block title %}Common structure Specification{% endblock %} {% block content %} -Updated June 2013, current as of router version 0.9.6 +Updated November 2013, current as of router version 0.9.9

Data types Specification

This document describes some data types common to all I2P protocols, like @@ -262,6 +262,9 @@ UTF-8 strings in a RouterInfo options mapping in a I2NP Database Store Message w Mappings contained in I2NP messages (i.e. in a RouterAddress or RouterInfo) must be sorted by key so that the signature will be invariant.

  • +Mappings contained in an I2CP SessionConfig +must be sorted by key so that the signature will be invariant. +
  • Key and value string length limits are 255 bytes (not characters) each, plus the length byte. Length byte may be 0.
  • Total length limit is 65535 bytes, plus the 2 byte size field, or 65537 total. diff --git a/www.i2p2/pages/i2cp_spec.html b/www.i2p2/pages/i2cp_spec.html index c887dcba..e976365a 100644 --- a/www.i2p2/pages/i2cp_spec.html +++ b/www.i2p2/pages/i2cp_spec.html @@ -234,11 +234,16 @@ DSA Signature of the previou
  • Notes

    -

    +

    @@ -511,11 +516,16 @@ The router responds with a Session Status Message

    Notes

    -

    -The second message sent by the client after sending the Get Date Message and receiving the Set Date Message response. -If the Date in the Session Config is too far from the router's current time, the session will be rejected. +

    @@ -841,9 +851,14 @@ The router responds with a Session Status Message

    Notes

    -

    +