EPIC: I2P peer support

Đang mở
#2,491 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
6/100
Loại issue
Tính năng
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Sôi nổi
Công nghệ
rust
Lĩnh vực
networking

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
Rust
Star
532
Fork
56
Merge trung bình
11 giờ 20 phút
Pull request đã merge (30 ngày)
282

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của torrust/torrust-tracker

Tất cả issue của torrust/torrust-tracker

Issue tương tự

Thêm issue về Rust

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.