Skip to content

docs: host egress table, DIY host checklist, pithead doctor --host-egress and new-egress checklist #4156

Open

Description

@pithead-developer

What's the problem

The privacy documentation does not describe what the host itself sends, and part of it is wrong or hand-maintained. docs/privacy.md has a build and setup egress table written by hand, so it drifts from the code. Line 257 lists container images from ghcr.io, quay.io (Tari) and Docker Hub, but a grep of docker-compose.yml and os/quadlet on origin/develop finds no quay.io reference, so that part is stale. There is no host-egress table, no checklist for DIY owners (whose host is theirs), no read-only way to check a host, and no checklist for a developer adding a new outbound call.

What it impacts

Owners who rely on the privacy claim, DIY owners who need to know what only the container fence covers, and developers who could add a new outbound path without a privacy row, a Tor route or a netwatch negative test.

How I found it

Reading docs/privacy.md on develop (line 257) against docker-compose.yml, the quadlets and the egress inventory from the Tor-only plan. The grep found no quay.io in compose or quadlets. Whether a built image or a Tari reference elsewhere still uses it is not checked.

How important is it

Medium. It does not block #4154 (step 9: enforce the firewall) on correctness, but the Tor-only claim must be documented accurately before 2.0.5 ships, and DIY owners need to know exactly what is and is not covered (owner ruling 2026-11-16: DIY claims only the container fence plus Tor-routed commands).

Acceptance criteria

  • docs/privacy.md has a host egress table rendered from the egress map data created in Truth first: log-only egress firewall, netwatch in a KVM leg, honest dashboard labels, egress map as data #4145 (step 1: log-only firewall and netwatch), with a test that fails if the rendered table and the map differ.
  • The registry row is corrected to match the images the compose files and quadlets reference, the stale quay.io entry is removed or justified, and every image reference is shown as fully qualified.
  • A DIY host checklist says what the owner must set (uplink IPv6 off, no NTP, resolver pointed at Tor, outbound policy) and states plainly that Pithead claims only the container fence and Tor-routed commands there.
  • pithead doctor --host-egress is read-only (no write, no network change; test asserts this), reports the host's resolver, time sync, IPv6 and firewall state against the checklist, and exits non-zero on a mismatch.
  • The developer docs have a new-egress checklist: Tor route, fail-closed behaviour, a netwatch negative test, an egress map entry and a privacy row, all in the same change, and it links the grep gate from Proof gate: netwatch relay-set test, required five-window KVM leg and new-egress grep gate for Tor-only egress #4153 (step 8: proof gate).

Possible solutions

  • Render the table with a small script over the egress map, checked in CI like the openapi-style drift checks already used elsewhere.
  • Build the doctor report from the same data as egress-status so the two agree.
  • Keep the developer checklist in docs/dev next to the existing egress notes rather than a new file.

Sibling work: #4144 (tracker).

Activity

  1. added this to the v2.0.5 milestone on Nov 16, 2026
  2. added
    documentation
    security
    operator-action
    on Nov 16, 2026
  3. added
    blocked
    on Nov 16, 2026
  4. pithead-developer commented on Nov 16, 2026

    @pithead-developer
    ContributorAuthor

    Blocked on #4154.

    The docs describe the enforced egress firewall, so they follow step 9 and still land before the release (rollout order in #4144).

  5. removed
    operator-action
    on Nov 16, 2026
  6. pithead-architect commented on Nov 27, 2026

    @pithead-architect

    Release regroom (owner request, 2026-11-27): moved from v2.0.5 to v2.0.6. Blocked by #4151 / #4154, which the owner moved to 2.0.6 today; proof and docs follow what they prove.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    blockeddocumentationsecurity

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions