[freenet-cvs] r11742 - trunk/freenet/src/freenet/node
toad at freenetproject.org
toad at freenetproject.org
Sat Feb 10 16:16:36 UTC 2007
Author: toad
Date: 2007-02-10 16:16:35 +0000 (Sat, 10 Feb 2007)
New Revision: 11742
Modified:
trunk/freenet/src/freenet/node/Version.java
Log:
1013: bugfixes (including some crypto)
- fixed signature verification failure bug when adding peers
-- old-ark -> oldark
- crypto fixes:
-- some places we were using m = new BigInteger(H(message)), some places we were using m = new BigInteger(1, H(message)). the former may be negative and is undefined. now we use new BigInteger(1, H(message)) everywhere, but we drop the 256th (sign) bit (partly for back compatibility; H(message) may be greater than q, i've emailed our crypto expert about this).
-- check for invalid parameters in our DSA code
-- use 256-bit random K's not 160-bit ones
-- don't cache hex versions of DSA parameters
-- writeAsField() -> toLongString()
- change default log rotation period to 1 hour (YOU MAY NEED TO CHANGE THIS BACK EXPLICITLY IF YOU USE HEAVY LOGGING!)
- make ipAddressOverride non-expert, and explain it a bit.
- rename Advanced Darknet to Advanced Mode. (YOU MAY NEED TO MANUALLY RE-ENABLE ADVANCED MODE)
- load persistent inserts on startup; this slows down startup, but prevents many OOMs
- fix the panic button
- indicate in the error message when a CHK appears to be from 0.5
- FCP bugfix: fix a bug preventing PersistentPutDir's from being sent (and presumably anything after them too in ListPersistentRequests)
- FCP bugfix: when cancel a request, only send one GetFailed, before the PersistentRequestRemoved
- warn the user, if necessary, about spurious OOMs in JVMs prior to 1.6/1.5.0_10/1.4.2_13 (http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4855795)
- fix a rare NPE which occurs when USKFetcher finds invalid data
- SimpleFieldSet API cleanup (put() -> putSingle, putAppend, putOverwrite: APIs must be as simple as possible and no simpler!)
- remove some dead code
- minor synchronization changes
- code cleanups
- fix typos, imports etc
Modified: trunk/freenet/src/freenet/node/Version.java
===================================================================
--- trunk/freenet/src/freenet/node/Version.java 2007-02-10 16:11:36 UTC (rev 11741)
+++ trunk/freenet/src/freenet/node/Version.java 2007-02-10 16:16:35 UTC (rev 11742)
@@ -24,7 +24,7 @@
public static final String protocolVersion = "1.0";
/** The build number of the current revision */
- private static final int buildNumber = 1012;
+ private static final int buildNumber = 1013;
/** Oldest build of Fred we will talk to */
private static final int oldLastGoodBuild = 1010;
More information about the cvs
mailing list