Skip to content

Live Lan Integration Live1

Chris Sutton edited this page Dec 2, 2026 · 2 revisions

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

LIVE1 — Local LAN observations and desktop-owned lifecycle

Status: accepted pre-M10 increment; limited real local acquisition, not operational SIEM integration. Accepted baseline: M9.8.

Launch and lifecycle

Run ./build/presets/linux-release/apps/desktop/knetsentry as the ordinary user in an X11 or Wayland graphical session. The desktop automatically starts its existing owned unprivileged development manager. A session dialog lists eligible interfaces and private IPv4 prefixes. Select only a network you are authorized to monitor and approve; no acquisition occurs without approval. Approval is session-only, deliberately not remembered across launches. The manager must be available before approval. Stop clears observation data and requires another explicit approval. Closing the desktop stops its local timer, clears the session and gracefully stops/reaps its owned manager. A Linux parent-death SIGKILL guard prevents the owned child continuing after abrupt owner death; private stale IPC entries may remain for review. No other service or endpoint is stopped or started. Existing explicit IPC, agent-status pipe, text-only and offscreen self-test modes remain isolated from ordinary acquisition.

Scope and observations

An eligible binding consists of an up/running non-loopback, non-point-to-point interface name/index, exact IPv4 address and contiguous RFC1918-only /8–/30 prefix. Candidate selection is not authority by itself. No automatic default adapter selection grants collection. Candidates can include virtual interfaces; the operator must select the intended authorized physical or virtual LAN. Every sample checks the exact binding before and after acquisition. The existing Linux topology watcher invalidates approval on link/address/route or other subscribed changes, notification loss or namespace mismatch; reapproval is required. These are sampled checks, not a proof of physical network identity.

Source Presentation Limitation
/proc/net/dev Interface RX/TX total bytes and sampled KiB/s Entire interface, including Internet traffic; not LAN-only counts, packet attribution or a security verdict.
/proc/net/arp Unique qualifying cached IPv4 neighbor addresses, max 128 Cache may be stale, static or spoofed; not an authenticated asset, discovery inventory, MAC record or reachability check.
/proc/net/tcp Established IPv4 socket count for selected local address and same-prefix peer Host socket snapshot only; no process, peer details, ports, direction, actual packet path, remote-device connections or IPv6.

Kernel snapshots are bounded at 1 MiB each and 4096 rows, candidate inventory at 64. Over-cap, unavailable, malformed applicable input or topology failure clears results rather than exposing misleading partial counts. Sampling occurs every two seconds on the desktop event loop using local procfs and interface queries; this is bounded work, not an independently verified real-time deadline. Counter reset or a gap longer than 10 seconds makes that rate unavailable. The sources are separate, non-atomic snapshots. The kernel table contains other entries transiently during parsing; only the selected scoped values and aggregate interface counters are displayed. No raw table, MAC, process, user, payload or credential information is saved, logged or forwarded by this component.

Security and release limits

This is a read-only, unprivileged, local acquisition path independent of the manager's lifecycle-only transport policy. It makes no outbound network requests, scans, raw packet captures, DNS queries, firewall changes, or remote agent deployments. It grants no enrollment, capture, transport, detection or response authority. TB-01/TB-03 and existing KS-NET scope and privacy requirements remain applicable; no approval or deployment policy is weakened. The persistent coverage band must continue to report that live SIEM detection and full network coverage are unavailable. No findings are synthesized from neighbors or empty samples. No new third-party dependency is added.

Remaining operational integration includes the approved acquisition broker for packet metadata, gateway/device syslog, authenticated optional-agent sessions, durable event admission and evidence integrity, scheduling and alert publication, real asset relationships and live dashboard/wallboard integration. Ordinary switched Ethernet or Wi-Fi visibility does not include all peer-to-peer traffic. Do not close outstanding operational issues on LIVE1 alone.

Qualification

The native CTest exercises exact scoped parser output, invalid bindings, no-consent refusal, malformed/truncated input, caps, duplicate neighbors, in-scope vs out-of-scope TCP endpoints and empty vs unavailable data. The rendered non-sanitized CTest starts the actual owned manager using the ordinary startup branch and closes the actual window; it never authorizes LAN acquisition. The optional administrator-requested --full runner creates a separate private network namespace with two fixture veth interfaces and no default route, inserts a synthetic static neighbor and holds a local TCP connection. The unprivileged native test must read the exact expected kernel metadata, and deny a withdrawn binding after the selected link is brought down. This does not exercise physical LAN traffic or prove packet path. Namespace teardown is process-owned. All public CI tests use synthetic or isolated local inputs, not actual operator LAN metadata. Full target-host qualification and actual authorized LAN review remain required. Parent-death behavior and topology invalidation on a real desktop remain separately unqualified until observed/tested.

Initial target-host build follow-up

The initial Ubuntu 26.04 Analysis build rejected a local variable shadowing collision between the graphical platform name and the existing platform motion duration self-test (-Werror=shadow). The follow-up gives these values distinct names without changing launch eligibility or reduced-motion checks. The LIVE1 source verifier checks the separation; the strict configured compiler remains the authoritative build gate. No warning suppression, test removal or change to monitoring authority is introduced. The initial run stopped at compilation; the corrected candidate subsequently passed 210 local gates, nine hosted checks and reported actual LAN manual review and merge. See LIVE2 for the next candidate.

UX7 relocates the observation summary to the global footer and the Local LAN button to Settings → Network scope. The original startup authorization prompt and explicit session consent/withdrawal remain unchanged.

Clone this wiki locally