contiki-ng / tinydtls

A version of tinyDTLS that is refactored to be more easy to use "standalone" (e.g. without bindings to a specific IP-stack).
Other
8 stars 25 forks source link

Handle multirecord messages in handshake. #1

Open aodanne opened 6 years ago

aodanne commented 6 years ago

This only handles a combined handshake message starting with server_hello. E.g a flight with: 2: server_hello 12 server_key_exchange 14 server hello done This could be generalized to any message.

simpyparveen commented 4 years ago

Does it involve handling multiple flights in single record. Or dividing single flight into multiple records ?

aodanne commented 4 years ago

It handels multiple flights in a single record. I used the SSL server in Erlang/OTP in my application and found that it packed 3 flights in one transmission which tinydtls not understood. I just decoded the first flight and the got confused over the extra bytes. ///Anders

Den sön 31 maj 2020 kl 04:22 skrev Simpy Parveen notifications@github.com:

Does it involve handling multiple flights in single record. Or dividing single flight into multiple records ?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/contiki-ng/tinydtls/pull/1#issuecomment-636410683, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA3VJG2IJPF3XWHPBWNFQ4LRUG5NPANCNFSM4EOU2ATQ .