[erlang-patches] DTLS patch

Haiyang Yin haiyang.yin@REDACTED
Sat May 30 19:19:53 CEST 2015


Hello,

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:

1. DTLS transport layer on top of gen_udp
2. DTLS flight retransmission and timeout mechanism
3. DTLS record fragmentation/defragmentation handling

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.

Following is the repository contains the patch:

https://github.com/haiyang-yin/otp

To fetch the patch, refer to following git commands:

git clone https://github.com/haiyang-yin/otp.git
git checkout dtls_patch

Here is code review location:

https://github.com/haiyang-yin/otp/compare/maint...haiyang-yin:dtls_patch

There are two demo programs to show how dtls client/server works in the
attachments.

Feel free to let me know if further information is needed.

Thank you,

/Haiyang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-patches/attachments/20150530/0e4d7f8d/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dumpd_dtls_c.erl
Type: application/octet-stream
Size: 3327 bytes
Desc: not available
URL: <http://erlang.org/pipermail/erlang-patches/attachments/20150530/0e4d7f8d/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dumpd_dtls.erl
Type: application/octet-stream
Size: 3292 bytes
Desc: not available
URL: <http://erlang.org/pipermail/erlang-patches/attachments/20150530/0e4d7f8d/attachment-0001.obj>


More information about the erlang-patches mailing list