Skip to content
This repository has been archived by the owner on May 26, 2022. It is now read-only.

listen on and dial security-enabled multiaddrs #285

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

marten-seemann
Copy link
Contributor

Depends on basically all the other PRs listed in libp2p/go-libp2p#1194.

The high-level idea here is to add one Transport for every combination of TCP + handshake protocol (plus one that works exactly as it does now, which negotiates the security protocol using multistream). When listening on new addresses, and when dialing addresses, we inspect the multiaddr to see if it contains a security protocol, and then use the corresponding transport.

@marten-seemann marten-seemann force-pushed the security-protocol-in-addr branch from b1c882e to 6a837b0 Compare September 22, 2021 10:53
@BigLep BigLep requested a review from a team October 24, 2021 04:33
@aschmahmann aschmahmann marked this pull request as draft November 19, 2021 16:46
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant