[MOCA SBX] Verify MOCA's sandbox grant and pass the moca-egress conformance suite
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 48/100
調査の方向性
Start by reading the MOCA contract sections §12.2–12.3 and the remote-worker/egress/conformance suite; the issue identifies 13 transport cases and additional interception cases tied to MI1 slice S2. Determine how to run the suite against a Cortex build with the MOCA profile on a Linux or macOS runner, then add the CI integration. Done means both case slices pass against Cortex in CI.
索引モデルが issue の本文から書いたものです。
説明
Priority: final gate · Part of the Cortex × MOCA SBX epic · #905 breakdown step 5 · MOCA contract: MI1 §12.2-12.3
Problem
Cortex replaces moca-egress only when it passes the same black-box suite. This issue is the integration gate for the epic.
What it involves
- Grant verification. A control-plane-signed Ed25519 JWS:
aud=moca-sandbox, withexpandsid;- verified on
RegisterandRebind; - MOCA distributes public keys as
kid:base64-DER, not JWKS; - cross-language golden vectors are checked in on the MOCA side (§12.2).
- The suite lives at
remote-worker/egress/conformance(public package) with a runnablecmd/moca-egress-conformance(rossoctl/moca#583). It drives the implementation only through:MOCA_EGRESS_*andMOCA_TENANCYenvironment variables;- the control socket;
- per-VM proxy sockets;
- named refusals (the
X-Moca-Egress-Errorheader plus a<code>: <host>body); - JSON audit events on stdout.
- The transport-slice cases today (13):
identity_from_connection,forged_session_header_ignored;off_allowlist_named_403,private_address_403,metadata_address_403_even_if_permitted,dns_rebinding_resolved_once;per_vm_conn_cap_429,per_session_request_cap_429;unregister_aborts_inflight,connect_tunnel_opaque,plain_http_strips_proxy_and_moca_headers;audit_query_removed,grant_refused_under_single.
- The interception-slice cases (credential injection, 421, 502, plaintext refusal, one audit event per injection) land with MI1 slice S2.
Design questions
Run the suite in Cortex CI against a Cortex build with the MOCA profile? The suite needs Unix sockets with SCM_RIGHTS, so Linux or macOS runners only.
Done when
moca-egress-conformance passes against Cortex in CI, for both the transport-slice and the interception-slice cases.
- 主要言語
- Go
- スター
- 18
- フォーク
- 42
- 平均マージ
- 12時間 20分
- マージ済み PR(30日)
- 229
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
rossoctl/cortex のほかの issue
-
UI shows costs for all sessions even when drilled into a session対応中かも @esnible が 11 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
rossoctl/cortex#1116 · コメント 2 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
enhancement laptop
難易度 5/5 1週間以上 初心者へのやさしさ 40/100
メンテナーはふだん 1 日以内に返信
-
Decouple plugins from Go pipeline internals: parser test data, session facts, serializable recordsオープンenhancement laptop
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
メンテナーはふだん 1 日以内に返信
-
enhancement laptop
難易度 5/5 1週間以上 初心者へのやさしさ 38/100
メンテナーはふだん 1 日以内に返信
-
enhancement laptop
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
メンテナーはふだん 1 日以内に返信
rossoctl/cortex の issue をすべて見る
似ている issue
-
consensus feature I2 S4 U2
難易度 1/5 1時間未満 初心者へのやさしさ 85/100
メンテナーはふだん 1 日以内に返信
-
[Bug] [Go] Ack returns nil when the server answers with a non-OK status対応中かも @leizhiyuan が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
apache/rocketmq-clients#1465 ·
メンテナーはふだん 2 日以内に返信
-
Priority/Low Type/Improvement
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
OpenNSW/nsw-srilanka#906 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
praetorianer777/Dynamo#57 ·
メンテナーはふだん 1 日以内に返信
-
fix(handlers): explicitly set Content-Type header in static Index handler対応中かも @kage-zero が今日担当しました。 オープン
難易度 1/5 1時間未満 初心者へのやさしさ 85/100
メンテナーはふだん 1 日以内に返信