EPIC: I2P peer support

未关闭
#2,491 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
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 分钟
30 天内合并 PR
282

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

torrust/torrust-tracker 的其他 Issue

查看 torrust/torrust-tracker 的全部 Issue

相似的 Issue

更多 Rust Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。