Skip to content

docs(docs): Operators can see that the egress proxy is qualified on Fargate behind Squid - #67

Merged
sodre merged 1 commit into
mainfrom
t3/46-egress-proxy-fargate
Nov 25, 2026
Merged

sodre merged 1 commit into
mainfrom
t3/46-egress-proxy-fargate

Conversation

@sodre

@sodre sodre commented Nov 25, 2026

Copy link
Copy Markdown
Member

Closes #46

Summary

The tested platforms page now lists the egress proxy as qualified on ECS Fargate 1.4.0 x86-64 behind Squid 6.14, on release v0.2.2. It also says which cases were checked in the Compose demo only, and that egress proxies other than Squid 6.14 are unqualified.

 docs/reference/support.md
   ## End-to-end and deployment evidence
+  | ECS Fargate 1.4.0 x86-64, behind Squid 6.14 | v0.2.2: a sidecar Gateway under "filter" reached an mTLS site only through Squid … |
   ## Gateway hosts and the worker sandbox
   | ECS Fargate 1.4.0 | x86-64 | Qualified | … · End to end again on release v0.2.2, as a sidecar behind an egress proxy … |
   … remain unqualified: … external protected sites,
+  egress proxies other than Squid 6.14,
   and an end-to-end run of the filter sandbox on Fargate arm64

#46 asked for a Compose qualification, documentation, and a repeat on Fargate. Spec #49 and its pull request #55 built the Gateway's egress proxy, the Compose qualification and the operator guide. The Fargate repeat was the one step left: the reporter ran it on v0.2.2 and posted it on #46. This pull request records that run and closes the issue.

Evidence

#46 has no checkboxes (tick-criteria.py 46: "#46 has no acceptance criteria"), so the rows are its numbered "Requested validation".

Criterion Ticked Shown by
1. A repeatable Compose test: the site reachable only through Squid, Squid allowing CONNECT to the test hostname and port, with no TLS interception yes compose_demo.py --squid --verify
2. From one approved run, correlate Squid's successful CONNECT, the approved certificate at the site and the flag at the Workload yes compose_demo.py --squid --verify
3. A refusal at Squid and an unavailable Squid each fail with no direct retry; a site certified for the wrong hostname is still refused yes compose_demo.py --squid --verify; runtime.py, "Proxied pass: wrong hostname gets no signature"
4. The operator guide says how to set the Gateway's outbound proxy, and where name resolution and address policy happen yes #55's documentation check
4. The passing configuration repeated on Fargate 1.4.0 with worker_sandbox: "filter", the flag checked in chat yes The reporter's run on v0.2.2
The tested platforms page records the Fargate run yes mkdocs build --strict

No test is new here. #55 added the tests above, each shown red there.

  • compose_demo.py --squid --verify, with Squid 6.14 from the pinned image (its run on #52):
    • Squid logged TCP_TUNNEL/200 for CONNECT site.test:9444, the site returned the fingerprint approved in the Companion, and the Workload read the response.
    • With the grant still live, Squid refusing the site gave proxy_denied, and Squid stopped gave proxy_unavailable. Squid logged TCP_DENIED/403 with HIER_NONE and nothing, so neither reached the site.
  • runtime.py, proxied pass, in feat(gateway): The Gateway reaches protected sites through an operator's egress proxy #55: a site certified for wrong.test failed with no signature asked of the grant authority. It was red when that check was skipped: A site with the wrong certificate got a signature.
  • feat(gateway): The Gateway reaches protected sites through an operator's egress proxy #55's documentation check found docs/operate.md's section "Reach sites through an egress proxy", with its rows "Who resolves the site's name" and "Who checks the site's addresses", and the egress_proxy row of docs/reference/config.md.
  • The reporter's run, on Fargate 1.4.0 x86-64 with release v0.2.2 and Squid 6.14:
    • The image's digest, sha256:e56403fd9129c777590cd4b01b2fd8f61b8ba2e9ca616be9ce190b88439357ab, is the linux/amd64 manifest of ghcr.io/zeroae/countersign-gateway:v0.2.2 (docker buildx imagetools inspect).
    • The Gateway logged Gateway worker sandbox "filter": non-dumpable, Landlock ABI v2, seccomp allow-list.
    • A direct probe to the site timed out, and Squid logged TCP_TUNNEL/200.
    • The site saw the approved certificate's fingerprint, and the chat reply's hash matched the site's flag.
  • mkdocs build --strict, on this branch: clean. In the built page, the new row renders, and its links to #reach-sites-through-an-egress-proxy and #end-to-end-and-deployment-evidence land on headings that exist.

Not run: nothing.

Merge Danger

Door: two-way. A revert removes the row and the clause.

Blast Radius: the tested platforms page.

The merge publishes the documentation site. It ships no image, release or infrastructure, and no flag.

Reviews

No review ran: the change is one documentation row and a clause, recording a run quoted on #46

Tracking

Epic: none
Spec: none
Ticket: #46 Validate Gateway sidecar mTLS through a mandatory Squid CONNECT proxy
Flag: none

🤖 Generated with Claude Code

…argate behind Squid

The tested platforms page records the reporter's v0.2.2 run on ECS
Fargate 1.4.0 x86-64, with the Gateway under the filter sandbox and
Squid 6.14 as its egress proxy, and lists other egress proxies as
unqualified.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@sodre
sodre merged commit 5988288 into main Nov 25, 2026
38 checks passed
@sodre
sodre deleted the t3/46-egress-proxy-fargate branch November 25, 2026 23:07
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.

Validate Gateway sidecar mTLS through a mandatory Squid CONNECT proxy

1 participant