Author: toad
Date: 2007-10-26 18:18:51 +0000 (Fri, 26 Oct 2007)
New Revision: 15591
Modified:
trunk/freenet/src/freenet/node/Version.java
Log:
1070: (mandatory Tuesday i.e. 30 oct, makes 1069 mandatory immediately)
Opennet:
- Lots of refactoring. Maybe send noderef or ack in more cases. Factor out
actual sending and receiving of refs to OpennetManager to support next item.
- When sending an opennet noderef, as well as sending the original message,
also send it padded up to 3K in a bulk transfer. After the next mandatory we
will drop the old-style transfer and rely on the padded fixed length bulk
transfer. It is much safer against traffic analysis and less likely to cause IP
fragmentation.
- Possibly fix race related to turning opennet off and on.
Coalescing:
- Reduce maximum packet coalescing delay to 100ms.
- Apply coalescing to big packets, only force a send when the data queued
reaches (MTU - 100 bytes) rather than 1024 bytes. Benefits: better/more
coalescing, better security against traffic analysis.
- Slightly cleaner code.
First-time wizard:
- Remove the allow-access-from-which-networks code. As currently coded, it is a
major source of node breakage, because it adds static IPs of interfaces to the
bindTo list and sets allowedHosts to *. As soon as the node restarts with a new
DHCP IP address it all breaks.
Misc:
- Fix an NPE and put in more locking in LocationManager.
Development etc:
- Remove some old branches. Move some out of the way.
- Probe request fixes: reduce backtracking: once we start to backtrack, all
routing must respect the backtracking max-distance.
- Opennet javadocs.
Modified: trunk/freenet/src/freenet/node/Version.java
===================================================================
--- trunk/freenet/src/freenet/node/Version.java 2007-10-26 18:00:52 UTC (rev
15590)
+++ trunk/freenet/src/freenet/node/Version.java 2007-10-26 18:18:51 UTC (rev
15591)
@@ -24,11 +24,11 @@
public static final String protocolVersion = "1.0";
/** The build number of the current revision */
- private static final int buildNumber = 1069;
+ private static final int buildNumber = 1070;
/** Oldest build of Fred we will talk to */
- private static final int oldLastGoodBuild = 1065;
- private static final int newLastGoodBuild = 1069;
+ private static final int oldLastGoodBuild = 1069;
+ private static final int newLastGoodBuild = 1070;
static final long transitionTime;
static {