2022-07-07 16:52:24 +08:00
|
|
|
|
global {
|
|
|
|
|
DAEMON = "off"; // on开启后台运行,off不开启
|
2022-10-10 17:52:00 +08:00
|
|
|
|
TIME = "10"; // 睡眠时间
|
|
|
|
|
|
2022-07-07 16:52:24 +08:00
|
|
|
|
|
2022-10-08 14:28:05 +08:00
|
|
|
|
PUBLIC_IP = "http://inet-ip.info"; // 获取公网IP
|
|
|
|
|
|
2022-10-10 17:52:00 +08:00
|
|
|
|
|
|
|
|
|
IPV4_RESTRICTION = 1; // 是否启用百名单
|
2022-10-13 18:01:06 +08:00
|
|
|
|
IPV4_WHITE_LIST = "1.1.1.1 "; // IP白名单
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
REGION = 1; // 是否启用地域白名单
|
|
|
|
|
REGION_LIST = "河南 郑州"; // 地域列表
|
|
|
|
|
|
2022-10-10 17:52:00 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
IS_BLOCKED = 1; // 是否封禁攻击IP
|
2022-10-13 18:01:06 +08:00
|
|
|
|
REFUSE_NUMBER = 3; // 拒绝攻击次数
|
2022-10-10 17:52:00 +08:00
|
|
|
|
|
2022-07-07 16:52:24 +08:00
|
|
|
|
|
|
|
|
|
IS_MAIL = 0; // 开启邮件告警
|
|
|
|
|
|
2022-10-10 17:52:00 +08:00
|
|
|
|
|
2022-07-07 16:52:24 +08:00
|
|
|
|
IS_DING_WEBHOOK = 1; // 开启叮叮告警
|
|
|
|
|
PHONE = "15565979082"; // @的人手机号
|
|
|
|
|
DING_WEBHOOK = "https://oapi.dingtalk.com/robot/send?access_token=7f069c672cb878987aa6772cca336740eece4ce36bde12b51b45e9f440e0565a"; // 钉钉WEBHOOK
|
|
|
|
|
|
2022-10-10 17:52:00 +08:00
|
|
|
|
|
2022-07-07 16:52:24 +08:00
|
|
|
|
IS_QQMAIL = 0; // 开启QQ邮箱告警
|
2022-10-08 14:28:05 +08:00
|
|
|
|
RECV_MAIL = "1605227279@qq.com"; // 接收者QQ
|
2022-07-07 16:52:24 +08:00
|
|
|
|
}
|