Skip to content
This repository has been archived by the owner on Aug 11, 2020. It is now read-only.

quic: stateless reset generate strategy #215

Closed
wants to merge 1 commit into from

Conversation

jasnell
Copy link
Member

@jasnell jasnell commented Dec 4, 2019

This is a start to supporting stateless reset tokens per the QUIC 24 spec. Rather than generating tokens randomly, generate them cryptographically based on the DCID and send them when we cannot identify a connection and the received packet has a short header.

Fixes: #62

@jasnell jasnell force-pushed the crypto_stateless_reset branch from 15ed75a to d492656 Compare December 5, 2019 15:49
@jasnell jasnell requested a review from addaleax December 5, 2019 15:49
src/node_quic_socket.cc Outdated Show resolved Hide resolved
src/node_quic_socket.cc Outdated Show resolved Hide resolved
@jasnell jasnell force-pushed the crypto_stateless_reset branch from d492656 to 089e9dc Compare December 5, 2019 16:40
Generate stateless reset token cryptographically

Fixes: nodejs#62
@jasnell jasnell force-pushed the crypto_stateless_reset branch from 089e9dc to 2a2c5cd Compare December 5, 2019 16:50
jasnell added a commit that referenced this pull request Dec 5, 2019
Generate stateless reset token cryptographically

Fixes: #62
PR-URL: #215
Reviewed-By: Anna Henningsen <anna@addaleax.net>
@jasnell
Copy link
Member Author

jasnell commented Dec 5, 2019

Landed

@jasnell jasnell closed this Dec 5, 2019
addaleax pushed a commit that referenced this pull request Dec 11, 2019
Generate stateless reset token cryptographically

Fixes: #62
PR-URL: #215
Reviewed-By: Anna Henningsen <anna@addaleax.net>
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.

TODO: Implement stateless reset
2 participants