Add docs/two-host-pq-manual-test.md — the human-redo procedure for the
two-machine post-quantum test over real NICs, real TUN/TAP and systemd.
Every command was executed against both live hosts before being written
down; testing caught three errors in the draft (identity address
extraction, swapped ping directions, and the HELLO sizing claim below).
Correct docs/pqc-test-scenario.md, which still described the pre-fix
design: PQ material does NOT ride in HELLO. Peer.cpp:527 serializes only
the classic identity projection, so a hybrid HELLO is 185 B / 1 fragment
in both modes and the ML-KEM ciphertext arrives in a separate
VERB_PQ_KEYS frame. That is precisely why the controller compares classic
material (B6) and why a 6415 B identity would blow the fragment budget.
Confirmed on a live capture: 50 HELLOs with cap=1, 1 VERB_PQ_KEYS frame.
The 2.0.0 test matrix is kept but labelled historical, since its rationale
is still worth having.
An aborted CMake run in ext/redis-plus-plus-1.3.3/ left a build/ directory
of compiler-detection files that nothing consumes -- make-linux.mk:345
links the prebuilt library under install/, which stays tracked (58
files). Anchored rule so sibling build dirs in ext/ are unaffected.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
A PQ node could complete the hybrid handshake and still never join the
network: status ACCESS_DENIED, peers [], frames dropped. Three separate
defects, none in the key exchange itself.
1. EmbeddedNetworkController::_request gated known members with
Identity(haveIdStr) != identity. HELLO carries only the classic
projection (Identity::serializeClassic), so peer->identity() stays
type 0 while a stored record is type 1, and operator== -- which
compares PQ material -- always reported a mismatch. Use the existing
sameClassicalIdentity(); PQ key rotation stays detectable via
VERB_PQ_KEYS.
2. Peer::setPQPublicKeys() cached the received PQ keys for the crypto
path only and never wrote them into _id. The controller's identity
therefore stayed type 0 in every table, com.verify() returned 1, and
Membership deferred for WHOIS forever -- a WHOIS cannot help, the
keys arrive in VERB_PQ_KEYS. Add Identity::attachPQPublicKeys() and
call it so the peer's Identity is complete once keys arrive.
3. OneServiceImpl::run constructed an EmbeddedNetworkController
unconditionally, so a member-only node answered its own
NETWORK_CONFIG_REQUESTs and self-signed a local config, never
contacting the node that owned the network. Add
settings.disableController (default false, so existing installs are
unchanged) for member-only nodes.
Verified live on two hosts with pqcMode: hybrid on both sides: status OK,
peer DIRECT over 192.168.122.85/9993, pqcCapable and pqcHybridActive true
both directions, ping 0% loss both ways, selftest exit 0.
The selftest regression covers the controller match and keeps rejecting an
impostor identity at the same address.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Version scheme diverges from upstream zerotier-one 1.14.1. Covers version.h, RPM/deb packaging, mac pkgproj, Windows aip, release notes, security matrix.