[erlang-questions] (D)TLS with SCTP?

Sargun Dhillon <>
Mon Jul 11 05:07:07 CEST 2016


Has anyone done (D)TLS over SCTP? I know DTLS in Erlang isn't fully
baked yet, but it seems better suited for SCTP. I tried to pass a
one-to-one peeled off SCTP socket to SSL, and it seems not to work.
The next option seems to be to implement a custom transport / callback
module to wrap SCTP and present gen_tcp semantics. My only worry there
is then I'll lose the datagram semantics of SCTP, and I'll have to do
my own work to encrypt other streams.


More information about the erlang-questions mailing list