-
Notifications
You must be signed in to change notification settings - Fork 2
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
RFC7959 - PUT/POST - DTLS - rules to apply for follow-up requests. #19
Comments
I think that this is covered in the Abstract, namely
I appreciate that |
For me, that describes the relation of But I'm missing something for |
The |
The general consideration for DTLS contexts is that different contexts can have different security properties (e.g., cipher suite used, client authenticated or not). If multiple CoAP messages are linked together in some way (e.g., a response to a request), all those messages should be in the same context (or a security analysis needs to be performed to determine potential vulnerabilities resulting from different security properties or the lack of the implicit binding between messages provided by a DTLS context in general). In the case of blockwise transfers, I could, for example, easily imagine problems if a client makes 5 blockwise PUT requests without client authentication and then the final blockwise PUT request with client authentication, and the server proceeds to handle the PUT requests as an atomic unit under the (wrong) assumption that all requests are client authenticated. |
Yes, that was my consideration. |
I don't get which behavior you decide to finally implement. |
Not sure, what your expectations are. |
I have no expectations, I try to understand first. And I don't get what kind of check :
|
I guess, this question in general is still open. |
As the rfc7959 says :
So this probably limits case where using another DTLS connection could be useful (like dynamic IP environment). so most of the time same connection should be enough. (Unlike observe use case) Using the endpoint context matcher is more flexible (as user can implements their own rules), so I think it makes sense to use it to do that check.
AFIAK, It should no cause any troubles. |
For single message pairs, RFC7252 9.1.1, or single request/response pairs, RFC7252 9.1.2 describes, that the DTLS context must be considered.
What is about followup request for a blockwise PUT/POST? If I didn't over read it, there is nothing defined in RFC7959 to obey. Are there any considerations, to apply the same rules for the followup request that for responses?
The text was updated successfully, but these errors were encountered: