* Transport: Hamachi address block 5/8 assigned by IANA
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
2010-12-02 zzz
|
||||||
|
* Streaming: Restore I2PSocketManagerFull as public
|
||||||
|
(broke jwebcahe ticket #345)
|
||||||
|
* Transport: Hamachi address block 5/8 assigned by IANA
|
||||||
|
|
||||||
2010-12-01 dr|z3d
|
2010-12-01 dr|z3d
|
||||||
* Console:
|
* Console:
|
||||||
- Extensive reworking of ieshim.css for classic theme/Internet Explorer.
|
- Extensive reworking of ieshim.css for classic theme/Internet Explorer.
|
||||||
|
@ -18,7 +18,7 @@ public class RouterVersion {
|
|||||||
/** deprecated */
|
/** deprecated */
|
||||||
public final static String ID = "Monotone";
|
public final static String ID = "Monotone";
|
||||||
public final static String VERSION = CoreVersion.VERSION;
|
public final static String VERSION = CoreVersion.VERSION;
|
||||||
public final static long BUILD = 19;
|
public final static long BUILD = 20;
|
||||||
|
|
||||||
/** for example "-test" */
|
/** for example "-test" */
|
||||||
public final static String EXTRA = "";
|
public final static String EXTRA = "";
|
||||||
|
@ -66,6 +66,11 @@ public class Addresses {
|
|||||||
ia.isLoopbackAddress() ||
|
ia.isLoopbackAddress() ||
|
||||||
ia.isMulticastAddress() ||
|
ia.isMulticastAddress() ||
|
||||||
ia.isSiteLocalAddress() ||
|
ia.isSiteLocalAddress() ||
|
||||||
|
// Hamachi 5/8 allocated to RIPE (30 November 2010)
|
||||||
|
// Removed from TransportImpl.isPubliclyRoutable()
|
||||||
|
// Check moved to here, for now, but will eventually need to
|
||||||
|
// remove it from here also.
|
||||||
|
ia.getHostAddress().startsWith("5.") ||
|
||||||
!(ia instanceof Inet4Address)) {
|
!(ia instanceof Inet4Address)) {
|
||||||
// System.err.println("Skipping: " + ia.getHostAddress());
|
// System.err.println("Skipping: " + ia.getHostAddress());
|
||||||
return;
|
return;
|
||||||
|
@ -583,7 +583,8 @@ public abstract class TransportImpl implements Transport {
|
|||||||
if ((addr[0]&0xFF) >= 224) return false; // no multicast
|
if ((addr[0]&0xFF) >= 224) return false; // no multicast
|
||||||
if ((addr[0]&0xFF) == 0) return false;
|
if ((addr[0]&0xFF) == 0) return false;
|
||||||
if ( ((addr[0]&0xFF) == 169) && ((addr[1]&0xFF) == 254) ) return false;
|
if ( ((addr[0]&0xFF) == 169) && ((addr[1]&0xFF) == 254) ) return false;
|
||||||
if ((addr[0]&0xFF) == 5) return false; // Hamachi
|
// 5/8 allocated to RIPE (30 November 2010)
|
||||||
|
//if ((addr[0]&0xFF) == 5) return false; // Hamachi
|
||||||
return true; // or at least possible to be true
|
return true; // or at least possible to be true
|
||||||
} else if (addr.length == 16) {
|
} else if (addr.length == 16) {
|
||||||
return false;
|
return false;
|
||||||
|
Reference in New Issue
Block a user