-
Notifications
You must be signed in to change notification settings - Fork 367
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
Duplicate requests not handled during OSCORE context rederivation #2294
Comments
I'm not common with OSCORE. Duplicate requests (same peer, same MID within EXCHANGE_LIFETIME) are handled according RFC 7252 4.5 Message Deduplication. With that I don't see, that there is something special to do. Does OSCORE change that RFC 7252 4.5? |
I got aware, that the |
I very first test showed, that exchanging the layers may work.
would it be possible for you to test with that approach until we get a feedback from Rikard? |
Yes my spontaneous comment without checking deeper is that swapping the orders of the layers makes sense |
Great, that fixes the retransmission issue for me. However, there is another issue in the context rederivation where the server can only handle one ongoing rederivation per sender id. This potentially may be a problem if an attacker initiates context rederivation simultaneously with a different kid context. On line 285 of ContextRederivation, the context is only retrieved by recipient id.
I guess this should change to query by rid and context id, which means all ongoing context rederivations need to be tracked. I could give it try. Thoughts? |
Let me have a look at this and the initial issue you reported. Unfortunately I am quite busy with meetings today but tomorrow I should have some time to put on this. |
Swap OSCORE and CongestionControl layers. Add logback configuration for unittests. Issue eclipse-californium#2294 Signed-off-by: Achim Kraus <[email protected]>
Swap OSCORE and CongestionControl layers. Add logback configuration for unittests. Issue eclipse-californium#2294 Signed-off-by: Achim Kraus <[email protected]>
Swap OSCORE and CongestionControl layers. Add logback configuration for unittests. Issue eclipse-californium#2294 Signed-off-by: Achim Kraus <[email protected]>
I had a look at the PR for swapping the layers (#2296 ) and that looks good to me. When that is merged I will next take a look at this issue with multiple simultaneous executions of OSCORE context rederivation. |
Swap OSCORE and CongestionControl layers. Add logback configuration for unittests. Issue eclipse-californium#2294 Signed-off-by: Achim Kraus <[email protected]>
Swap OSCORE and CongestionControl layers. Add logback configuration for unittests. Issue eclipse-californium#2294 Signed-off-by: Achim Kraus <[email protected]>
Swap OSCORE and CongestionControl layers. Add logback configuration for unittests. Issue eclipse-californium#2294 Signed-off-by: Achim Kraus <[email protected]>
Swap OSCORE and CongestionControl layers. Add logback configuration for unittests. Issue eclipse-californium#2294 Signed-off-by: Achim Kraus <[email protected]>
Swap OSCORE and CongestionControl layers. Add logback configuration for unittests. Issue eclipse-californium#2294 Signed-off-by: Achim Kraus <[email protected]>
Swap OSCORE and CongestionControl layers. Add logback configuration for unittests. Issue eclipse-californium#2294 Signed-off-by: Achim Kraus <[email protected]>
Swap OSCORE and CongestionControl layers. Add logback configuration for unittests. Issue eclipse-californium#2294 Signed-off-by: Achim Kraus <[email protected]>
Swap OSCORE and CongestionControl layers. Add logback configuration for unittests. Issue eclipse-californium#2294 Signed-off-by: Achim Kraus <[email protected]>
Swap OSCORE and CongestionControl layers. Add logback configuration for unittests. Issue eclipse-californium#2294 Signed-off-by: Achim Kraus <[email protected]>
With the plugtest server app, during OSCORE context rederivation (Appendix B.2), the server doesn't appear to handle duplicate requests from the client (same token and MID). This is an issue in low availability areas where context rederivation will need to be restarted if a response is lost. If I'm not wrong, it is expected the server can handle multiple context rederivations from replayed requests in parallel.
The text was updated successfully, but these errors were encountered: