Author: toad
Date: 2008-03-20 14:19:29 +0000 (Thu, 20 Mar 2008)
New Revision: 18636
Modified:
trunk/freenet/src/freenet/node/Version.java
Log:
1125: (mandatory 22 march)
Transfer backoff:
- Ordinary backoff does not deal with transfer failures effectively. There will
always be more DNFs than transfer failures even if the node never does a
successful transfer, so the node will never get backed off for long.
- Parallel mechanism to ordinary backoff. Only cares about transfer success and
transfer failures. Starts at 1 minute. Same 3 hour maximum.
Split SSKDataFound and SSKInsertRequest up into separate messages:
- Mostly for security: it is *bad* if a packet of size X is unambiguously
identifiable as an SSKInsertRequest. They also delete some obsolete fields.
- New messages FNPSSKDataFoundHeaders, FNPSSKDataFoundData,
FNPSSKInsertRequestNew, FNPSSKInsertRequestHeaders, FNPSSKInsertRequestData.
- 30 second timeout for headers and data once have received the
FNPSSKInsertRequest and sent Accepted.
- FNPSSKInsertRequestData and FNPSSKDataFoundData are sent as throttled
messages. This will help them to blend in with bulk/block traffic, as well as
manage traffic more accurately.
- Minor changes to the packet priorities.
- We send both the old and the new messages for now (in requests and inserts
and the get-offered-key code), but that will change after this build is
mandatory. We accept either. That will change after the following mandatory.
- Code has been tested in simulation, both with back compat and without,
various bugs fixed, it works.
- Factor out RequestHandler.sendSSK().
- Refactor SSKInsertHandler constructor slightly, move parsing of the message
into caller (NodeDispatcher).
Requests:
- Don't timeout and prematurely unlock the UID (bug introduced in previous
build). But do complain every 5 minutes while waiting.
Update editions.
Simulations:
- Alternate between CHKs and SSKs in RealNodeRequestInsertTest.
Dev stuff:
- Imports.
- Delete dead code.
Website:
- Link to the fproxy-lan faq section, rewrite that a bit including mention the
full access setting, thanks Max Giesbert
- Delete obsolete FAQ sections and rewrite/update several sections.
- Update openjobs.
- Update news, GSoC 2008.
Max Giesbert
toad
Modified: trunk/freenet/src/freenet/node/Version.java
===================================================================
--- trunk/freenet/src/freenet/node/Version.java 2008-03-20 13:34:50 UTC (rev
18635)
+++ trunk/freenet/src/freenet/node/Version.java 2008-03-20 14:19:29 UTC (rev
18636)
@@ -24,17 +24,17 @@
public static final String protocolVersion = "1.0";
/** The build number of the current revision */
- private static final int buildNumber = 1124;
+ private static final int buildNumber = 1125;
/** Oldest build of Fred we will talk to */
- private static final int oldLastGoodBuild = 1123;
- private static final int newLastGoodBuild = 1124;
+ private static final int oldLastGoodBuild = 1124;
+ private static final int newLastGoodBuild = 1125;
static final long transitionTime;
static {
final Calendar _cal =
Calendar.getInstance(TimeZone.getTimeZone("GMT"));
// year, month - 1 (or constant), day, hour, minute, second
- _cal.set( 2008, Calendar.MARCH, 21, 0, 0, 0 );
+ _cal.set( 2008, Calendar.MARCH, 22, 0, 0, 0 );
transitionTime = _cal.getTimeInMillis();
}