forked from I2P_Developers/i2p.i2p
i2ptunnel: Double default conn. and POST limits
This commit is contained in:
@@ -56,10 +56,10 @@ public class I2PTunnelHTTPServer extends I2PTunnelServer {
|
||||
public static final String OPT_REJECT_USER_AGENTS = "rejectUserAgents";
|
||||
public static final String OPT_USER_AGENTS = "userAgentRejectList";
|
||||
public static final int DEFAULT_POST_WINDOW = 5*60;
|
||||
public static final int DEFAULT_POST_BAN_TIME = 30*60;
|
||||
public static final int DEFAULT_POST_BAN_TIME = 20*60;
|
||||
public static final int DEFAULT_POST_TOTAL_BAN_TIME = 10*60;
|
||||
public static final int DEFAULT_POST_MAX = 3;
|
||||
public static final int DEFAULT_POST_TOTAL_MAX = 10;
|
||||
public static final int DEFAULT_POST_MAX = 6;
|
||||
public static final int DEFAULT_POST_TOTAL_MAX = 20;
|
||||
|
||||
/** what Host: should we seem to be to the webserver? */
|
||||
private String _spoofHost;
|
||||
|
||||
@@ -101,13 +101,13 @@ public class TunnelController implements Logging {
|
||||
public static final String PROP_MAX_TOTAL_CONNS_DAY = "i2p.streaming.maxTotalConnsPerDay";
|
||||
public static final String PROP_MAX_STREAMS = "i2p.streaming.maxConcurrentStreams";
|
||||
public static final String PROP_LIMITS_SET = "i2p.streaming.limitsManuallySet";
|
||||
public static final int DEFAULT_MAX_CONNS_MIN = 15;
|
||||
public static final int DEFAULT_MAX_CONNS_HOUR = 40;
|
||||
public static final int DEFAULT_MAX_CONNS_DAY = 100;
|
||||
public static final int DEFAULT_MAX_TOTAL_CONNS_MIN = 25;
|
||||
public static final int DEFAULT_MAX_CONNS_MIN = 30;
|
||||
public static final int DEFAULT_MAX_CONNS_HOUR = 80;
|
||||
public static final int DEFAULT_MAX_CONNS_DAY = 200;
|
||||
public static final int DEFAULT_MAX_TOTAL_CONNS_MIN = 50;
|
||||
public static final int DEFAULT_MAX_TOTAL_CONNS_HOUR = 0;
|
||||
public static final int DEFAULT_MAX_TOTAL_CONNS_DAY = 0;
|
||||
public static final int DEFAULT_MAX_STREAMS = 20;
|
||||
public static final int DEFAULT_MAX_STREAMS = 30;
|
||||
|
||||
/** @since 0.9.34 */
|
||||
public static final String PROP_LIMIT_ACTION = "i2p.streaming.limitAction";
|
||||
|
||||
Reference in New Issue
Block a user