alicloud-ip-updater/config.sample.json
yshtcn e5400aa800 # 20240605-1
- 增加了使用server酱,现在可以通过配置key和自定义的语句在更新或重大错误时发送通知。
2024-06-05 19:56:27 +08:00

22 lines
853 B
JSON
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
"ACCESS_KEY_ID": "your_access_key_id",
"ACCESS_KEY_SECRET": "your_access_key_secret",
"REGION_ID": "your_region_id",
"SECURITY_GROUP_ID": "your_security_group_id",
"TAG": "your_tag",
"GETIP_URLS": [
"https://getip.ysht.me"
],
"PORTS": [
{"port": "53", "protocol": "udp"},
{"port": "6053", "protocol": "tcp"},
{"port": "1-65535", "protocol": "tcp"}
],
"PRIORITY": 1,
"IP_RECORD_FILE": "./config/ip_records.json",
"INTERVAL_SECONDS": 3600,
"SERVER_CHAN_KEY": "your_server_chan_key",
"SERVER_CHAN_TITLE": "阿里云安全组白名单更新通知",
"SERVER_CHAN_MESSAGE": "已新增白名单IP:{IP},端口: {ports}\n\n注意:在本次更新前已将系统内有相同tag的规则全部删除。需要手动修改的记录请避免使用同样的tag。"
}