Skip to content

Live Manager Device Live6D4 4

Chris Sutton edited this page Nov 30, 2026 · 1 revision

Published documentation mirror. Edit the source through a repository PR. See Project status.

LIVE6D.4.4 — Explicit manager device ingress and durable typed evidence (maintainer-reported accepted)

LIVE6D.4.3 scoped executable integration was accepted with 239 local gates, 104 structural verifiers, 682 configured CTests and nine hosted checks on 4e690da; the maintainer reported manual verification and merge. The isolated virtual attachment refusal and separate manager TCP/TLS fixture passed. Positive actual agent physical-LAN operation (LIVE6D.4.3B) remains outstanding.

Authorization

The foreground manager accepts --device-profile ABS_DIR --device-evidence-dir ABS_DIR only with distinct existing private --ipc-dir ABS_DIR and --audit-dir ABS_DIR. This initial device-only mode excludes event-store, enrollment, authenticated ingress, indexing and alert options. Ordinary and installed lifecycle-only startup are unchanged. The manager never runs as root.

The profile directory and evidence directory must be owned by the manager user, mode 0700, on the approved local filesystem classes (ext4, XFS, Btrfs, tmpfs, overlayfs); symbolic directory ancestry is refused. The profile's device.conf is a single-link, mode 0600 ordinary file, bounded to 2048 bytes. Its explicit plaintext consent and scope use the following ASCII token grammar:

KSD1 allow-unauthenticated-udp GENERATION INTERFACE LOCAL_IPV4 NETMASK PORT SENDER_IPV4 [SENDER_IPV4 ...]

The nonzero generation labels the approved configuration, not a persistent anti-rollback epoch. Existing LIVE6C binding, private on-link sender scope, 1–64 distinct numeric senders, 1024–65535 port, 1024-byte datagram limit, 20 ms receive pacing and one accepted observation per sender per second apply. No wildcard, DNS, replies, privileged listener, discovery or firewall modifications. Current profile contents and directory identities are sampled every service turn; current topology and exact observed fields are rechecked before commitment. Changing or withdrawing the profile or storage, or losing topology, stops the manager. There is no automatic reauthorization.

Typed storage and auditing

The separate device-observations-v1.bin ledger is not a journal-event database. It is opened under an exclusive directory lock and created only for explicitly approved device ingress. Existing records are validated before readiness. A fixed 128-byte big-endian record contains twelve unsigned 64-bit fields:

  1. Domain/version/trust marker 0x4b53445544503101 (unauthenticated UDP).
  2. Monotonic stream-local ordinal.
  3. Receiver-local observation time in milliseconds.
  4. Approved profile generation.
  5. Observed interface index.
  6. Numeric sender IPv4.
  7. Numeric destination IPv4.
  8. Observed sender port.
  9. Approved destination port.
  10. Untrusted syslog facility.
  11. Untrusted syslog severity.
  12. Observed datagram length.

The final 32 bytes are SHA-256 of previous digest (all zero for the first record) followed by the 96 field bytes. No message body, asserted hostname, credential, enrolled endpoint identifier or synthetic journal identity is stored. The ledger permits at most 8192 records (1 MiB logical data). No rotation, deletion, repair, truncation or fallback is performed. Reopening validates each record and the complete chain. File ownership, mode 0600, single link, expected size, identity and change time are sampled during operation. Creation syncs file and directory; append uses exact positional write, fdatasync and exact readback. The chain is not an external signature or completeness proof; full deletion or suffix removal before restart and same-UID rewriting are not independently prevented. Explicit restart can create a missing ledger; investigate absence rather than treating it as proof that there was no earlier evidence.

Fixed audit events are device_ingress_authorized, device_receipt_authorized, device_receipt_committed. The first precedes listener activation; receipt authorization precedes append; successful completion follows sync/readback. Audit and ledger are separate durability boundaries. An append can survive failed completion audit; UDP has no application acknowledgement, retransmission or deduplication guarantee. Separate datagrams are separate observations. The existing 1 MiB service audit limit can be exhausted before the device ledger reaches capacity. Capacity or storage/audit failure terminates the manager; it does not silently continue. Socket reception and synchronous storage run in the existing serialized service owner; blocking storage can delay IPC, shutdown and withdrawal. No hard watchdog or independent freshness supervision is claimed.

Security, scope and qualification

TB-02/TB-03 (device acquisition and local scope), TB-05/TB-07 (manager and durable storage), TH-004/005/006/019 and KS-NET-001/003/005/006/007/031/033/041 remain applicable. Numeric allowlisting is not authentication; syslog priority is not security alert severity. Device evidence is not inserted into the authenticated SQLite event store, searchable through EVENTS, attributed to verified assets or fed into operational detection. Dedicated read/query integration, multi-source coexistence, device interoperability, production retention and extended qualification remain outstanding. LIVE6D.4.3B is not closed by this increment.

Target qualification: existing seven CTest inventories (682), 105 structural verifiers and 241 local gates with --full --refresh-installed-manager. Existing repeated manager runtime tests require the device configuration refusal marker. The new isolated two-namespace fixture uses the actual unprivileged manager, valid/denied/malformed/rate-limited synthetic UDP input, exact typed record and digest checks, restart, profile withdrawal and corrupt-ledger refusal. It requires explicit administrator invocation through the existing runner and never configures production interfaces or firewall rules. Real gateway setup is not required. The positive isolated fixture remains target-host qualification.

Maintainer reported successful full local acceptance, manual review, hosted CI and merge. Upload failure prevented independent inspection of the new log and revision. The separate physical endpoint qualification remains open.

Clone this wiki locally