Author: toad
Date: 2008-01-28 15:23:10 +0000 (Mon, 28 Jan 2008)
New Revision: 17359
Modified:
trunk/freenet/src/freenet/node/Version.java
Log:
1106: (Mandatory 0:00)
More messaging layer and related fixes:
- Set an explicit timeout on *everything*, and complain loudly (and assume no
timeout, not the previous default of 10 seconds) if there isn't one. In
particular:
-- If BlockReceiver received an allSent or sendAborted after more than 10
seconds, the reply may have been dropped due to the default 10 second timeout.
-- Possibly fix some timeouts in the swapping code (in particular if SwapReply
took more than 10 seconds it may have been lost).
- Un-break setNoTimeout(). Filters relying on this will have timed out after 10
seconds.
- Increase block receive timeout from 30 to 60 seconds. Transmit timeout is
also 60 seconds.
CHK Inserts:
- After all transfers have finished, re-check receiveFailed and if necessary
change status - we want to send an InsertReply asap, but we want NodeClientCore
to get an accurate insert status.
Crypto: Various paranoia:
- Enforce that R and S are positive and nonzero when creating a DSASignature.
(Might conceivably prevent attacks).
- Check that x < q constructing a DSAPrivateKey. (Definitely not remotely
exploitable). Pass in the group to verify this.
IP detection:
- Detect invalid IP address overrides and tell the user through a useralert.
Keep the old string in the config anyway until the user changes it, but don't
use it.
- If the IP hint is invalid, don't clear the override!
- Use the IP hint even if there is no override.
L10n:
- German update from NEOatNHNG (aka Michael Tanzer).
Stats page:
- Show count for ROUTING_DISABLED nodes.
FCP:
- fix #2019: Socket dies if first message is not ClientHello - give it a chance
to flush the queue before closing.
Misc:
- Fix a minor NPE in the announcement code (RNF). Probably doesn't affect
anything important since we've already sent the RNF message.
Dev stuff:
- Indenting.
- Trivial refactoring: PeerNode.getLocalNoderef() is common for all types.
- Logging.
NEOatNHNG
nextgens
toad
zothar
Modified: trunk/freenet/src/freenet/node/Version.java
===================================================================
--- trunk/freenet/src/freenet/node/Version.java 2008-01-28 14:52:17 UTC (rev
17358)
+++ trunk/freenet/src/freenet/node/Version.java 2008-01-28 15:23:10 UTC (rev
17359)
@@ -24,17 +24,17 @@
public static final String protocolVersion = "1.0";
/** The build number of the current revision */
- private static final int buildNumber = 1105;
+ private static final int buildNumber = 1106;
/** Oldest build of Fred we will talk to */
- private static final int oldLastGoodBuild = 1101;
- private static final int newLastGoodBuild = 1104;
+ private static final int oldLastGoodBuild = 1104;
+ private static final int newLastGoodBuild = 1106;
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.JANUARY, 26, 18, 0, 0 );
+ _cal.set( 2008, Calendar.JANUARY, 29, 18, 0, 0 );
transitionTime = _cal.getTimeInMillis();
}