mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-12-03 18:43:38 +01:00
The config layer already refuses to consolidate two same-named clusters whose TOFU-captured TLS fingerprints contradict, and node aggregation keeps any two same-named clusters from different connection instances apart unconditionally. Two gaps remained one layer down. First, the endpoint-IP agent match bypassed the contradiction guard entirely, so two sites reusing RFC1918 addressing (the MSP support case: pve01 on 192.168.1.11 at both sites) still bound the second site's node to the first site's host agent, attaching the wrong machine's telemetry. Second, the unconditional split had no way to recognize the legitimate duplicate - the same cluster added twice through different member addresses with no config-level endpoint overlap could never fold back into one node slot. The aggregation layer now receives the config layer's identity evidence: each PVE node carries the TLS certificate fingerprint of its own named endpoint record (standalone nodes carry the instance fingerprint; a cluster member never inherits the instance-level fingerprint, which pins whichever member the connection URL reaches). Same-named clusters from different instances merge only when both views carry the same fingerprint; contradicting or unknown evidence keeps the fail-safe split. Agent binding applies the identical doctrine: hostname and address matches are rejected when the candidate agent's linked nodes live in a different named cluster or carry a different fingerprint, closing the previously unguarded endpoint-IP path. Reported via support by an MSP whose sites reuse cluster names, node names, and RFC1918 ranges. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>