EPIC: I2P peer support

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

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

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

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
6/100
issue の種類
機能追加
明瞭さ
説明が足りない
活発さ
活発
技術スタック
rust
領域
networking

調査の方向性

This is a postponed design EPIC, not a coding task: implementation waits until after the v4.0.0 release (#1659). Read the referenced design discussion in docs/discussions/ and the review of #2059, with the open questions and review actions A1 to A7. Newcomers can help by reading and commenting on the design rounds, not by writing code. The EPIC is done when the acceptance criteria AC1 to AC7 are met.

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

説明

EPIC Postponed

EPIC for I2P peer support: letting the tracker serve BitTorrent swarms whose peers use the I2P anonymity network.

Status: postponed until after the v4.0.0 release (#1659). The roadmap will be redefined after that release. Closing the related PRs does not reject the feature.

Goal

Add I2P peer support to the tracker without weakening its clearnet behavior or its trust boundaries.

Background

A contributor proposed an implementation in #2050. Jose Celano reviewed it in the rebased draft #2059. Jose supports the feature, but it needs a careful design first: it changes the core peer address model, the HTTP announce contract, the compact response format, swarm statistics, the REST API, and the tracker's trust boundary. The review recorded seven required actions (A1 to A7), including a merge blocker: a plain HTTP announce cannot prove that a client owns the I2P Destination it supplies.

A design discussion in docs/discussions/ keeps the proposal, the review documents, and the open questions, so that #2050 and #2059 can be closed and used as reference.

Scope

In scope:

  • The design discussion and its Outcome.
  • Design decisions, with ADRs where a decision is architectural (for example, how the tracker trusts a peer's I2P Destination).
  • I2P peer support in the HTTP tracker: announce parsing, network-isolated matchmaking, and the compact and non-compact response formats.
  • Review actions A1 to A7 and the review follow-ups (tracker client support, placeholder port documentation).

Out of scope:

  • Implementation before v4.0.0 is released and the roadmap includes this EPIC.
  • The REST API representation of I2P peers, which belongs to the REST API overhaul (#144).
  • UDP over I2P, I2P PEX, and I2P DHT.
  • General rate limiting, which belongs to #2411.

Phases

  1. Preserve the proposal: merge this EPIC's spec and the design discussion, then close #2050 and #2059.
  2. Design discussion (after v4.0.0): positions in rounds, then the Outcome.
  3. ADRs and subissues.
  4. Implementation.

Acceptance criteria

  • AC1: The design discussion has a recorded Outcome, and each decision links its canonical document.
  • AC2: An ADR records how the tracker establishes a peer's I2P Destination (review action A7).
  • AC3: All required subissues are created and linked, in an explicit and justified order.
  • AC4: Every review action (A1 to A7) is implemented by a subissue or explicitly rejected in the discussion Outcome.
  • AC5: I2P and clearnet peers never receive each other in announce responses, and announce statistics describe only the peers reachable by the requester.
  • AC6: Every completed subissue includes automated and manual verification evidence, a post-implementation acceptance criteria review, and an implementation completion review.
  • AC7: User documentation describes how to deploy and operate the tracker for I2P peers.

The full specification will live in docs/issues/open/ once the spec PR is merged.

主要言語
Rust
スター
532
フォーク
56
平均マージ
11時間 20分
マージ済み PR(30日)
282

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

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

torrust/torrust-tracker のほかの issue

torrust/torrust-tracker の issue をすべて見る

似ている issue

Rust の issue をもっと見る

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

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