RestComm / media-core

RMS - Restcomm Media Server for Real Time Cloud Communications
http://www.restcomm.com/
GNU Affero General Public License v3.0
160 stars 124 forks source link

Create Netty handler for DTLS #91

Open hrosa opened 8 years ago

hrosa commented 8 years ago

Implement a Netty handler to process DTLS packets

vu3mmg commented 8 years ago

Could you please let me know whether the netty dtls handler is implemented ..

hrosa commented 8 years ago

Hi @vu3mmg not yet. The integration with Netty has been postponed to milestone 4.3.0 and should happen after the implementation of the new MGCP stack. Are you interested in contributing?

vu3mmg commented 8 years ago

Thank you for the reply . Yes we are ready to put effort. Let me explain you the back ground . I am committer for opendaylight capwap project . There also we are trying to implement DTLS handler with netty . A project called opendaylight/USC had implemented DTLS handler with netty- https://github.com/opendaylight/usc . But there are many issues with that implementation . We thought of doing it fresh for capwap .

We had spent some effort , but was stuck with some bouncy castle issues . If you could give us some support regarding bouncycastle , hopefully we could contribute back .

One of the issues we faced was related to session re-negotiation/reestablishment with bouncy castle . We found that you have implemented this capability.

regards Mahesh PS: Copying Abi, he is a fellow committer in ODL .

On Tue, Jun 21, 2016 at 8:31 PM, Henrique Rosa notifications@github.com wrote:

Hi @vu3mmg https://github.com/vu3mmg not yet. The integration with Netty has been postponed to milestone 4.3.0 and should happen after the implementation of the new MGCP stack https://github.com/RestComm/mediaserver/issues?q=is%3Aopen+milestone%3A4.3.0+label%3AMGCP2 . Are you interested in contributing?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/RestComm/mediaserver/issues/91#issuecomment-227468057, or mute the thread https://github.com/notifications/unsubscribe/AI5sN8P6iiosJgDYo6Ib6Wf-ATu9X3fJks5qN_zBgaJpZM4HsICb .

hrosa commented 8 years ago

@vu3mmg We are using Bouncy Castle as well, but we had to workaround the fact that it is using a blocking implementation of DTLS (with some issues!).

I think the best way to implement a Netty DTLS handler would be to develop the solution on top of a non-blocking implementation of DTLS (latest BC release introduced a NIO implementation for TLS, but unfortunately there was no work done on DTLS).

I wonder if you're interested in joining efforts to make this happen. I think this feature has been requested many times on BC forums so maybe we can find some support there too.

Please, reach me on henrique.rosa@telestax.com so we can discuss better.

Best Regards