specs updated

"jrandom" <auto97841-revL73yDgGBWk0Htik3J/[email protected]> Thu, 18 Sep 2003 04:31:34 -0700
Newsgroups gmane.comp.security.invisiblenet.iip.devel
Message-ID <[email protected]>
'lo y'all

I2NP and the common data structures specs have been updated and committed
as 0.9.1, reflecting the updates I've been making while implementing
the java router.  The code in the SDK itself hasn't changed as these
are all I2NP structure mods.  

nop> if we could get i2p_network_spec.pdf and datastructures.pdf up on
the web (as http://.../i2p/I2NP_spec.pdf and datastructures.pdf, respectively),
 that'd rule.  Also, if they could replace the PDFs in the zip that'd
be great.

Changes are as follows:

* datastructures p7, RouterSighting - if the structure hasn't been signed
yet, fill in the signature with 40 bytes of zeros.
---------------------------
* datastructures p11, TunnelSigningPublic/PrivateKey should contain SIGNING
Public/Private keys
---------------------------
* datastructures p12, GarlicClove - how is the SourceRouteBlock included
or not?  
 - add a 1 byte Integer after the Certificate that if:
   value = 0, no source route block,
   value = 1, source route block for a DeliveryStatusMessage, 
   value = 2, source route block for message specific replies
---------------------------
* datastructures p12, SourceRouteBlock - how is it encrypted?  
 - ElG+AES
 - add expiration date to the encrypted area
 - include a session key and a session tag for the replier to use
---------------------------
* i2np p3, "along with verifying information to assure that the data
is altered along the way." change that to "isn't altered along the way"
(thanks ChZEROhag)
---------------------------
* i2np p13, DatabasePing - remove this message type.  Unnecessary
---------------------------
* i2np p14, DatabaseLookupReply - never reply with actual value (actual
value is returned with DatabaseStore).  therefore, the structure contains
key, 1 byte Integer # routerInfo structures, then that many RouterInfo
structures, followed by the Hash of the replying RouterIdentity.  Also,
 rename this message to DatabaseSearchReply since its used for both DatabaseLookup
and DatabaseFindNearest
---------------------------
* i2np p14, DatabaseFindNearestReply - remove this message: it is equivilant
to the DatabaseLookupReply modified as above
---------------------------
* i2np p15, TunnelCreateStatus - add hash of the replying RouterIdentity.
also, specify value = 100 for deleted
---------------------------
* i2np p16, TunnelMessage - 1 byte Integer after the payload: if 0, TunnelVerificationStructure,
 else no more data.
---------------------------
* i2np p17, GarlicMessage - encrypted: 4 byte Integer # bytes, then that
many bytes. Also, the contents should not include the 2 byte # session
tags or following SessionTags, as those are included as part of the ElGamal+AES
algorithm
---------------------------
* i2np p17, SourceRouteReplyMessage - add this.
 data: 
   E({deliveryInstructions, msgId, expiration, certificate}, viaRouterIdentPubKey)
w/ ElG+AES,
   I2NPMessage
If the I2NPMessage is a GarlicMessage, it is encrypted with ElG+AES 
scenario 2 using the SessionKey and SessionTag included in the SourceRouteBlock.
 




Concerned about your privacy? Follow this link to get
FREE encrypted email: https://www.hushmail.com/?l=2

Free, ultra-private instant messaging with Hush Messenger
https://www.hushmail.com/services.php?subloc=messenger&l=434

Promote security and make money with the Hushmail Affiliate Program: 
https://www.hushmail.com/about.php?subloc=affiliate&l=427
_______________________________________________
iip-dev mailing list
[email protected]
http://lists.invisiblenet.net/mailman/listinfo/iip-dev