From ecd6d86be15852ea82577da1842e93866b5c0277 Mon Sep 17 00:00:00 2001 From: dsutanto Date: Thu, 8 Oct 2026 10:39:01 +0000 Subject: [PATCH] release: 2.0.3 Bump ZEROTIER_ONE_VERSION_REVISION 2 -> 3 and carry the release into the packaging metadata: backone.spec Version plus a changelog entry, debian changelog, and RELEASE-NOTES.md. Release notes cover the pqconly enforcement work landed in 2e2b091: the mode enforced nothing and was indistinguishable from hybrid, the first gate still missed the config-serve direction that actually grants membership, and the hybrid downgrade warning. Notes the _hybridCapable latch as a known limitation rather than leaving it undocumented. Verified on a clean rebuild: binary reports 2.0.3, startup smoke exit 124 (healthy, no SIGSEGV), selftest exit 0. --- RELEASE-NOTES.md | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ backone.spec | 7 ++++++- debian/changelog | 8 ++++++++ version.h | 2 +- 4 files changed, 63 insertions(+), 2 deletions(-) diff --git a/RELEASE-NOTES.md b/RELEASE-NOTES.md index 1e03801..546cea3 100644 --- a/RELEASE-NOTES.md +++ b/RELEASE-NOTES.md @@ -1,6 +1,54 @@ ZeroTier Release Notes ====== +# 2026-10-08 -- Version 2.0.3 + + * Fix: `pqconly` enforced nothing. The mode selected a type-1 identity, then + every handshake gate tested only `pqcMode() != CLASSIC` -- identical to + `hybrid` -- so it distinguished nothing and refused no peer. A node in + `pqconly` carried traffic with a fully classical peer at 0% loss, with no + log line and no way to detect it except reading `pqcHybridActive`. + + `pqconly` is now a policy. A non-capable, non-root peer is refused + `VERB_NETWORK_CONFIG`, `VERB_NETWORK_CREDENTIALS` and + `VERB_NETWORK_CONFIG_REQUEST`, each counted, with a one-time WARNING per + peer. PLANET/MOON are exempt: all four Earth roots report + `pqcCapable:false` and enforcing against them would cut the node off from + the root topology. Peering itself is still allowed -- what is refused is the + network coming up over a link that cannot be PQ-protected. + + * Fix: the first version of that gate still let a classical peer join, because + membership is granted by the *serve* direction. A classic peer asks the + `pqconly` node's controller for its config, and the node enforcing the + policy was the one handing it over; the two receive-side gates could not see + it. The counter was incrementing in the unrelated direction the whole time, + which is what made the false assurance look like a pass. + + * Add: `hybrid` keeps its silent classical fallback -- that is its contract -- + but now logs a downgrade WARNING once per peer, re-armed on recovery, so a + downgraded link is no longer invisible. + + * Add: `/peer` reports real `pqcCapable` / `pqcHybridActive` per peer, taken + from `Node::peers()` rather than copied from the `ZT_Peer` snapshot, which + never populated them and so always read `false`. + + * The gate keys on `_hybridCapable`, not `hybridSessionKeyInstalled()`: the + encapsulating peer stages its hybrid key until the confirm tag arrives, so + gating on the installed key would reject a healthy PQ peer for the whole + staging window. + + * Verified on a two-host lab, clean rebuild, selftest exit 0: `pqconly` versus + a classical peer now sits at `REQUESTING_CONFIGURATION` with no assigned + address and 100% loss (was `OK` at 0% loss); two `pqconly` nodes hold 0% loss + in both directions with no false rejection. + + * Note: `_hybridCapable` is latched at HELLO and not cleared. A peer that + downgrades without restarting keeps its stale bit until its next HELLO. Not + currently exploitable -- capability is re-advertised every HELLO and the mode + only ever refuses non-capable peers -- but a peer that restarts into a + classical identity with the same home path will be refused until its + controller path is re-negotiated. + # 2026-10-07 -- Version 2.0.2 * Fix: post-quantum hybrid handshakes never completed. A peer's identity is diff --git a/backone.spec b/backone.spec index 00bbae1..5aa1768 100644 --- a/backone.spec +++ b/backone.spec @@ -1,5 +1,5 @@ Name: backone -Version: 2.0.2 +Version: 2.0.3 Release: 1%{?dist} Summary: BackOne global ethernet switch @@ -155,6 +155,11 @@ chmod 0755 $RPM_BUILD_ROOT/etc/init.d/backone %endif %changelog +* Thu Oct 8 2026 Dedy Sutanto - 2.0.3 +- pqconly now enforces a PQ-capable peer on member traffic, including on the + config-serve path. Previously it enforced nothing and behaved identically to + hybrid. See RELEASE-NOTES.md. + * Wed Oct 7 2026 Dedy Sutanto - 2.0.2 - see https://github.com/proitlab/BackOne for release notes diff --git a/debian/changelog b/debian/changelog index 3df0cce..aca5a8b 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,11 @@ +backone (2.0.3) unstable; urgency=medium + + * pqconly now enforces a PQ-capable peer on member traffic, including on the + config-serve path. Previously it enforced nothing and behaved identically + to hybrid. See RELEASE-NOTES.md. + + -- Dedy Sutanto Thu, 08 Oct 2026 00:00:00 +0700 + backone (2.0.2) unstable; urgency=medium * See RELEASE-NOTES.md for release notes. diff --git a/version.h b/version.h index 3ada910..6460c5e 100644 --- a/version.h +++ b/version.h @@ -27,7 +27,7 @@ /** * Revision */ -#define ZEROTIER_ONE_VERSION_REVISION 2 +#define ZEROTIER_ONE_VERSION_REVISION 3 /** * Build version