28 lines
1010 B
Plaintext
28 lines
1010 B
Plaintext
global {
|
||
DAEMON = "off"; // on开启后台运行,off不开启
|
||
TIME = "10"; // 睡眠时间
|
||
|
||
|
||
PUBLIC_IP = "http://inet-ip.info"; // 获取公网IP
|
||
|
||
|
||
IPV4_RESTRICTION = 1; // 是否启用百名单
|
||
IPV4_WHITE_LIST = "1.193.37.156 117.158.215.217"; // IP白名单
|
||
|
||
|
||
IS_BLOCKED = 1; // 是否封禁攻击IP
|
||
REFUSE_NUMBER = 5; // 拒绝攻击次数
|
||
|
||
|
||
IS_MAIL = 0; // 开启邮件告警
|
||
|
||
|
||
IS_DING_WEBHOOK = 1; // 开启叮叮告警
|
||
PHONE = "15565979082"; // @的人手机号
|
||
DING_WEBHOOK = "https://oapi.dingtalk.com/robot/send?access_token=7f069c672cb878987aa6772cca336740eece4ce36bde12b51b45e9f440e0565a"; // 钉钉WEBHOOK
|
||
|
||
|
||
IS_QQMAIL = 0; // 开启QQ邮箱告警
|
||
RECV_MAIL = "1605227279@qq.com"; // 接收者QQ
|
||
}
|