feat(arch): 跃升 v4.2.0,重构控制面与数据面双轨分离架构,彻底根除 IPv6 恶劣路由引发的指令下发超时/耳聋难题

This commit is contained in:
hotyue
2026-06-01 04:35:26 +00:00
parent 93a9bcb184
commit 4dd325cbf7
2 changed files with 49 additions and 5 deletions

View File

@@ -64,7 +64,7 @@ REPO_RAW_URL="https://raw.githubusercontent.com/hotyue/IP-Sentinel/main"
# [链路容灾] 双栈冗余防抖抓取,确立本地态势版本号
TARGET_VERSION=$( (curl -fsSL --connect-timeout 5 --retry 2 "${REPO_RAW_URL}/version.txt" || curl -4 -fsSL --connect-timeout 5 --retry 2 "${REPO_RAW_URL}/version.txt") 2>/dev/null | grep "^MASTER_VERSION=" | cut -d'=' -f2 | tr -d '[:space:]')
TARGET_VERSION=${TARGET_VERSION:-"4.0.7"}
TARGET_VERSION=${TARGET_VERSION:-"4.2.0"}
MASTER_DIR="/opt/ip_sentinel_master"
DB_FILE="${MASTER_DIR}/sentinel.db"