feat(network): verify selected uplinks, roll back failures and manage NetBird policy
This commit is contained in:
@@ -67,3 +67,59 @@ rollback release. No secrets or raw telemetry belong in this document.
|
||||
A prepared N006 and an empty-dpkg-status dependency simulation are not evidence
|
||||
of installing on a clean OS image. Clean Ubuntu execution, reboot, Wi-Fi handover,
|
||||
new standalone clients and fleet load still require separate qualification.
|
||||
|
||||
## Native QUIC transport and Mac policy (2026-11-14)
|
||||
|
||||
The VPS owner package 0.1.10 supplies the pinned official NetBird 0.82.0 native
|
||||
relay with TLS and QUIC on TCP/UDP 8444. The management URL remains unchanged.
|
||||
STUN remains on UDP3478, now owned by the standalone relay; placing a `relay`
|
||||
field in the upstream combined server configuration does not configure that
|
||||
component. Update an existing owned server with `relay-plan`, inspect its exact
|
||||
hash, then `relay-apply --plan-sha256 ...`; `relay-plan --rollback` and
|
||||
`relay-rollback` preserve peer keys, the database and other VPS services.
|
||||
The relay renew timer tracks the existing Caddy certificate. Private metrics
|
||||
are blocked on external interfaces. See the VPS repository's native operations.
|
||||
|
||||
On Mac, new owned connections request `--network-monitor=false`; existing
|
||||
connected profiles need the separate deterministic package built by
|
||||
`scripts/build_netbird_policy.py` (policy 1.0.2). Its root-authorized plan reads
|
||||
the protected active profile, checks the owning Core server and NetBird version,
|
||||
then its apply invokes the official CLI **as that profile's user**, using the
|
||||
verified existing profile ID. In NetBird 0.82.0 plain `up` returns "Already
|
||||
connected" without applying new flags. An explicit existing profile is therefore
|
||||
needed for the native reconnect. The package verifies all persisted fields and
|
||||
peer/IP identity and rolls back the flag if acceptance fails. No launchd edits,
|
||||
replacement VPN client, direct key edits or new enrollment are involved.
|
||||
The Mac CLI migration is a separate maintenance artifact, not an automatically
|
||||
run frontend action. An already-connected older profile is not silently migrated
|
||||
by the normal connect button.
|
||||
|
||||
Node152 adds passive proof for QUIC's unconnected UDP socket. It matches the
|
||||
advertised active relay, NetBird's socket cgroup/local port, selected interface,
|
||||
source/destination IP and port, and the marked kernel route. The bounded observer
|
||||
reads header bytes only, sends nothing, stores no packets, stops after 0.6s or
|
||||
512 frames, and fails closed when idle, unsupported or unauthorized. Existing
|
||||
TCP/P2P proof and authenticated Core acknowledgements remain required. The owner
|
||||
explicitly approved adding CAP_NET_RAW/AF_PACKET to the restricted uplink service;
|
||||
this expands service privileges and is carried in the versioned Debian package.
|
||||
The Node binary, UI, motor runtime and routing policy are unchanged from151.
|
||||
|
||||
Prepared-Ubuntu qualification and isolated Linux namespace tests are required.
|
||||
The latter cannot run in the host network namespace. A stationary camera check
|
||||
with recorded actual-path proof is distinct from a physical drive, weak coverage,
|
||||
clean OS installation or deliberate cable/power loss. Private evidence is under
|
||||
`outputs/netbird-quic-20261114`; do not interpret the first camera-on-quic run as
|
||||
LTE acceptance: Node151 failed QUIC proof and used Wi-Fi during that run.
|
||||
|
||||
Stationary acceptance on 14 November completed two 220-second Ethernet/QUIC runs
|
||||
with a live X4 preview. All 440 Core observations were fresh; all 389 recorded
|
||||
physical-path proofs selected Ethernet. Across 4204 HTTP telemetry exchanges,
|
||||
medians were 53/54 ms, p95 was 125 ms, maxima were 416/218 ms; errors were zero.
|
||||
The remaining 416 ms event includes retransmission of an inner TCP segment and
|
||||
is not claimed eliminated. Both passive DEV recordings closed without dropped
|
||||
records. Mac audit found no engine restarts from 17:06 through 17:28 local time.
|
||||
No physical motion, cold boot, deliberate link removal or Mac network handover
|
||||
was performed. Next acceptance is a short operator-controlled drive, not a
|
||||
long-distance mission. Qualified Node152 and VPS0.1.10 artifacts were published
|
||||
through the owning installer catalog and download hashes verified. Detailed
|
||||
conditions and limitations remain in `outputs/netbird-quic-20261114/REPORT.md`.
|
||||
|
||||
Reference in New Issue
Block a user