forked from I2P_Developers/i2p.i2p
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:
@@ -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);
|
||||
|
@@ -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);
|
||||
|
Reference in New Issue
Block a user