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

Two protocol fixes #545

Merged
merged 2 commits into from
Apr 20, 2023
Merged

Two protocol fixes #545

merged 2 commits into from
Apr 20, 2023

Conversation

amn-rtl
Copy link
Collaborator

@amn-rtl amn-rtl commented Apr 17, 2023

Here are two fixes that add some sanity checks and their respective failure responses to the controller.

amn-rtl added 2 commits April 17, 2023 08:51
The IOCRBlockReq PDUs need to be checked against the resources
available. This change adds such checks and error responses when
the checks fail.
The RPC specification says that there is a maximum size of a PDU that
can be sent between client and server without further negotiation.
This change adds a check of the size of a received PDU and a Reject
response when the check fails.
@amn-rtl amn-rtl requested review from pyhys, hefloryd and olbjo April 17, 2023 09:58
Copy link
Collaborator

@pyhys pyhys left a comment

Choose a reason for hiding this comment

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

Great!

Copy link
Collaborator

@olbjo olbjo left a comment

Choose a reason for hiding this comment

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

👍

Copy link
Collaborator

@olbjo olbjo left a comment

Choose a reason for hiding this comment

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

👍

@hefloryd hefloryd merged commit 3946101 into rtlabs-com:master Apr 20, 2023
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.

4 participants