Skip to content

v0.10.0

Latest

Choose a tag to compare

@github-actions github-actions released this 24 Nov 07:31
· 10 commits to main since this release
8627d32

MiBee Steward v0.10.0

网络质量诊断版:拨测从「打分」跃升为「质量诊断系统」——出口身份/零权限路径追踪、只看影响的劣化段告警、突发丢包抖动、站点矩阵与网关画像;网络中心成为一级实体,设备身份裁决带证据链;agent-rs 0.2.4。
The network-quality release: probing grows from health scores into a full quality-diagnosis system — egress identity / zero-privilege path tracing, impact-only degradation episodes, burst loss and jitter, the site-to-site matrix and gateway profiling. Networks become a first-class entity with the Network Center, device identity verdicts carry evidence chains, and agent-rs reaches 0.2.4.

⚠️ 重要变更 / Important changes

  • 数据库 schema v9 → v10 → v11(不就地升级):跨版本 = 备份(scripts/backup.sh)→ 删除旧库 → 全新启动 → 重扫回填。拨测历史序列清零;归档条目不随重建保留,随设备离线周期重新积累。v11 内小版本升级仍是「换二进制即完成」。详见部署指南的跨界标注段。
    Database schema v9 → v10 → v11 (no in-place upgrade): crossing = back up → remove the old DB → start fresh → rescan. Probe history series reset; archive entries do not survive the rebuild and re-accrue as devices cycle offline. Within v11, minor upgrades remain binary-swap only. See the deployment guide's schema-boundary notes.
  • agent 建议升级到 0.2.4(本版附带制品):HostNet 归因、SNTP 时钟偏移、UDP DNS 重传、链式压缩指针解析均在此版;旧 agent 仍可上报,但新能力需要 0.2.4 才能完整呈现。
    Agents should be upgraded to 0.2.4 (this release's artifact): HostNet attribution, SNTP clock offset, UDP DNS retransmit and chained compression-pointer DNS all land here; older agents keep reporting, but the new capabilities require 0.2.4 for full fidelity.
  • 升级形态注意:二进制/systemd 与 Docker 升级请使用设置中心新增的「探针」开关或 doctor 提示恢复质量矩阵(旧配置缺 probe.quality 键时缺省已改为开);OpenWrt 保配置升级由 migrate-config.sh 自动补齐默认块。
    Upgrade forms: on binary/systemd and Docker upgrades, use the new Settings → Probes switches or the doctor hint to restore the quality matrix (an absent probe.quality key now defaults ON); OpenWrt kept-config upgrades auto-add default blocks via migrate-config.sh.

🔬 网络质量诊断 / Network-quality diagnosis (#716–#720, #744–#754)

  • 出口与路径:center 与 agent 共用出口回显探测(HTTP/STUN/DNS)与零权限路径追踪(TCP connect + ICMP ping socket,无需 capabilities),公网 IP 经 Team Cymru 富化 ASN;拨测失败额外触发限频路径快照。拨测页新增「出口与路径」面板。
    Egress & paths: center and agents run the same echo rounds and zero-privilege tracer; public IPs enriched with Team Cymru ASNs, failure-triggered path snapshots, and a dedicated "Egress & Paths" panel.
  • 只看影响的劣化段告警:按每条目标×视角的自基线(72h 中位数 → 同时段桶)判决,网络级/路径级互证才开段,归因随段附带;无归因只记录不告警,quality_degraded / quality_recovered 成对发送。
    Impact-only degradation episodes: per-track self-baseline detection, network/path cross-confirmation, attribution carried in-band; unattributed episodes record silently, attributed ones fire quality_degraded / quality_recovered.
  • 突发丢包与抖动(schema v11):icmp 目标新增 burst_count / burst_interval_ms,上报 loss_pct / jitter_ms,质量判定新增稳定码 loss_burst / jitter_high;窗口均值计入干净 0% 轮,避免高估。
    Burst loss & jitter (schema v11): icmp targets gain burst_count / burst_interval_ms, report loss_pct / jitter_ms, and feed stable verdict codes loss_burst / jitter_high; window means include clean 0% rounds.
  • 分阶段计时:http 走 httptrace 报 DNS / 建连 / TLS / TTFB 四段与解析 IP,icmp 报回程 TTL;历史弹窗新增总延迟 / 分阶段切换。
    Per-stage timing: http runs under httptrace (DNS / connect / TLS / TTFB + resolved IP), icmp reports reply TTL; the history modal gains a total / stages toggle.
  • 站点矩阵自接线:probe.autogen.mesh_enabled(默认开)按机群上报源地址生成 center→agent 与 agent→agent 腿,N×N 热力视图可直接读 RTT / 丢包 / 抖动。
    Self-wiring site matrix: probe.autogen.mesh_enabled (ON by default) derives center→agent and agent→agent legs from reported source addresses; an N×N heat view surfaces RTT / loss / jitter.
  • 网关画像:probe.nat(默认关,设置中心管理)承载 STUN 列表与一次性测试,agent 跑 UPnP IGD 与 NAT 映射行为分类(cone/EIM vs symmetric/EDM),证据落在路由器设备的网络画像卡。出厂 STUN 列表按 2026-11-23 双视角实测剔除了两个已死节点,存量列表读时自动对齐。
    Gateway profile: probe.nat (OFF by default, settings-managed) carries the STUN list and one-shot test; agents run UPnP IGD and NAT mapping-behavior classification; evidence lands on the router's Network Profile card. The shipped STUN list dropped two dead endpoints after 2026-11-23 two-vantage measurements, with read-time reconciliation for stored lists.

🕸️ 网络中心与身份诊断 / Network Center & identity diagnosis (#761, #767, #771)

  • 网络成为一级实体:只读 /network-center 四层视图——网络总览(出口 IP / NAT 类型 / 质量 / 设备数 + 互联)、网络详情(网关画像 / 逐视角质量 / 路由互联 / 资产)、网络间拓扑、跨网络资产;纯前端聚合现有 API,无新 schema。
    Networks as a first-class entity: read-only /network-center with four layers — overview, detail, inter-network topology and cross-network assets; pure frontend aggregation of existing APIs, no new schema.
  • 设备身份裁决:新引擎联接目击史、扫描活性、双宿主在位层与变更流,给出 stale_arp_scan_artifact 等高置信裁决与证据链;新增只读 GET /devices/{id}/diagnosis 与设备详情面板,同一裁决前移到设备列表徽章。按影响优先原则,裁决是拉取式、不发告警。
    Device identity verdicts: a new engine joins sightings, scan liveness, multi-homed presence and the change stream into high-confidence verdicts with evidence; GET /devices/{id}/diagnosis and a detail panel, with the same verdict lifted onto list badges. Pull-based by design — no alerts.
  • 侧栏放「地方」而不是「功能」:13 个入口收敛为总览 / 资产 / 网络 / 观测 / 系统管理五个地方,能力收进各自的标签栏;路由与 URL 完全不变。
    The sidebar holds places, not features: 13 entries collapsed into five places (Overview / Assets / Networks / Observation / Administration), capabilities live in tabs; routes and URLs unchanged.

🤖 agent-rs 0.2.4 / Rust agent (#714, #715, #746, #749)

  • HostNet 归因:接口错误/丢包计数、默认路由指纹、对 center 的 DNS 解析计时随报告上行;center 侧做差并装饰劣化视角判定。
  • SNTP 时钟偏移(本地 − 服务器)随报告上报,采集器页可见。
  • UDP DNS 在超时预算内最多三次尝试(新鲜事务 ID),修复高丢包上游的假超时;DNS 解码器支持链式压缩指针,恢复 DNSPod 轨道。
  • HostNet attribution (interface counters, route fingerprint, resolver timing), SNTP clock offset, UDP DNS retries and chained compression-pointer DNS.

🛠️ 运维与文档 / Ops & docs

  • OpenWrt 保配置升级加法式迁移(migrate-config.sh)+ doctor 的 probe.quality 提示;出厂 STUN 死节点剔除 + 存量 overlay 读时升级。
  • 全站逐页走查修复:变更历史可读名、agent 汇报的观测网段落库、parked 设备地址让出呈现、质量矩阵挂起行复活、区域受阻参照目标呈现不可达。
  • RTSP 服务不再自动播种 TCP:554 心跳(小内存摄像头 2880 次/日会话 churn 根治);合成 HTTP 拨测发送产品 User-Agent。
  • 文档:en/zh 全量更新(配置键 / API 端点 / 集成事件 / agent-rs 能力矩阵 / 网络中心 / 五地方 IA / 版本字符串),21 张截图经脱敏代理在 v0.10.0 实机上重拍 + 新增网络中心截图。
  • Additive OpenWrt kept-config migration, doctor's probe.quality hint, STUN liveness reconciliation; whole-UI click-through fixes; RTSP heartbeat churn fix; product User-Agent on HTTP probes; full en/zh doc refresh and 21 sanitized screenshots re-shot on a live v0.10.0 instance.

完整变更 / Full changelog: CHANGELOG.md · 中文版 docs/zh/changelog.md