docs(oidc): record Run 95 private proxy readiness failure and verified cleanup
This commit is contained in:
1 parent
79dac4f5bb
commit
52b2169104
15 files changed
+117
-6
No files matched your search
@@ -51,3 +51,5 @@ Future feature additions need an evidence-backed status update here, an exact de
|
||||
|
||||
|
||||
**P05-OIDC-03-A02 terminal update:** Gitea [Run #93](https://dev.ivib.cc/vibtools/ZitPlane/actions/runs/93) **COMPLETED FAILURE** (job #206 executed) after prior queued status. Four healthy services, portless networking, private Traefik Host route PASS. Socat `SOCKET_BIND_ERROR` and Python fallback `ADDRESS_IN_USE` on private `127.0.0.1:8080` **BLOCKED** further steps; actual listener not identified. Real client/user creation, Chromium Login V2, Auth.js callback/session, negative access and logout **NOT EXECUTED**. Mandatory owned-only cleanup **PASS**. Full authenticated OIDC and production/MFA remain UNVERIFIED.
|
||||
|
||||
**P05-OIDC-04 terminal:** [Gitea Run #95](https://dev.ivib.cc/vibtools/ZitPlane/actions/runs/95), job #209, source `79dac4f5bb76e1cee4dfaf61657c6e84268b3dfb` **COMPLETED FAILURE**. Docker/ownership/portless configuration PASS, four backend containers healthy PASS; direct private Traefik Host HTTP probe **FAIL** (`OIDC_CI_PRIVATE_PROXY_SOCKET_OR_HTTP_BLOCKED`). The 8080 PID/socket audit, new isolated forwarder and every real project/client/user/Chromium/Login V2/PKCE/Auth.js/session/negative/logout check were **NOT EXECUTED**. Owned-only cleanup **PASS**; authenticated OIDC remains BLOCKED, production/MFA NOT VERIFIED. See [P05-OIDC-04.md](P05-OIDC-04.md).
|
||||
@@ -18,6 +18,7 @@ Every file listed below is a direct child of `docs/`. Add/remove rows whenever t
|
||||
| [P05-OIDC-03.md](P05-OIDC-03.md) | Same-run socat classification, private Python fallback and exact Gitea status | P05-OIDC-03 / Run #93 QUEUED, no terminal result |
|
||||
| [P05-OIDC-03-A01.md](P05-OIDC-03-A01.md) | Historical queue snapshot before Run #93 started; see A02 for terminal state | P05-OIDC-03-A01 / superseded status |
|
||||
| [P05-OIDC-03-A02.md](P05-OIDC-03-A02.md) | Actual terminal Gitea Run #93 port-bind blocker, authentic OIDC test limits, cleanup and next steps | P05-OIDC-03-A02 / completed failure, cleanup PASS |
|
||||
| [P05-OIDC-04.md](P05-OIDC-04.md) | Private namespace forwarder design, actual Run #95 status and real-browser acceptance limitations | P05-OIDC-04 / direct proxy readiness FAIL, cleanup PASS |
|
||||
| [SETUP-GUIDE.md](SETUP-GUIDE.md) | Operator/developer prerequisites, configs, activation and safety | DOCS-01 / active; runtime pending |
|
||||
| [FEATURES-STATUS.md](FEATURES-STATUS.md) | Exact implemented/unavailable/unverified feature matrix | DOCS-01 / active |
|
||||
| [TROUBLESHOOTING.md](TROUBLESHOOTING.md) | Known blockers and safe diagnosis based on source status | DOCS-01 / active |
|
||||
|
||||
@@ -0,0 +1,30 @@
|
||||
# P05-OIDC-04 — Private OIDC Forwarder Isolation and Run #95 Acceptance
|
||||
|
||||
**Approved baseline:** `89bc3f21af53e481c68ee06c8eb120e30b855038`
|
||||
**Tested source:** `79dac4f5bb76e1cee4dfaf61657c6e84268b3dfb` (single CI-only source commit, not the later documentation SHA).
|
||||
**Evidence:** [Gitea Run #95](https://dev.ivib.cc/vibtools/ZitPlane/actions/runs/95), job **#209**, 2026-11-22 19:40:58–19:46:22 UTC, **COMPLETED / FAILURE**.
|
||||
|
||||
## What was implemented
|
||||
|
||||
A source-only, disposable CI change first audits proxy-namespace TCP port 8080 from `/proc/net/tcp{,6}` and PID/socket mappings, printing only safe process name/PID/inode classifications. A run-labeled forwarder is then intended to own a separate private Docker network namespace with IPv4 loopback `localhost:8080`, forwarding bytes to Docker-private `proxy:80`. Provisioning and original Chromium Account acceptance join that same forwarder namespace. The issuer `http://localhost:8080`, exact Host, login/auth logic, original Compose and cleanup guardrails are unchanged. Nothing publishes a host port.
|
||||
|
||||
## What Gitea actually verified
|
||||
|
||||
| Gate | Run #95 |
|
||||
| --- | --- |
|
||||
| Runner, checkout and Docker/Compose | **PASS** |
|
||||
| No public host ports and disposable ownership preflight | **PASS** |
|
||||
| Four official backend services healthy | **PASS** |
|
||||
| Direct private Traefik Host HTTP readiness | **FAIL**: `OIDC_CI_PRIVATE_PROXY_SOCKET_OR_HTTP_BLOCKED` |
|
||||
| New 8080 PID/socket inspector | **NOT EXECUTED** |
|
||||
| Isolated Socat/Python forwarder and forwarded HTTP 200 | **NOT EXECUTED** |
|
||||
| Real disposable project, client and human | **NOT EXECUTED** |
|
||||
| Chromium Login V2, PKCE/state/nonce, Auth.js callback/session and protected API/pages | **NOT EXECUTED** |
|
||||
| Anonymous/invalid callback rejection and logout | **NOT EXECUTED** |
|
||||
| Mandatory owned-only cleanup | **PASS**: both backend and OIDC cleanup markers |
|
||||
|
||||
**Important:** The exact listener owner from earlier Run #93 is still UNKNOWN. Run #95 failed before the inspector, so the new forwarder design has **not** been runtime-proven. Do not claim production login, real authenticated OIDC or MFA support.
|
||||
|
||||
## Next narrow action
|
||||
|
||||
A separately approved P05-OIDC-04-A01 should classify the **direct private proxy:80 HTTP/socket readiness failure** safely *before* the 8080 inspection. Only after evidence justifies a minimal adjustment should one fresh disposable CI cycle verify real login, negative gates and always cleanup. Never disable PKCE/state/nonce, publicize test ports or use real human accounts. Full ledger and next exact Scope Lock: [notes/P05-OIDC-04.md](../notes/P05-OIDC-04.md).
|
||||
@@ -120,3 +120,9 @@ Coolify, HTTPS, secrets, backups, durable storage and focused production readine
|
||||
- **PASS:** checkout and Docker preflight, no host ports, four healthy backend/Postgres/Login V2/Traefik services, direct private proxy Host HTTP 200, pinned image/digests and mandatory owned-only cleanup.
|
||||
- **FAIL:** socat process exited 1, `SOCKET_BIND_ERROR`; same-run Python forwarder exited 1, `ADDRESS_IN_USE` on private TCP `127.0.0.1:8080`. Exact listener identity/port owner **not yet established**. **NOT EXECUTED:** real client/project/human, Chromium original Login V2, PKCE/state/nonce/Auth.js callback/session, protected identity, negatives and logout. Full authenticated OIDC **BLOCKED**.
|
||||
- **Exact A02 write scope only** `notes/**`, `project/**`, relevant `docs/**`, associated README/MINIFEST; all CI/auth/backend/Compose/workflow/runner/source/locks/production strictly **read-only**. No local app tests, second run, tags/releases, real users or production. Evidence `notes/P05-OIDC-03-A02.md`, operator guide `docs/P05-OIDC-03-A02.md`. Next proposed `P05-OIDC-04`: disposable namespace-local port-8080 listener RCA, separately approved narrow CI-only remediation and one fresh isolated full OIDC acceptance.
|
||||
|
||||
## P05-OIDC-04 — Private socket forensics and isolated forwarder (terminal 2026-11-23)
|
||||
|
||||
- Baseline `89bc3f2`; scoped pre-source note and CI-only source `79dac4f5bb76e1cee4dfaf61657c6e84268b3dfb` in `tests/ci/oidc_e2e/{run.sh,forwarder.py}` were pushed. No original backend/Compose/Login/Auth.js/workflow/dependency modifications, no public host port.
|
||||
- Single authorized [Gitea Run #95](https://dev.ivib.cc/vibtools/ZitPlane/actions/runs/95) / job #209 **FAILURE** after checkout, portless config and four healthy backend services PASS. Direct proxy:80 Host readiness failed with `OIDC_CI_PRIVATE_PROXY_SOCKET_OR_HTTP_BLOCKED` **before** the 8080 listener inspector or new forwarder ran. Real project/client/human/browser/Auth.js/negatives/logout **NOT EXECUTED**. Mandatory owned-only teardown **PASS**.
|
||||
- The exact Run #93 8080 listener owner remains UNKNOWN. No retry. Next proposed `P05-OIDC-04-A01` strictly diagnoses direct private proxy socket/HTTP readiness first in another separately approved disposable cycle. Evidence: `notes/P05-OIDC-04.md`, operator guide: `docs/P05-OIDC-04.md`.
|
||||
+1
-1
@@ -26,4 +26,4 @@
|
||||
Full update policy is in root [AGENTS.md](../AGENTS.md). A list of available docs is in [MINIFEST.md](MINIFEST.md).
|
||||
|
||||
|
||||
For the **terminal Run #93 failure** and verified private port-8080 bind conflict, see [P05-OIDC-03-A02.md](P05-OIDC-03-A02.md). The former [queue audit](P05-OIDC-03-A01.md) is historical: the runner subsequently started job #206. The [P05-OIDC-03 CI implementation](P05-OIDC-03.md) remains unaccepted for real OIDC. Historical Run #91 exit-code blocker and safe cleanup are in [P05-OIDC-02.md](P05-OIDC-02.md). For the previous Run #90 blocker and cleanup see [P05-OIDC-01.md](P05-OIDC-01.md). For Gitea Run #89 final Login frozen build/unit/zero-advisory acceptance see [P05-SEC-02-A01.md](P05-SEC-02-A01.md). For Run #88 historical blocker and corrected helper see [P05-SEC-02.md](P05-SEC-02.md). For Gitea Run #87 findings see [P05-SEC-01.md](P05-SEC-01.md). For backend-only isolated runtime verification see [P05-CI-03.md](P05-CI-03.md); for initial full workflow and its limitations see [P05-CI-01.md](P05-CI-01.md). A green backend discovery smoke is not an authenticated user-login result.
|
||||
For the latest **Run #95 private proxy readiness failure** and scoped CI-only forwarder design, see [P05-OIDC-04.md](P05-OIDC-04.md); real OIDC still NOT EXECUTED. For the **terminal Run #93 failure** and verified private port-8080 bind conflict, see [P05-OIDC-03-A02.md](P05-OIDC-03-A02.md). The former [queue audit](P05-OIDC-03-A01.md) is historical: the runner subsequently started job #206. The [P05-OIDC-03 CI implementation](P05-OIDC-03.md) remains unaccepted for real OIDC. Historical Run #91 exit-code blocker and safe cleanup are in [P05-OIDC-02.md](P05-OIDC-02.md). For the previous Run #90 blocker and cleanup see [P05-OIDC-01.md](P05-OIDC-01.md). For Gitea Run #89 final Login frozen build/unit/zero-advisory acceptance see [P05-SEC-02-A01.md](P05-SEC-02-A01.md). For Run #88 historical blocker and corrected helper see [P05-SEC-02.md](P05-SEC-02.md). For Gitea Run #87 findings see [P05-SEC-01.md](P05-SEC-01.md). For backend-only isolated runtime verification see [P05-CI-03.md](P05-CI-03.md); for initial full workflow and its limitations see [P05-CI-01.md](P05-CI-01.md). A green backend discovery smoke is not an authenticated user-login result.
|
||||
@@ -120,3 +120,5 @@ In Gitea `vibtools/ZitPlane` → Actions → **ZitPlane P05-OIDC-01 Disposable R
|
||||
|
||||
|
||||
**P05-OIDC-03-A02 terminal result:** [Run #93](https://dev.ivib.cc/vibtools/ZitPlane/actions/runs/93) **started and FAILED**, so the previous “runner queued” blocker is no longer current. Four-service portless ZITADEL stack and private Traefik routing worked; socat and Python fallback both failed binding private TCP port 8080 (`SOCKET_BIND_ERROR` / `ADDRESS_IN_USE`). Neither official test OIDC client/user nor actual Chromium Login V2/Auth.js session was exercised; mandatory cleanup PASS. No changes to this setup or production. Inspect verified socket ownership only in a **separately approved disposable CI** before selecting a network/port remedy. See `docs/P05-OIDC-03-A02.md`.
|
||||
|
||||
**P05-OIDC-04 terminal guidance:** [Run #95](https://dev.ivib.cc/vibtools/ZitPlane/actions/runs/95) used a scoped separate run-owned private forwarder namespace candidate without publishing host ports or modifying original Compose. However it **FAILED before forwarder startup** at the direct Traefik private Host socket/HTTP check despite four healthy containers. Socket-owner diagnostics, official client/user provisioning and real Login V2/Auth.js authentication **NOT EXECUTED**; mandatory owned-only cleanup PASS. Do not change local/production configs or manually create test accounts. Next action requires a new, narrowly approved direct-proxy-readiness RCA. See [P05-OIDC-04.md](P05-OIDC-04.md).
|
||||
@@ -79,3 +79,7 @@ Existing Gitea Run #93/job #206 has not been assigned a running job at the inspe
|
||||
## P05-OIDC-03-A02 — Run #93 real terminal blocker, not a runner-queue outage
|
||||
|
||||
Previously queued Run #93 eventually ran: job #206 started and failed after healthy backend/proxy. Socat and Python fallback both could **not bind private 127.0.0.1:8080**. Socat classified `SOCKET_BIND_ERROR`; Python explicitly `ADDRESS_IN_USE`. That is strong evidence of a **port collision**, but there is **no verified socket inode/process owner yet**; do not attribute it to Traefik, ZITADEL or another process by guess. Do not disable issuer/PKCE checks, expose host 8080, reuse production secrets, or edit original backend/Account code. Safe next step requires separate approved CI-only private listener inspection before forwarding. Existing `always()` cleanup PASS; no residual run-owned containers/network/secrets. Full evidence: `docs/P05-OIDC-03-A02.md`.
|
||||
|
||||
## P05-OIDC-04 — Failed private readiness is not an authentication regression
|
||||
|
||||
[Gitea Run #95](https://dev.ivib.cc/vibtools/ZitPlane/actions/runs/95) passed isolated Docker startup and four healthy backend services, then the separate no-secret private Traefik `GET /debug/ready` with `Host: localhost:8080` **FAILED** with `OIDC_CI_PRIVATE_PROXY_SOCKET_OR_HTTP_BLOCKED`. This marker does not distinguish refused, timeout or unexpected HTTP response. The planned pre-bind 8080 socket/PID collector and both forwarders did not execute; therefore an earlier `ADDRESS_IN_USE` owner was not determined. Do not blame a service or Auth.js, open a host port, disable OIDC checks or repeat CI without separate approval. Always-run cleanup PASS. Next: P05-OIDC-04-A01, narrowly classify direct private socket/HTTP readiness while redacting all payloads. [Exact evidence](P05-OIDC-04.md).
|
||||
Reference in new issue
Block a user