Repository navigation
Prepare isolated DHCP producer runtime and proof tools - #267
Conversation
|
The capture fix opens the PCAP in Python before starting tcpdump, while keeping diagnostics separate. Evidence validation now compares complete scope references and requires an exact boot-summary field allowlist. These are partial tooling checks; orchestration, emulator/relay runtime, authenticated collection, and packet/renewal assertions remain unfinished. |
ecv
left a comment
There was a problem hiding this comment.
Request changes.
This PR names one of our real sites, and a router model, in this public repo:
config/site/dhcp/producer/README.md:85hack/dhcp/staging-proof.md, lines 438 and 455hack/dhcp/staging-proof.py:590,597hack/dhcp/staging-proof-test.py
Use generic wording, and read the excluded site from the manifest or an environment variable rather than a literal.
The runtime is safe:
- Both bases are pinned by sha256, and the final image is distroless nonroot with no secrets.
boot.yamlruns non-root with all capabilities dropped and a read-only root, nohostNetwork, and a ClusterIP Service only.- The proof fixtures use documentation addresses.
ecv
left a comment
There was a problem hiding this comment.
Approve.
No site or router names remain. The proof verifier now reads its excluded sites from excludedSites in the config, which must be a non-empty list of plain identifiers, instead of a hardcoded literal. The runtime is unchanged:
- pinned bases and a distroless nonroot image
- no privileges, no
hostNetwork, a read-only root - a ClusterIP Service only
Summary
Package a minimal Go-only site runtime and opt-in producer configuration sharing the actual worker journal and boot evidence. Add input preflight, partial IPAM/admission/feed evidence verification, and bounded client capture in a prepared isolated network namespace. Stacked on #265; this is preparation, not a completed integration runner. Operation orchestration, a disposable emulator, isolated relay routing, authenticated collection, and packet/renewal assertions remain unfinished.
Validation
Scope
Environment-specific identities, topology, exclusions, credentials, and image pins are operator-supplied inputs. No cluster deployment or end-to-end lease validation was performed; this does not establish readiness for a real site.