Changeset f00bf7d for router


Ignore:
Timestamp:
Feb 20, 2018 8:19:34 PM (3 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
3159c51
Parents:
33ea4cf
Message:

Console: Redirect to HTTPS if available (ticket #2160)
Show console links as HTTPS if available
Extend blacklisted ports to cover HTTPS console and eepsite

Location:
router/java/src/net/i2p/router
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • router/java/src/net/i2p/router/RouterVersion.java

    r33ea4cf rf00bf7d  
    1919    public final static String ID = "Monotone";
    2020    public final static String VERSION = CoreVersion.VERSION;
    21     public final static long BUILD = 7;
     21    public final static long BUILD = 8;
    2222
    2323    /** for example "-test" */
  • router/java/src/net/i2p/router/transport/TransportUtil.java

    r33ea4cf rf00bf7d  
    240240               (!(port >= 6665 && port <= 6669)) && // IRC and alternates
    241241               port != 6697 &&  // IRC+TLS
    242                (!(port >= 7650 && port <= 7664)) && // standard I2P range
     242               (!(port >= 7650 && port <= 7668)) && // standard I2P range
    243243               port != 8998 &&  // mtn
    244244               port != 9001 &&  // Tor
  • router/java/src/net/i2p/router/transport/udp/UDPEndpoint.java

    r33ea4cf rf00bf7d  
    118118            _log.error("Specified UDP port " + port + " is not valid, selecting a new port");
    119119            // See isValidPort() for list
    120             _log.error("Invalid ports are: 0-1023, 1900, 2049, 2827, 3659, 4045, 4444, 4445, 6000, 6665-6669, 6697, 7650-7664, 8998, 9001, 9030, 9050, 9100, 9150, 31000, 32000, 65536+");
     120            _log.error("Invalid ports are: 0-1023, 1900, 2049, 2827, 3659, 4045, 4444, 4445, 6000, 6665-6669, 6697, 7650-7668, 8998, 9001, 9030, 9050, 9100, 9150, 31000, 32000, 65536+");
    121121            port = -1;
    122122        }
Note: See TracChangeset for help on using the changeset viewer.