Skip to content

tls: use ALPN to negotiate the stream multiplexer#1772

Merged
julian88110 merged 17 commits intomasterfrom
tls-mux-sel
Oct 7, 2022
Merged

tls: use ALPN to negotiate the stream multiplexer#1772
julian88110 merged 17 commits intomasterfrom
tls-mux-sel

Conversation

@julian88110
Copy link
Copy Markdown
Contributor

@julian88110 julian88110 commented Sep 21, 2022

Tracked by #1751
This is an implementation of TLS based muxer selection proposed in #426 and specified in spec #446

Comment thread core/sec/security.go Outdated
@julian88110 julian88110 marked this pull request as ready for review September 27, 2022 16:41
Copy link
Copy Markdown
Contributor

@marten-seemann marten-seemann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like that this touches a lot less files than the previous iteration!

Comment thread p2p/muxer/muxer-multistream/multistream.go
Comment thread p2p/net/upgrader/upgrader.go Outdated
Comment thread p2p/security/tls/transport.go Outdated
Comment thread p2p/security/tls/transport.go Outdated
Comment thread p2p/security/tls/transport_test.go Outdated
Comment thread p2p/security/tls/transport_test.go Outdated
Comment thread core/network/conn.go Outdated
Comment thread config/constructor_types.go Outdated
Comment thread p2p/muxer/muxer-multistream/multistream.go Outdated
Comment thread p2p/net/upgrader/upgrader.go Outdated
julian88110 and others added 2 commits September 28, 2022 10:26
Co-authored-by: Marten Seemann <martenseemann@gmail.com>
Copy link
Copy Markdown
Contributor

@marten-seemann marten-seemann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is looking really good. A couple of nits, mostly Go stylistic stuff.

Comment thread config/security.go Outdated
Comment thread core/network/conn.go Outdated
Comment thread p2p/net/upgrader/upgrader.go Outdated
Comment thread p2p/net/upgrader/upgrader.go Outdated
Comment thread p2p/security/noise/session.go Outdated
Comment thread p2p/security/tls/transport.go
Comment thread p2p/security/tls/transport_test.go Outdated
Comment thread p2p/security/tls/transport_test.go Outdated
Comment thread p2p/security/tls/transport_test.go Outdated
Comment thread p2p/security/tls/transport_test.go Outdated
@julian88110 julian88110 self-assigned this Sep 29, 2022
@marten-seemann marten-seemann changed the title Tls mux sel tls: use ALPN to negotiate the stream multiplexer Sep 30, 2022
Copy link
Copy Markdown
Contributor

@marten-seemann marten-seemann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

3 super tiny nits, then we should be good to go!

Comment thread p2p/security/tls/transport.go
Comment thread p2p/security/tls/transport.go Outdated
Comment thread p2p/security/tls/transport_test.go Outdated
Copy link
Copy Markdown
Contributor

@marten-seemann marten-seemann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One super minor nit in the test, then this should be good to go.

Comment thread p2p/security/tls/transport_test.go Outdated
@julian88110 julian88110 merged commit ebd000d into master Oct 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants