diff --git a/www.i2p2/pages/common_structures_spec.html b/www.i2p2/pages/common_structures_spec.html index 498fe775..64795613 100644 --- a/www.i2p2/pages/common_structures_spec.html +++ b/www.i2p2/pages/common_structures_spec.html @@ -54,7 +54,8 @@ Deprecated - unused

PublicKey

Description

- This structure is used in ElGamal encryption, representing only the exponent, not the primes, which are constant and defined in the appropriate spec. + This structure is used in ElGamal encryption, representing only the exponent, not the primes, which are constant and defined in + the cryptography specification.

Contents

@@ -66,7 +67,8 @@ Deprecated - unused

PrivateKey

Description

- This structure is used in ElGamal decryption, representing only the exponent, not the primes which are constant and defined in the appropriate spec. + This structure is used in ElGamal decryption, representing only the exponent, not the primes which are constant and defined in + the cryptography specification.

Contents

@@ -150,7 +152,7 @@ Deprecated - unused

TunnelId

Description

- Defines an identifier that is unique within a particular set of routers for a tunnel. + Defines an identifier that is unique to each router in a tunnel.

Contents

@@ -191,6 +193,19 @@ payload :: data {% endfilter %} +

Notes

+ +

Javadoc

@@ -456,7 +471,7 @@ end_date :: Date +----+----+----+----+----+----+----+----+ destination :: Destination - length -> >= 397 bytes + length -> >= 387 bytes encryption_key :: PublicKey length -> 256 bytes @@ -466,6 +481,7 @@ signing_key :: SigningPublicKey num :: Integer length -> 1 byte + value: 0 <= num <= 6 leases :: [Lease] length -> >= $num*399 bytes diff --git a/www.i2p2/pages/how.html b/www.i2p2/pages/how.html index 790383d7..6251c97b 100644 --- a/www.i2p2/pages/how.html +++ b/www.i2p2/pages/how.html @@ -118,10 +118,10 @@ I2P is a message-oriented router. The messages sent between routers are defined Selecting peers, requesting tunnels through those peers, and encrypting and routing messages through these tunnels.

Developer's Guides

@@ -163,6 +165,10 @@ Time synchronization and NTP New Translator's Guide
  • Monotone Guide +
  • +Javadocs +
  • +To Do List
  • diff --git a/www.i2p2/pages/how_cryptography.html b/www.i2p2/pages/how_cryptography.html index 1478ce12..93e63f82 100644 --- a/www.i2p2/pages/how_cryptography.html +++ b/www.i2p2/pages/how_cryptography.html @@ -26,12 +26,17 @@ block is formatted (in network byte order):

    - |_______1_______2_______3_______4_______5_______6_______7_______8
    - |nonzero|H(data)
    - |
    - |
    - |
    - |       | data     ...  |
    +   +----+----+----+----+----+----+----+----+
    +   |nonz|           H(data)                |
    +   +----+                                  +
    +   |                                       |
    +   +                                       +
    +   |                                       |
    +   +                                       +
    +   |                                       |
    +   +    +----+----+----+----+----+----+----+
    +   |    |  data...
    +   +----+----+----+--//                   
     
     

    @@ -266,11 +271,12 @@ It may be quite difficult to make any change backward-compatible.

    Transports

    -At the lowest -level, inter-router communication is protected by the transport layer security. +At the lowest protocol layer, +point-to-point inter-router communication is protected by the transport layer security. Both transports use 256 byte (2048 bit) Diffie-Hellman key exchange using -the same shared prime and generator as specified above for ElGamal. +the same shared prime and generator as specified above for ElGamal, +followed by symmetric AES encryption as described above.

    NTCP connections

    @@ -305,7 +311,7 @@ checking. See the SSU specification for details. -

    References

    +

    References

    +{% endblock %} diff --git a/www.i2p2/pages/i2np_spec.html b/www.i2p2/pages/i2np_spec.html index 9c104272..94fc51c7 100644 --- a/www.i2p2/pages/i2np_spec.html +++ b/www.i2p2/pages/i2np_spec.html @@ -197,7 +197,7 @@ total length: 222 encrypted: -toPeer :: Hash +toPeer :: First 16 bytes of the SHA-256 Hash of the peer's router identity length -> 16 bytes encrypted_data :: ElGamal-2048 encrypted data diff --git a/www.i2p2/pages/ntcp.html b/www.i2p2/pages/ntcp.html index 3552589c..bdb2b630 100644 --- a/www.i2p2/pages/ntcp.html +++ b/www.i2p2/pages/ntcp.html @@ -184,7 +184,7 @@ Unencrypted Contents: Y: 256 byte Y from Diffie Hellman - HXY: SHA256 Hash(X concatentated with Y) + HXY: SHA256 Hash(X concatenated with Y) (32 bytes) tsB: 4 byte timestamp (seconds since the epoch) diff --git a/www.i2p2/pages/tunnel-alt.html b/www.i2p2/pages/tunnel-alt.html index 2581d66c..80f99aba 100644 --- a/www.i2p2/pages/tunnel-alt.html +++ b/www.i2p2/pages/tunnel-alt.html @@ -48,6 +48,11 @@ the core I2P layer, there is an optional end to end streaming library available for client applications, exposing TCP-esque operation, including message reordering, retransmission, congestion control, etc.

    +

    +An overview of I2P terminology is +on the tunnel overview page. +

    +

    2) Tunnel operation

    Tunnel operation has four distinct processes, taken on by various @@ -72,7 +77,7 @@ peers, each hop's tunnel ID will change.

    A tunnel gateway's function is to fragment and pack I2NP messages into fixed-size -tunnel messages +tunnel messages and encrypt the tunnel messages. Tunnel messages contain the following: @@ -87,7 +92,7 @@ Tunnel messages contain the following:

    Details are in the -tunnel message specification. +tunnel message specification. @@ -286,9 +291,9 @@ lengths should be randomized, as well as any of the other settings allowed when configuring individual tunnels. Configuration options are specified on the I2CP page. -

    Default Tunnel Lengths

    +

    Tunnel Lengths and Defaults

    -TODO +On the tunnel overview page.

    Anticipatory Build Strategy and Priority