UDPcast multicast transport
Illustrative mockup — not a screenshot. All receivers must pass the READY gate before multicast starts.
Feclora uses UDPcast only as a data-plane file transport. TLS authenticates the Server to each Client, but the current protocol does not cryptographically authenticate Clients. The control plane enforces job scoping, readiness, local target authorization and result reporting; the reported MAC address is the operational Client identifier. A UDPcast rendezvous packet, multicast membership or source IP is never proof of identity.
Implemented adapter boundary
feclora.network.udpcast provides:
- strict IPv4 multicast/interface/port/TTL/bitrate/FEC configuration validation;
- shell-free
udp-senderandudp-receiverargv builders; - a sender gate requiring the deployment coordinator to be explicitly armed, plus source artifact size/SHA-256 checks;
- receiver staging into a private mode-0600 temporary file, with a free-space preflight and exact expected-size check;
- a separate post-reception verification step that parses the manifest and checks the complete staged artifact SHA-256 and byte count.
The adapter does not write to block devices, select a restore target,
authenticate clients, establish TLS, or mark a deployment client successful.
Its firewalld scope is integrated with the existing temporary PXE zone when
both use the same firewall-manager instance.
The caller must complete the TLS 1.3 Server-authenticated control handshake,
associate the Client’s reported MAC with the selected job entry for operational
scoping, collect local target authorization/readiness, and call the coordinator
before the sender function. The reported MAC address is not cryptographic proof of machine identity. On the receiver, the Server-authenticated TLS control service must deliver the
expected manifest metadata and target authorization over the authenticated
TLS channel independently of UDPcast. Only after verify_staged_multicast_artifact succeeds may the
existing protected restore workflow be called. Keep the staged file until the
restore workflow has completed and recorded its per-client result.
Network contract
- Data and rendezvous groups are distinct IPv4 multicast addresses.
- Portbase is even; UDPcast uses portbase and portbase+1. Both peers must use the same portbase.
- TTL defaults to 1; increase only after explicit multicast-routing review.
- The sender does not use UDPcast
--autostart; its process starts only after the deployment coordinator is armed.--nokbdis used because Feclora owns the explicit start gate. - The default bitrate is 100 Mbit/s, with a hard configuration ceiling of 10 Gbit/s; FEC is optional.
- A firewalld manager is mandatory. If the PXE zone is already active in the same manager, the adapter temporarily adds only these UDP ports and removes them afterwards, preserving DHCP/TFTP/HTTP rules. Otherwise it creates a temporary interface-exclusive zone with only the UDPcast ports and restores the prior interface assignment on exit.
UDPcast uses a two-port base and its multicast rendezvous/data-address options; see the udp-sender manual and upstream command-line documentation.
Integrated behavior and remaining acceptance work
The authenticated control service, persistent job journal, Client-side whole-disk and partition restore dispatch, manifest delivery over the authenticated control channel, private staging, verified artifacts and per-client terminal results are integrated. Manifests are schema-validated and each artifact is checked against its recorded byte count and SHA-256 digest when delivered through the Server-authenticated TLS control channel.
- The deployment job binds
target_typeto the authenticated manifest’simage_type. A disk job cannot be paired with a partition manifest or vice versa. - Partition restore targets an already existing local partition. The Client selects it locally, verifies capacity and safety constraints, and requires explicit typed authorization. Feclora does not create, resize or repartition targets.
ageencryption is optional and must not be required for ordinary Feclora operation. When enabled, artifacts are encrypted for the configured recipient inventory. When disabled, UDPcast provides no payload confidentiality; use a trusted isolated network or another configured encryption layer.- The manifest is delivered over the Server-authenticated TLS control channel and bound to the authorized Server identity. SHA-256 digests bind each UDPcast payload to the manifest delivered over that channel. This does not add per-datagram authentication to UDPcast and cannot prevent denial of service.
- Sender and receiver check local interface UP/MULTICAST flags, IPv4 address, kernel route to the multicast group and required UDPcast executable. Switch IGMP snooping and querier state cannot be proven from an endpoint and remains an operator check.
- Per-client live byte progress and streamed UDPcast metrics remain pending. Terminal per-client results, cancellation and cleanup are implemented.
- Sender/receiver behavior still needs automated integration execution and real BIOS/UEFI multi-VM acceptance. This document is not evidence that those tests passed.
Optional encryption and integrity
UDPcast is a transport and does not encrypt or authenticate its data plane. Age may be enabled for artifact confidentiality; when disabled, UDPcast provides no payload confidentiality, so use a trusted isolated network or another configured encryption layer.
The manifest arrives over the Server-authenticated TLS control channel. SHA-256 checks detect artifact corruption and bind received bytes to the manifest provided over that channel, but they do not provide per-datagram authentication or prevent denial of service.