Skip to content

feat(modes): add authenticated host bridge with exact rollback - #18

Merged
ghptc merged 1 commit into
masterfrom
feat/authenticated-rcon-mode-bridge
Oct 27, 2026
Merged

ghptc merged 1 commit into
masterfrom
feat/authenticated-rcon-mode-bridge

Conversation

@ghptc

@ghptc ghptc commented Oct 27, 2026 •

Copy link
Copy Markdown
Owner

Adds a disabled-by-default root-owned C4M1 bridge to the existing mode controller. Linux peer credentials bind requests to the inspected production engine PID, executable inode and container cgroup; only fixed mode targets and durable nonce IDs are accepted. Both immutable images require independent qualification, image-bound security review and explicit activation approval.

Detached workers survive engine replacement; shared deployment leases, durable orphan markers and journaling serialize transitions. Failed switches restore the exact previous image, Compose configuration and archived private home bytes. Homologation is untouched. No rebuild, checkout or download happens during switching. See docs/authenticated-mode-bridge.md for threat model, recovery and gated installation.

Validation: 67 Python tests, existing mocked operations suite, 12/12 disposable Compose checks (real Docker recreation, published UDP from another network namespace, exact private-byte rollback, homolog sentinel isolation and kernel credential binding). Fixture evidence: /tmp/c4-mode-test-56f39bbe23-ces3j3ij/results.json. Fixture images are authored UDP responders, not games; this does not qualify live-image transitions or a different-machine external observer. Companion engine: ghptc/cod4x-server#26.

Independent security review approved source/local qualification with no blocking finding and independently passed engine79/workspace67 plus full mocked Operations. Existing Operations CI passed. This is not production activation approval.

No services installed or changed; no approvals overwritten. Real-image operator qualification, protected admin transport and explicit production activation remain mandatory. Do not merge/deploy automatically.

@ghptc
ghptc marked this pull request as ready for review October 27, 2026 18:55
@ghptc
ghptc merged commit 1c18eb0 into master Oct 27, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant