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

Lack of dtls retransmission during handshake. #274

Open
Lisek73 opened this issue Aug 8, 2016 · 1 comment
Open

Lack of dtls retransmission during handshake. #274

Lisek73 opened this issue Aug 8, 2016 · 1 comment

Comments

@Lisek73
Copy link

Lisek73 commented Aug 8, 2016

There is no retransmission on dtls protocol layer during handshake.
Probably the issue is common for dtls abstraction, checked against tinydtls and gnutls.

For example:
tinydtls has a callback dtls_check_retransmit() which should be run periodically in application main loop for at least not connected peers. It is never used in AwaLWM2M project.

Reproduction steps:
To simple simulate datagram drop run secure client when server is offline, after couple seconds run server. There is one dtls packet "client_hello" sent, no retransmission. After 32 seconds registration timeout on high protocol lever can be observed.

I think that it is good to have full functional dtls layer with retransmit working. It improves connectivity.

@delmet
Copy link
Collaborator

delmet commented Aug 8, 2016

You are right at the moment you would have to wait for the registration timeout for it to try again. As this will cause DTLS_Reset to be called.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants