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

cmd/scion, snet: reduce range of IDs for SCMP requests #4495

Merged
merged 1 commit into from
Mar 28, 2024

Conversation

matzf
Copy link
Contributor

@matzf matzf commented Mar 26, 2024

Preparation for dispatcher-less endpoints. Reduce the range of IDs used for SCMP requests, to be forward-compatible with the default range for port-dispatching in the router.

In the dispatcher-less future, the router will forward SCMP reply messages to an application's underlay port determined based on the SCMP message ID. For this, the router will have a configurable range of ports for which it applies the dispatching, allowing dispatcher-ful and dispatcher-less endpoints to coexist. This port range will need to be disjoint from the port range currently used by the dispatcher and SCMP request identifiers.

For more details, see design document, #4280.

Preparation for dispatcher-less endpoints. Reduce the range of IDs used
for SCMP requests, to be forward-compatible with the default range for
port-dispatching in the router.

In the dispatcher-less future, the router will forward SCMP reply messages
to an application's underlay port determined based on the SCMP message ID.
For this, the router will have a configurable range of ports for which
it applies the dispatching, allowing dispatcher-ful and dispatcher-less
endpoints to coexist. This port range will need to be disjoint from the
port range currently used by the dispatcher and SCMP request
identifiers.
@matzf matzf requested a review from a team as a code owner March 26, 2024 13:56
@matzf
Copy link
Contributor Author

matzf commented Mar 26, 2024

This change is Reviewable

Copy link
Contributor

@jiceatscion jiceatscion left a comment

Choose a reason for hiding this comment

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

Reviewed 6 of 6 files at r1, all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @matzf)

Copy link
Contributor

@jiceatscion jiceatscion left a comment

Choose a reason for hiding this comment

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

Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @matzf)

Copy link
Collaborator

@lukedirtwalker lukedirtwalker left a comment

Choose a reason for hiding this comment

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

Reviewed 6 of 6 files at r1, all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @matzf)

@matzf matzf merged commit b6aefe0 into scionproto:master Mar 28, 2024
4 checks passed
@matzf matzf deleted the scmp-identifier-range branch July 18, 2024 09:03
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.

3 participants