Changeset 1ced604


Ignore:
Timestamp:
Jul 17, 2011 4:31:21 PM (9 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
7fbb3b1
Parents:
65656b3
Message:
  • UDP: Lower max port below 31000 since wrapper uses that
File:
1 edited

Legend:

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

    r65656b3 r1ced604  
    8181********/
    8282   
    83     /** 8998 is monotone, and 32000 is the wrapper, so let's stay between those */
     83    /** 8998 is monotone, and 31000 is the wrapper outbound, so let's stay between those */
    8484    public static final String PROP_MIN_PORT = "i2np.udp.minPort";
    8585    public static final String PROP_MAX_PORT = "i2np.udp.maxPort";
    8686    private static final int MIN_RANDOM_PORT = 9111;
    87     private static final int MAX_RANDOM_PORT = 31777;
     87    private static final int MAX_RANDOM_PORT = 30777;
    8888    private static final int MAX_PORT_RETRIES = 20;
    8989
Note: See TracChangeset for help on using the changeset viewer.