[freenet-cvs] r15457 - trunk/freenet/src/freenet/node

toad at freenetproject.org toad at freenetproject.org
Sat Oct 20 17:54:18 UTC 2007


Author: toad
Date: 2007-10-20 17:54:18 +0000 (Sat, 20 Oct 2007)
New Revision: 15457

Modified:
   trunk/freenet/src/freenet/node/FNPPacketMangler.java
Log:
logging

Modified: trunk/freenet/src/freenet/node/FNPPacketMangler.java
===================================================================
--- trunk/freenet/src/freenet/node/FNPPacketMangler.java	2007-10-20 17:34:48 UTC (rev 15456)
+++ trunk/freenet/src/freenet/node/FNPPacketMangler.java	2007-10-20 17:54:18 UTC (rev 15457)
@@ -664,7 +664,8 @@
 			Logger.normal(this, "We received an unexpected JFK(3) message from "+pn);
 			return;
 		} else if(!Arrays.equals(myNi, nonceInitiator)){
-			Logger.error(this, "The responder has tampered the nonce in JFK(3)!! - "+pn);
+			if(logMINOR)
+				Logger.minor(this, "Ignoring old JFK(3) (different nonce to the one we sent - either a timing artefact or an attempt to change the nonce)");
 			return;
 		}
 		




More information about the cvs mailing list