Repository navigation
Description
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 (API V2: new API with the correct response codes #144).
- UDP over I2P, I2P PEX, and I2P DHT.
- General rate limiting, which belongs to Spam and abuse resistance #2411.
Phases
- Preserve the proposal: merge this EPIC's spec and the design discussion, then close Feat/i2p peer support #2050 and feat(http-tracker): support I2P peers #2059.
- Design discussion (after v4.0.0): positions in rounds, then the Outcome.
- ADRs and subissues.
- 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.
Activity
docs(discussions): [torrust#2491] name the opening round's PR in posi…
docs(issues): [torrust#2491] add I2P peer support EPIC specification
docs(discussions): [torrust#2491] open the I2P peer support design di…
docs(discussions): [torrust#2491] name the opening round's PR in posi…
docs(discussions): [torrust#2491] correct I2P review attribution
docs(issues): [torrust#2491] correct I2P EPIC review attribution
docs(issues): [torrust#2491] correct I2P proposal dates
Merge #2492: docs(discussions): [#2491] open the I2P peer support des…
docs(discussions): [torrust#2491] name the round's pull request in it…
docs(issues): [torrust#2491] point the v4.0.0 references at the miles…
docs(issues): [torrust#2491] point the v4.0.0 references at the miles…
docs(issues): [torrust#2491] rewrap the v4.0.0 milestone lines
Merge #2501: docs(discussions): [#2429] open the templated documentat…
docs(discussions): [torrust#2491] state AI assistance on my round's e…
docs(discussions): [#2491] add my round on the I2P peer support design
Merge #2500: docs(discussions): [#2491] add my round on the I2P peer …
docs(discussions): [#2491] name the two APIs in my entries
docs(discussions): [#2491] state where a trust rule belongs and tidy …
docs(discussions): [#2491] name the exported surface the library API
Merge #2549: docs(discussions): [#2491] name the two APIs and state t…
docs(discussions): [torrust#2491] cite PR torrust#2562 in josecelano'…
docs(discussions): [#2491] add josecelano's round 3 entries and topic…
Merge #2562: docs(discussions): add josecelano's round 3 entries and …