Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

QUIC: LCIDM #22673

Closed
wants to merge 12 commits into from
Closed

QUIC: LCIDM #22673

wants to merge 12 commits into from

Conversation

hlandau
Copy link
Member

@hlandau hlandau commented Nov 9, 2023

Move connection ID management code out into a discrete object, the Local CID Manager. The LCIDM handles routing of incoming packets, as opposed to selecting CIDs for outgoing packets (which shall be the role of the future RCIDM).

This PR has come out of the port refactor work as a necessary supporting refactor. It also enables the removal of an ad-hoc implementation of half of this from QUIC_DEMUX, as well as various bits and pieces handling CIDs in an ad-hoc manner from QUIC_CHANNEL.

This is a self-contained object which has no impact if not used, and is not wired up in this PR, therefore there is no issue with putting it in master.

There will be a future remote CID manager (RCIDM) which handles deciding what DCIDs to use for transmission, as opposed to routing incoming packets, but that is not yet necessary.

@hlandau hlandau added branch: master Merge to master branch approval: review pending This pull request needs review by a committer approval: otc review pending This pull request needs review by an OTC member triaged: feature The issue/pr requests/adds a feature tests: present The PR has suitable tests present labels Nov 9, 2023
@hlandau hlandau added this to the Post 3.2.0 milestone Nov 9, 2023
@hlandau hlandau self-assigned this Nov 9, 2023
@hlandau
Copy link
Member Author

hlandau commented Nov 9, 2023

This is only failing CI due to missing fuzz corpora. I will raise a PR shortly. Ready for review.

@hlandau
Copy link
Member Author

hlandau commented Nov 9, 2023

CI passing

fuzz/quic-lcidm.c Show resolved Hide resolved
fuzz/quic-lcidm.c Show resolved Hide resolved
include/internal/quic_lcidm.h Outdated Show resolved Hide resolved
ssl/quic/quic_lcidm.c Outdated Show resolved Hide resolved
ssl/quic/quic_lcidm.c Outdated Show resolved Hide resolved
ssl/quic/quic_lcidm.c Show resolved Hide resolved
ssl/quic/quic_lcidm.c Show resolved Hide resolved
ssl/quic/quic_lcidm.c Show resolved Hide resolved
@mattcaswell
Copy link
Member

Looks like it needs a rebase too.

@hlandau
Copy link
Member Author

hlandau commented Nov 28, 2023

Updated.

@mattcaswell mattcaswell removed the approval: otc review pending This pull request needs review by an OTC member label Nov 30, 2023
@hlandau hlandau assigned t8m and unassigned mattcaswell Dec 4, 2023
openssl-machine pushed a commit that referenced this pull request Dec 6, 2023
Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from #22673)
openssl-machine pushed a commit that referenced this pull request Dec 6, 2023
Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from #22673)
openssl-machine pushed a commit that referenced this pull request Dec 6, 2023
Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from #22673)
openssl-machine pushed a commit that referenced this pull request Dec 6, 2023
Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from #22673)
openssl-machine pushed a commit that referenced this pull request Dec 6, 2023
Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from #22673)
openssl-machine pushed a commit that referenced this pull request Dec 6, 2023
Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from #22673)
wanghao75 pushed a commit to openeuler-mirror/openssl that referenced this pull request Dec 7, 2023
Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from openssl/openssl#22673)

Signed-off-by: fly2x <fly2x@hitls.org>
wanghao75 pushed a commit to openeuler-mirror/openssl that referenced this pull request Dec 7, 2023
Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from openssl/openssl#22673)

Signed-off-by: fly2x <fly2x@hitls.org>
wanghao75 pushed a commit to openeuler-mirror/openssl that referenced this pull request Dec 7, 2023
Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from openssl/openssl#22673)

Signed-off-by: fly2x <fly2x@hitls.org>
wanghao75 pushed a commit to openeuler-mirror/openssl that referenced this pull request Dec 7, 2023
Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from openssl/openssl#22673)

Signed-off-by: fly2x <fly2x@hitls.org>
wanghao75 pushed a commit to openeuler-mirror/openssl that referenced this pull request Dec 7, 2023
Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from openssl/openssl#22673)

Signed-off-by: fly2x <fly2x@hitls.org>
wanghao75 pushed a commit to openeuler-mirror/openssl that referenced this pull request Dec 7, 2023
Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from openssl/openssl#22673)

Signed-off-by: fly2x <fly2x@hitls.org>
wanghao75 pushed a commit to openeuler-mirror/openssl that referenced this pull request Dec 7, 2023
Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from openssl/openssl#22673)

Signed-off-by: fly2x <fly2x@hitls.org>
wanghao75 pushed a commit to openeuler-mirror/openssl that referenced this pull request Dec 7, 2023
Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from openssl/openssl#22673)

Signed-off-by: fly2x <fly2x@hitls.org>
wanghao75 pushed a commit to openeuler-mirror/openssl that referenced this pull request Dec 7, 2023
Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from openssl/openssl#22673)

Signed-off-by: fly2x <fly2x@hitls.org>
wanghao75 pushed a commit to openeuler-mirror/openssl that referenced this pull request Dec 7, 2023
Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from openssl/openssl#22673)

Signed-off-by: fly2x <fly2x@hitls.org>
wanghao75 pushed a commit to openeuler-mirror/openssl that referenced this pull request Dec 7, 2023
Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from openssl/openssl#22673)

Signed-off-by: fly2x <fly2x@hitls.org>
wanghao75 pushed a commit to openeuler-mirror/openssl that referenced this pull request Dec 7, 2023
Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from openssl/openssl#22673)

Signed-off-by: fly2x <fly2x@hitls.org>
wbeck10 pushed a commit to wbeck10/openssl that referenced this pull request Jan 8, 2024
Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from openssl#22673)
wbeck10 pushed a commit to wbeck10/openssl that referenced this pull request Jan 8, 2024
Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from openssl#22673)
wbeck10 pushed a commit to wbeck10/openssl that referenced this pull request Jan 8, 2024
Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from openssl#22673)
wbeck10 pushed a commit to wbeck10/openssl that referenced this pull request Jan 8, 2024
Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from openssl#22673)
wbeck10 pushed a commit to wbeck10/openssl that referenced this pull request Jan 8, 2024
Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from openssl#22673)
wbeck10 pushed a commit to wbeck10/openssl that referenced this pull request Jan 8, 2024
Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from openssl#22673)
wbeck10 pushed a commit to wbeck10/openssl that referenced this pull request Jan 8, 2024
Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from openssl#22673)
wbeck10 pushed a commit to wbeck10/openssl that referenced this pull request Jan 8, 2024
Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from openssl#22673)
wbeck10 pushed a commit to wbeck10/openssl that referenced this pull request Jan 8, 2024
Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from openssl#22673)
wbeck10 pushed a commit to wbeck10/openssl that referenced this pull request Jan 8, 2024
Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from openssl#22673)
wbeck10 pushed a commit to wbeck10/openssl that referenced this pull request Jan 8, 2024
Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from openssl#22673)
wbeck10 pushed a commit to wbeck10/openssl that referenced this pull request Jan 8, 2024
Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from openssl#22673)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approval: ready to merge The 24 hour grace period has passed, ready to merge branch: master Merge to master branch tests: present The PR has suitable tests present triaged: feature The issue/pr requests/adds a feature
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

QUIC Server - Implementation - CID Management - LCIDM Implementation
4 participants