Reject ineffective fingerprint-forwarding carrier configurations

オープン
#30 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
48/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
静か
技術スタック
rust
領域
networking

調査の方向性

既存の、フィンガープリントの転送が無効であることを示す stderr 警告を起点に、静的ルートの構築と resolveConnection を通じて提供されるルートを追跡します。ルート関連のテストを確認し、静的ルートと解決済みルートの有効な組み合わせと無効な組み合わせのカバレッジを追加します。構築または解決が互換性のないキャリアをルート固有の推奨事項とともに拒否すれば完了です。

索引モデルが issue の本文から書いたものです。

説明

Follow-up from the review of #23.

Problem

A route can request forwardFingerprint: ja3 or ja4 without selecting a carrier that can actually deliver it.

The HTTP-header carrier requires terminated plaintext HTTP/1. Passthrough and HTTP/2 require sourceAddressHeader: proxyProtocolV2. Static routes currently emit only an stderr warning for ineffective combinations, allowing an apparently healthy deployment that silently drops the requested fingerprint. Routes supplied through resolveConnection do not receive equivalent warning or validation.

This leaves downstream controls believing they receive an authoritative fingerprint when no signal is delivered.

Acceptance criteria

  • Reject configurations where fingerprint forwarding has no viable carrier, rather than relying on stderr.
  • Apply identical validation to static routes and routes supplied through resolveConnection.
  • HTTP-header forwarding must require TLS termination and an HTTP/1 upstream path.
  • Passthrough and HTTP/2 forwarding must require PROXY protocol v2.
  • Validate incompatible UDS/Harper combinations where the immediate consumer does not support the selected PROXY protocol version.
  • Return a construction/resolution error that identifies the route and recommends the compatible carrier.
  • Add tests for valid and invalid static and resolved-route combinations.
主要言語
Rust
スター
1
フォーク
0
平均マージ
19時間 12分
マージ済み PR(30日)
13

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

HarperFast/symphony のほかの issue

HarperFast/symphony の issue をすべて見る

似ている issue

Rust の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。