libp2p / libp2p/rust-libp2p

transports/{noise,tls}: Select muxer in security handshake

Open
#2,994 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

difficulty:hard help wanted
Dominant language
Rust
Stars
5.6k
Forks
1.3k
Avg merge
8h 47m
Merged PRs (30d)
19

Description

Description

Implement muxer selection in libp2p-noise and libp2p-tls according to the specification https://github.com/libp2p/specs/pull/446.

Motivation

This document discribes an imporvement on the connection upgrade process. The
goal of the improvement is to reduce the number of RTTs that takes to select the
muxer of a connection. The solution relies on the ability of the security
protocol's handshake process to negotiate higher level protocols, which enables
the muxer selection to be carried out along with security protocol handshake.
The proposed solution saves the RTT of multistream selection for muxers.

See https://github.com/libp2p/specs/pull/446/

Requirements

Open questions

Are you planning to do it yourself in a pull request?

No

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading the referenced libp2p specification and the libp2p-noise and libp2p-tls implementations. Determine how muxer negotiation should be incorporated into each security handshake; done means both transports select the muxer according to the specification and the relevant behavior is covered by tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
networking
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.