2007-10-07 jrandom

* back out the NTCP backlog pushback, as it could be used to mount an
      active anonymity attack.
This commit is contained in:
jrandom
2007-10-08 04:11:36 +00:00
committed by zzz
parent 3f01d0a69e
commit e480931e20
3 changed files with 8 additions and 5 deletions

View File

@ -1,4 +1,8 @@
$Id: history.txt,v 1.592 2007-10-07 21:36:17 complication Exp $
$Id: history.txt,v 1.593 2007-10-07 22:01:47 jrandom Exp $
2007-10-07 jrandom
* back out the NTCP backlog pushback, as it could be used to mount an
active anonymity attack.
* 2007-10-07 0.6.1.30 released

View File

@ -15,9 +15,9 @@ import net.i2p.CoreVersion;
*
*/
public class RouterVersion {
public final static String ID = "$Revision: 1.528 $ $Date: 2007-10-07 21:36:20 $";
public final static String ID = "$Revision: 1.529 $ $Date: 2007-10-07 22:01:49 $";
public final static String VERSION = "0.6.1.30";
public final static long BUILD = 0;
public final static long BUILD = 1;
public static void main(String args[]) {
System.out.println("I2P Router version: " + VERSION + "-" + BUILD);
System.out.println("Router ID: " + RouterVersion.ID);

View File

@ -463,8 +463,7 @@ public class OutboundClientMessageOneShotJob extends JobImpl {
}
tunnel = (TunnelInfo) _tunnelCache.get(to);
if (tunnel != null) {
if (getContext().tunnelManager().isValidTunnel(_from.calculateHash(), tunnel) &&
(tunnel.getLength() <= 1 || !getContext().commSystem().isBacklogged(tunnel.getPeer(1))))
if (getContext().tunnelManager().isValidTunnel(_from.calculateHash(), tunnel))
return(tunnel);
else
_tunnelCache.remove(to);