Prep for IPv6 SSU Peer Testing

This commit is contained in:
zzz
2016-06-22 17:28:55 +00:00
parent 08fad38782
commit c9b4ab5a13
4 changed files with 35 additions and 2 deletions

View File

@ -1,7 +1,23 @@
2016-06-22 zzz
* SSU peer testing:
- Forget the test and don't keep retransmitting to Charlie
if we receive the Bob reply after the 2nd Charlie reply
- Only fire a peer test on connection if address has changed
2016-06-16 zzz
* Console: Split up configclients, add configi2cp,
configplugins, configwebapps (ticket #1804)
2016-06-15 zzz
* Utils: Add method to set language in standalone app context
* i2psnark:
- Add form to set language in standalone context
- Add Ukrainian and Japanese translations
2016-06-11 zzz
Prop from i2p.i2p.zzz.test2:
* CPUID: Add CLI output for new AMD tests
* i2psnark standalone:
* i2psnark standalone (ticket #1191):
- Cherry-pick fixes from psi's github i2psnark_rpc branch
- Fix up Jetty XML file for Jetty 8
- Start with JettyStart

View File

@ -18,7 +18,7 @@ public class RouterVersion {
/** deprecated */
public final static String ID = "Monotone";
public final static String VERSION = CoreVersion.VERSION;
public final static long BUILD = 1;
public final static long BUILD = 2;
/** for example "-test" */
public final static String EXTRA = "";

View File

@ -819,6 +819,13 @@ public abstract class TransportImpl implements Transport {
return TransportUtil.isIPv4Firewalled(_context, getStyle());
}
/**
* @since 0.9.27
*/
protected boolean isIPv6Firewalled() {
return TransportUtil.isIPv4Firewalled(_context, getStyle());
}
public boolean isBacklogged(Hash peer) { return false; }
public boolean isEstablished(Hash peer) { return false; }

View File

@ -92,6 +92,16 @@ public abstract class TransportUtil {
return ctx.getBooleanProperty(PROP_IPV4_FIREWALLED);
}
/**
* @param transportStyle ignored
* @since 0.9.27
*/
public static boolean isIPv6Firewalled(RouterContext ctx, String transportStyle) {
// TODO
//return ctx.getBooleanProperty(PROP_IPV6_FIREWALLED);
return false;
}
/**
* Addresses without a host (i.e. w/introducers)
* are assumed to be IPv4