<div dir="ltr">Hello,<div><br></div><div>We have a server application needs DTLS protocol support. But the current OTP release still has an incomplete DTLS implementation. So we create this patch to include DTLS implementation based on current well-designed ssl architecture (which we don't consider this as a new feature, just a patch). What we have added are:</div><div><br></div><div>1. DTLS transport layer on top of gen_udp</div><div>2. DTLS flight retransmission and timeout mechanism</div><div>3. DTLS record fragmentation/defragmentation handling</div><div><br></div><div>It looks good that the patch can work with OpenSSL 1.0.2a release. If no one is working on dtls now, we would like to have this patch to be reviewed.</div><div><br></div><div>Following is the repository contains the patch:</div><div><br></div><div><a href="https://github.com/haiyang-yin/otp">https://github.com/haiyang-yin/otp</a><br></div><div><br></div><div>To fetch the patch, refer to following git commands:</div><div><br></div><div>git clone <a href="https://github.com/haiyang-yin/otp.git">https://github.com/haiyang-yin/otp.git</a></div><div>git checkout dtls_patch</div><div><br></div><div>Here is code review location:</div><div><br></div><div><a href="https://github.com/haiyang-yin/otp/compare/maint...haiyang-yin:dtls_patch">https://github.com/haiyang-yin/otp/compare/maint...haiyang-yin:dtls_patch</a><br></div><div><br></div><div>There are two demo programs to show how dtls client/server works in the attachments.</div><div><br></div><div>Feel free to let me know if further information is needed.</div><div><br></div><div>Thank you,</div><div><br></div><div>/Haiyang</div><div><br></div></div>