* 2005-07-27 0.6 released

2005-07-27  jrandom
    * Enabled SSU as the default top priority transport, adjusting the
      config.jsp page accordingly.
    * Add verification fields to the SSU and TCP connection negotiation (not
      compatible with previous builds)
    * Enable the backwards incompatible tunnel crypto change as documented in
      tunnel-alt.html (have each hop encrypt the received IV before using it,
      then encrypt it again before sending it on)
    * Disable the I2CP encryption, leaving in place the end to end garlic
      encryption (another backwards incompatible change)
    * Adjust the protocol versions on the TCP and SSU transports so that they
      won't talk to older routers.
    * Fix up the config stats handling again
    * Fix a rare off-by-one in the SSU fragmentation
    * Reduce some unnecessary netDb resending by inluding the peers queried
      successfully in the store redundancy count.
This commit is contained in:
jrandom
2005-07-27 19:03:43 +00:00
committed by zzz
parent aeb8f02269
commit a8a866b5f6
45 changed files with 325 additions and 827 deletions

View File

@ -14,8 +14,8 @@ package net.i2p;
*
*/
public class CoreVersion {
public final static String ID = "$Revision: 1.34 $ $Date: 2005/04/06 10:43:26 $";
public final static String VERSION = "0.5.0.7";
public final static String ID = "$Revision: 1.35 $ $Date: 2005/04/20 15:14:20 $";
public final static String VERSION = "0.6";
public static void main(String args[]) {
System.out.println("I2P Core version: " + VERSION);

View File

@ -121,7 +121,7 @@ class I2CPMessageProducer {
* garlic crypto added by the router)
*
*/
static final boolean END_TO_END_CRYPTO = true;
static final boolean END_TO_END_CRYPTO = false;
/**
* Create a new signed payload and send it off to the destination

View File

@ -260,7 +260,10 @@ public class DHSessionKeyBuilder {
*
*/
public byte[] getMyPublicValueBytes() {
BigInteger bi = getMyPublicValue();
return toByteArray(getMyPublicValue());
}
private static final byte[] toByteArray(BigInteger bi) {
byte data[] = bi.toByteArray();
byte rv[] = new byte[256];
if (data.length == 257) // high byte has the sign bit
@ -299,6 +302,9 @@ public class DHSessionKeyBuilder {
public BigInteger getPeerPublicValue() {
return _peerValue;
}
public byte[] getPeerPublicValueBytes() {
return toByteArray(getPeerPublicValue());
}
/**
* Retrieve the session key, calculating it if necessary (and if possible).

View File

@ -225,4 +225,4 @@ public class BufferedRandomSource extends RandomSource {
}
return buf.toString();
}
}
}