Skip to content

Network Intelligence Tests M98

Chris Sutton edited this page Nov 30, 2026 · 2 revisions

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

M9.8 — Network telemetry and asset-correlation tests (#85)

Status: accepted regression qualification of the accepted M9.1–M9.7 foundations. No operational application behavior changes.

Executable qualification

Boundary Fixture and required result
Authenticated inventory and correlation Existing mTLS fixture: duplicate ID and duplicate pin rejected without replacing either inventory record or creating a third record; IPv4/IPv6 address churn and reuse preserve each authenticated identity; passive hints remain unattributed.
Endpoint connection metadata Actual TCP loopback client on 127.0.0.2, accepted socket on 127.0.0.1: local/peer ports and addresses, caller-established acceptor orientation and unknown direction retained; stale policy denied.
UDP syslog Actual loopback sender on 127.0.0.2 shares the numeric TCP peer address; another sender on 127.0.0.3 is denied despite identical claimed hostname; malformed PRI rejected; stale generation does not consume valid pending datagram; accepted event has exact kernel tuple, unauthenticated trust and omitted body.
Passive observations and network rules Synthetic documentation addresses change while sensor binding is fixed; exact finding IDs and snapshot context preserved; reused evidence IDs across distinct stores/revisions do not make reports interchangeable; invalid second observation produces no partial findings.
Rendered relationships Existing isolated M9.6 fixture verifies unavailable, empty, approved and revoked states, demo separation, observed/inferred/unavailable descriptions, focus, compact layout and cleanup. Duplicate administrative approval attempts must leave registry bytes unchanged; repeat rendered inspection.

The new native CTest is knetsentry_network_intelligence_contract. The M9.2 and M9.6 existing tests are extended, not replaced. Run all lanes with the consolidated runner; Release and sanitizer native tests repeat five times. The existing M9.2 and M9.6 repeated gates must also report the new markers.

Security and limitations

Fixtures use only unprivileged loopback sockets, synthetic documentation addresses, ephemeral credentials and private disposable registry state. No physical LAN traffic, capture, external service, privilege, payload logging, new dependency or application linkage is added. TCP peer and UDP sender address agreement is not authenticated identity. The test explicitly exercises the unauthenticated correlation overload; it is not a production data pipeline. Synthetic caller-established evidence authorization does not verify a real store. The rendered relationship workspace remains a read-only registry and isolated fictional graph, not an operational topology. No target-host or hosted qualification is claimed until actually executed. Existing outstanding operational integrations remain open.

Maintainer acceptance: 206 local gates, 650 configured CTests, 89 structural verifiers, nine hosted checks and reported graphical review/merge. See project status.

Clone this wiki locally