...
|
...
|
@@ -32,17 +32,17 @@ public class MaliciousIpJob { |
|
|
/**
|
|
|
* 公司内部ip,需要过滤掉
|
|
|
*/
|
|
|
private final static String YOHO_INTERNAL_IP = "172.31|10.66|10.67|54.222";
|
|
|
private final static String YOHO_INTERNAL_IP = "172.31|10.66|10.67|54.222|54.223";
|
|
|
|
|
|
/**
|
|
|
* 比例大于等于99
|
|
|
*/
|
|
|
private final static int PERCENT_MAX = 99;
|
|
|
private final static int PERCENT_MAX = 100;
|
|
|
|
|
|
/**
|
|
|
* 次数大于等于100
|
|
|
*/
|
|
|
private final static int COUNT_MAX = 50;
|
|
|
private final static int COUNT_MAX = 100;
|
|
|
|
|
|
/**
|
|
|
* 敏感接口比例大于等于99%,且敏感接口QPS大于等于100的值,暂时默认放到黑名单
|
...
|
...
|
|