Repository navigation
v0.2.2
v0.2.2 — reliable updates on slow international links
中文
实际部署发现,约 16 KB/s 的国际链路无法在原来的 2 分钟内下载完整安装包。本版为资产正文保留最多 10 分钟,响应头最多等待 30 秒,单次更新总时限 15 分钟,Linux/Windows 调度上限 20 分钟。安装脚本同步调整。下载、校验失败保留旧程序;每日检查频率不变。
同时包含 v0.2.1 的完整改进:
- 密码失败专用规则、IP+用户名计数、成功登录清零与宽限、公司白名单;旧版 nft 全端口规则启动即迁移为 SSH 端口范围。
- Telegram、Discord、Slack、Feishu/Lark、通用 webhook、TLS 邮箱;独立渠道、消息限长、凭据脱敏、持久重试。
- 日志轮转/半行/多规则游标、Windows 事件游标与本地端口修复、只读巡检与保守的手动进程清理。
- 校验正式 Release、配置和版本,备份旧二进制,重启失败回滚;每日自动安装并重启服务。
- 19 页中英文 HTML、离线文档、六平台二进制及 SHA256SUMS;Go 1.27.2 构建,Linux/macOS/Windows CI 通过后发布。
旧版本慢速下载超时时,先用最新版安装脚本升级,再重新执行 banhack233 auto-update -enable 更新调度时限。现有配置和白名单不会被覆盖。Telegram/Discord 等渠道需要填写本机凭据后启用。
English
Slow international links can exceed the previous two-minute download deadline. Release bodies now have a ten-minute limit, response headers a thirty-second limit, the updater a fifteen-minute overall deadline, and Linux/Windows scheduler jobs a twenty-minute limit. Installers use the same longer download window. Failed downloads leave the installed binary intact; the daily schedule is unchanged.
Includes v0.2.1's password-only SSH rules, successful-login grace, office allowlists, SSH-scoped firewall migration, Telegram/Discord and durable multi-channel delivery, conservative diagnostics, verified automatic updates and rollback backups. Existing configurations remain intact. On slow links, bootstrap older updaters with the current installer, then rerun auto-update -enable to refresh scheduler limits.
中文文档 · English documentation · 通知配置 · 自动更新