NSIO 开发日报

11月17日 / 周二

2026-11-17 的主要进展集中在 Exit 路由与移动端就绪判定、服务撤销与恢复、网关身份替换及生产默认 Exit 验收。原始材料包含多次合并和重复记录,以下按行为归并;验收标题仅代表存在相关记录,不等同于所有平台均已验证。

45
项合入
4
个模块
3
项需注意
6
位提交者
← 全部日报

今日要点

01
Exit 选择、捕获范围与移动端就绪判定同步修正Exit
NS 增加默认 Exit 的指定 CIDR 捕获和唯一授权路由选择,修正 scoped Exit 优先级与授权目录身份;移动端就绪判定加入原生确认,材料包含 Android 真机验收记录。网关侧另有生产默认 Exit 及持久化验收记录。
02
服务撤销与恢复覆盖客户端和网关链路升级
修复退休后注册表查询取消、Network 重装唤醒和 M6 快照短暂丢失后的公网监听恢复,并推进旧服务路由与拦截逻辑退役。材料包含撤销、原生中继和 p3 验收记录;跨版本升级兼容仍待验证。
03
网关身份替换与授权重装强化状态连续性恢复
新增可恢复的网关身份替换流程,保留经核验替换中的 home 依赖;授权重装保留终态权威及已观察到的权限到期信息。相关资格记录已列出,但目标生产环境的替换与故障恢复仍待验证。
04
生产 OIDC consent 迁移已有验收记录认证
网关材料包含第一方 OIDC consent 迁移和生产验收记录。升级评估应核对记录中的适用范围,并复查现有账户及重新授权流程。

分模块详情

NS ns · 22 项

完善 Exit 决策、授权目录刷新、移动端启动及私有服务生命周期。

做了什么
  • 默认 Exit 支持本地 CIDR,并将捕获范围限定到选定 CIDR;选择唯一授权路由,修正本地映射 Subnet 接入时的 scoped Exit 优先级。
  • 按 Network 成员关系刷新离线授权目录,保留授权 Exit 目录身份;签名流观察触发已认证策略快照唤醒。
  • 快照 ACK 后保留未变化消费者的租约调度,避免重复获取租约。
  • 贯通 ns 与 libns 的私有服务协议,协调 FFI 与 p3 状态,并按随包头文件检查发布状态。
  • 修复 Android Quick 冷启动:TUN 启动前保留中继旁路,并按 IPv4 主机规划校验暂存旁路;移动 Exit 捕获就绪需原生确认。
  • 改善 Network 中继及 Subnet 撤销响应,退休完成后唤醒 Network 重装,源退休后取消注册表查询;推进旧服务路由退役。
  • 更新 zip 以处理 RustSec 公告,修复独立引擎 smoke 编译;补充 Android、macOS、原生 HTTPS、私有服务及 p3 验收记录。
怎么验证
  • 在 ns 仓库运行 git log --all --oneline --grep='scoped exit acceptance',再用 git show <提交号> 阅读记录;按记录配置默认 Exit 和指定 CIDR,访问范围内外目标,预期捕获范围及路由选择符合记录。
  • 在 ns 仓库运行 git log --all --oneline --grep='native Android Internet Exit readiness',用 git show <提交号> 查看真机步骤;按记录启动和撤销 Android Exit,预期就绪状态与原生捕获确认一致。
  • 在 ns 仓库运行 git log --all --oneline --grep='Android membership catalogue verification',用 git show <提交号> 查看成员关系场景;按记录切换 Network 成员关系并刷新目录,预期各 Network 的授权目录正确更新。
  • 在 ns 仓库运行 git log --all --oneline --grep='withdrawal consumer verification',用 git show <提交号> 阅读撤销步骤并复现;预期消费者及时响应撤销,退休完成后可重新安装 Network。
  • 在 ns 仓库运行 git log --all --oneline --grep='private service acceptance',用 git show <提交号> 阅读适用平台和操作;按记录访问私有服务,预期协议及连接行为符合验收记录。
重点关注
  • 材料有 Android、macOS 和 p3 验收标题,但未提供正文;具体设备、版本、步骤和覆盖范围需查阅记录。
  • 未变化租约调度、签名策略唤醒及 FFI 发布检查的独立真机验证证据未列出,待验证。
  • 旧路由退役后的混合版本兼容,以及本次全部修复组合后的跨平台升级行为,待验证。
数据网关 nsgw · 19 项

加强授权与身份交接恢复,修复公网发布恢复,并补充生产认证和默认 Exit 验收。

做了什么
  • 本地释放完成后允许重装仍有效的 Exit 或 Egress 授权;跨重装保留终态权威,将已观察到的权限到期保存在权威历史中,并简化拒绝处理。
  • 新增经批准流程执行的可恢复网关身份替换,修正文档中的替换启动顺序;经核验替换期间保留 home 依赖。
  • 支持向 Nodes 公告配置的公网 UDP 端点,选择候选节点时保留 home 中继,并限制节点发布启动 futures 的生命周期。
  • 公网发布使用显式发布指针,修复 M6 快照短暂丢失后监听无法恢复;支持按需导出原生网关候选构建。
  • 记录第一方 OIDC consent 迁移和生产验收,以及真实 Docker 栈默认 Exit、生产升级、默认 Exit 和持久化验收。
  • 移除旧网关服务拦截、透明代理组装、无用主机接线及旧启动预检。
  • 归档驱逐后保留用量数量,补充归档数量、四 CPU 证明和中继负载资格记录;另有归档恢复门禁阻塞记录。
  • 跟踪 chrono 维护公告,并同步账户切换计划状态。
怎么验证
  • 在 nsgw 仓库运行 git log --all --oneline --grep='persistent production default exit',用 git show <提交号> 查看配置和恢复步骤;按记录检查默认 Exit 并执行其恢复场景,预期配置及出口行为保持有效。
  • 在 nsgw 仓库运行 git log --all --oneline --grep='production OIDC consent acceptance',用 git show <提交号> 阅读验收;按记录完成第一方登录及授权流程,预期 consent 迁移后的行为符合记录。
  • 在 nsgw 仓库运行 git log --all --oneline --grep='gateway replacement startup order',用 git show <提交号> 查看替换顺序;在测试环境按记录替换身份并检查 home 依赖,预期依赖保留且交接可恢复。
  • 在 nsgw 仓库运行 git log --all --oneline --grep='grant authority handoff qualification',用 git show <提交号> 阅读操作;按记录释放并重装仍有效授权,预期终态权威及到期约束不会因重装丢失。
  • 在 nsgw 仓库运行 git log --all --oneline --grep='recover listeners after m6 snapshot loss',用 git show <提交号> 查看变更及已有验证说明;据此在测试环境复现快照短暂丢失和恢复,预期公网监听恢复。
  • 在 nsgw 仓库运行 git log --all --oneline --grep='archive recovery gate blockers',用 git show <提交号> 查看阻塞项,再查阅 archive quantity acceptance 相关提交;按记录复现归档驱逐,预期用量数量保留,并逐项确认恢复门禁是否解除。
重点关注
  • 生产默认 Exit 和 OIDC 有验收记录,但正文未提供,不能据此推定所有部署均已通过。
  • 身份替换、授权重装及公网端点有资格或验证记录,但未明确给出真机环境;目标生产环境的故障恢复待验证。
  • 公网监听恢复及旧拦截退役未列出明确真机验收证据,待验证。
  • 归档恢复出现过门禁阻塞记录,当前是否全部解除待验证;chrono 公告跟踪不能视为风险已消除。
平台运营 admin · 2 项

调整部署 runner 选择和组织流量展示范围。

做了什么
  • Admin 部署使用配置指定的 runner 标签。
  • 组织流量展示覆盖全部 Network。
怎么验证
  • 在 admin 仓库运行 git log --all --oneline --grep='Use configured Admin deploy runner label',用 git show <提交号> 找到配置位置;按项目现有流程触发测试部署,预期任务由配置标签匹配的 runner 执行。
  • 打开 Admin 中的组织流量页面,选择有多个 Network 流量的组织,与各 Network 的同期流量记录核对;预期展示覆盖全部 Network,统计口径与页面说明一致。
重点关注
  • 未提供部署运行或页面验收证据;runner 标签生效及多 Network 流量展示待验证。
共享协议 ns-shared · 2 项

扩展中继托管认证报告和私有服务协议表达。

做了什么
  • 新增经过认证的中继 custody 报告,相关 transcript 使用标准 Base64。
  • 在版本化报告中编码私有应用协议,明确协议命名,对齐 floor v2 契约,并复用已解码的 floor 内容。
怎么验证
  • 在 ns-shared 仓库运行 git log --all --oneline --grep='authenticated relay custody reporting',用 git show <提交号> 查看协议及已有测试入口;按其中说明生成并验证报告,预期合法报告通过认证,transcript 使用标准 Base64。
  • 在 ns-shared 仓库运行 git log --all --oneline --grep='align the floor v2 contract',用 git show <提交号> 阅读契约;依照其中样例核对生产方和消费方报告,预期私有应用协议字段在编码、解码后保持一致。
重点关注
  • 未提供独立真机或跨版本互通验收证据;custody 认证、标准 Base64 互通及 floor v2 协议兼容均待验证。
  • 跨 ns、libns、nsgw 的协议升级顺序和旧版本行为未在材料中明确,待验证。

风险与待办

验收证据边界:本日报依据提交与验收记录标题归纳,未执行测试,也未读取记录正文。已有验收不能扩大为所有设备、版本和部署均通过。
升级兼容待验证:私有服务版本化协议、floor v2、标准 Base64 及旧路由与拦截退役涉及跨仓库配合;混合版本互通和升级顺序待验证。
恢复门禁待核实:归档恢复曾记录门禁阻塞,材料未明确给出全部解除结论;上线前需核对当前阻塞状态及恢复证据。

原始合入记录

展开全部 45 项(脚本采集,未经研判)

NS(ns)(22 项)

  • main — ijs
    • docs(exit): close scoped exit acceptance
    • fix(deps): update zip for rustsec advisory
    • feat(exit): scope default exit capture to selected cidrs
    • feat(exit): select a unique authorized route
  • feat(exit): support local cidrs on default exits — silex
    • docs(exit): close scoped exit acceptance
    • fix(deps): update zip for rustsec advisory
    • feat(exit): scope default exit capture to selected cidrs
    • feat(exit): select a unique authorized route
  • Merge #1209: fix offline catalogue refresh per authorized Network — clark
    • docs(acceptance): record exact Quick transfer and staging replay
    • docs(acceptance): record Android membership catalogue verification
    • fix(core): refresh authorized catalogues per Network membership
  • fix: preserve unchanged consumer lease schedules across snapshot ACKs — noah
    • fix: avoid unchanged consumer lease reacquisition
  • main — ijs
    • fix(core): preserve authorized Exit catalogue identity
  • Record merged signed policy wakeup acceptance — clark
    • Record merged signed policy wakeup acceptance
  • Wake authenticated policy Snapshots on signed stream observations — clark
    • Wake authenticated policy snapshots on signed stream observations
  • fix: carry private service protocols through ns and libns — silex
    • fix(ffi): check release status against the bundled header
    • docs: record macos private service acceptance
    • docs: record native https acceptance
    • docs: record restore and native host evidence
    • docs: record standard live e2e acceptance
  • fix(ffi): reconcile private service state with p3 — silex
    • docs: record p3 public ingress retest
    • fix(mobile): validate staged bypasses against the IPv4 host plan
    • fix(mobile): retain Quick relay bypasses before TUN starts
    • docs: close current withdrawal qualification
    • docs: record current-source QA and canonical qualification
  • docs: record p3 public ingress retest — silex
    • docs: record p3 public ingress retest
  • Restore Android Quick cold start on Core main — clark
    • fix(mobile): validate staged bypasses against the IPv4 host plan
    • fix(mobile): retain Quick relay bypasses before TUN starts
  • fix: keep Network relay and Subnet withdrawal responsive — clark
    • docs: close current withdrawal qualification
    • docs: record current-source QA and canonical qualification
    • docs: retain qualified withdrawal checkpoint before upstream integration
    • fix: wake Network reinstallation when retirement completes
    • docs: record withdrawal consumer verification and timestamp prior checkpoints
  • merge: integrate current service routing retirement — quick
    • docs: record p3 gateway qualification
    • docs: record bounded relay shutdown on macos
    • fix(relay): cancel registry lookups after source retirement
    • docs: record native relay retirement diagnostics
    • docs: record p3 private service relay acceptance
  • refactor: retire legacy service routing — silex
    • docs: record p3 gateway qualification
    • docs: record bounded relay shutdown on macos
    • fix(relay): cancel registry lookups after source retirement
    • docs: record native relay retirement diagnostics
    • docs: record p3 private service relay acceptance
  • chore(merge): integrate ns main into p3 — silex
    • docs: close scoped Exit precedence acceptance
    • fix: honor scoped Exit precedence in local admission
    • docs: close mobile Exit readiness acceptance
    • docs: verify native Android Internet Exit readiness
    • fix(runtime): qualify mobile capture with native acknowledgement
  • Record completed scoped Exit precedence acceptance — clark
    • docs: close scoped Exit precedence acceptance
  • Honor scoped Exit precedence in local mapped Subnet admission — clark
    • fix: honor scoped Exit precedence in local admission
  • Merge latest main mobile Exit readiness repair — quick
    • docs: close mobile Exit readiness acceptance
    • docs: verify native Android Internet Exit readiness
    • fix(runtime): qualify mobile capture with native acknowledgement
    • docs: record Android capture withdrawal evidence
    • docs: track native mobile Exit capture readiness
  • Record completed mobile Exit readiness acceptance — clark
    • docs: close mobile Exit readiness acceptance
  • Fix mobile Internet Exit readiness reporting — clark
    • docs: verify native Android Internet Exit readiness
    • fix(runtime): qualify mobile capture with native acknowledgement
    • docs: record Android capture withdrawal evidence
    • docs: track native mobile Exit capture readiness
  • fix: restore standalone engine smoke compilation (#1207) — eleven
  • fix(core): preserve authorized Exit catalogue identity — clark

数据网关(nsgw)(19 项)

  • fix(usage): reinstall a still-current Exit or Egress grant after a completed local release — noah
    • docs: record grant authority handoff qualification
    • fix(server): preserve terminal authority across grant reinstallation
    • docs: record terminal authority latch qualification
    • refactor(exit): simplify authority refusal handling
    • fix(exit): retain observed permission expiry in authority history
  • main — noah
    • docs: record production OIDC consent acceptance
    • docs: record first-party OIDC consent migration
  • docs(oidc): record first-party consent migration — eleven
    • docs: record production OIDC consent acceptance
    • docs: record first-party OIDC consent migration
  • main — noah
    • fix(ci): track chrono maintenance advisory
    • docs: record persistent production default exit
    • docs: record production default exit qualification
    • docs: record production gateway upgrade and default exit blocker
  • test: qualify default Exit with real Docker stack — eleven
    • fix(ci): track chrono maintenance advisory
    • docs: record persistent production default exit
    • docs: record production default exit qualification
    • docs: record production gateway upgrade and default exit blocker
  • chore: merge current main into grant reinstallation fix — ijs
    • docs: correct gateway replacement startup order
    • feat: add recoverable gateway identity replacement
    • docs: record public node endpoint validation
    • docs: record home replacement handoff validation
    • fix(control): retain home dependents during verified replacement
  • feat(server): replace a gateway identity through an approved ceremony — noah
    • docs: correct gateway replacement startup order
    • feat: add recoverable gateway identity replacement
  • main — ijs
    • docs: record public node endpoint validation
    • docs: reconcile account cutover plan status
    • docs: record home replacement handoff validation
    • fix(control): retain home dependents during verified replacement
    • refactor: bound node publication startup futures
  • feat(node): advertise a configured public UDP endpoint to Nodes — noah
    • docs: record public node endpoint validation
    • refactor: bound node publication startup futures
    • fix: preserve the home relay when selecting node candidates
    • feat: advertise a configured public node UDP endpoint
  • main — ijs
    • docs: record home replacement handoff validation
    • fix(control): retain home dependents during verified replacement
  • fix(control): keep home dependents through a verified replacement — noah
    • docs: record home replacement handoff validation
    • fix(control): retain home dependents during verified replacement
  • main — ijs
    • docs: reconcile account cutover plan status
    • fix(public): use an explicit publication pointer
    • ci: export a native gateway candidate on demand
    • fix(public): recover listeners after m6 snapshot loss
  • chore: merge current main — ijs
    • docs: reconcile account cutover plan status
    • fix(public): use an explicit publication pointer
    • ci: export a native gateway candidate on demand
    • fix(public): recover listeners after m6 snapshot loss
  • main — ijs
    • docs: reconcile account cutover plan status
    • fix(public): use an explicit publication pointer
    • ci: export a native gateway candidate on demand
    • fix(public): recover listeners after m6 snapshot loss
  • docs: record the R3 plan status — noah
    • docs: reconcile account cutover plan status
  • main — noah
    • fix(public): use an explicit publication pointer
    • ci: export a native gateway candidate on demand
    • fix(public): recover listeners after m6 snapshot loss
  • Recover public listeners after temporary M6 snapshot loss — silex
    • fix(public): use an explicit publication pointer
    • ci: export a native gateway candidate on demand
    • fix(public): recover listeners after m6 snapshot loss
  • refactor: retire legacy gateway service interception — silex
    • docs: refresh the v1 deletion inventory
    • refactor(egress): retire legacy gateway startup preflight
    • refactor(egress): remove unused interception host wiring
    • refactor(egress): remove unused transparent proxy assembly
  • chore(merge): integrate nsgw main into p3 — silex
    • docs: record four-CPU archive proof qualification
    • docs: record archive quantity acceptance
    • docs: record relay load qualification results
    • docs: record archive recovery gate blockers
    • fix: preserve usage quantities across archive eviction

平台运营(admin)(2 项)

  • Use configured Admin deploy runner label — eleven
  • Show all-Network organization traffic in Admin — eleven

共享协议(ns-shared)(2 项)

  • feat: add authenticated relay custody reporting — noah
    • fix: use standard Base64 in custody transcripts
    • feat: add authenticated relay custody reporting
  • feat: carry private service protocols in versioned reports — silex
    • docs(service-control): align the floor v2 contract
    • perf(service-control): reuse decoded floor content
    • refactor(service-control): name private service protocols explicitly
    • feat(service-control): encode private application protocols