Changeset 2a269ff


Ignore:
Timestamp:
Jun 13, 2014 1:39:15 PM (7 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
95fd029
Parents:
83ccfb45
Message:
  • Transports: Disallow Carrier Grade NAT (RFC 6598) addresses
File:
1 edited

Legend:

Unmodified
Added
Removed
  • router/java/src/net/i2p/router/transport/TransportUtil.java

    r83ccfb45 r2a269ff  
    125125            // http://blog.logmein.com/products/changes-to-hamachi-on-november-19th
    126126            if (a0 == 25) return false;
     127            // Carrier Grade NAT RFC 6598
     128            if (a0 == 100 && a1 >= 64 && a1 <= 127) return false;
    127129            return true; // or at least possible to be true
    128130        } else if (addr.length == 16) {
Note: See TracChangeset for help on using the changeset viewer.