media-core icon indicating copy to clipboard operation
media-core copied to clipboard

Create Netty handler for DTLS

Open hrosa opened this issue 8 years ago • 4 comments

Implement a Netty handler to process DTLS packets

hrosa avatar Mar 08 '16 20:03 hrosa

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

vu3mmg avatar Jun 21 '16 03:06 vu3mmg

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?

hrosa avatar Jun 21 '16 15:06 hrosa

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 [email protected] 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 .

vu3mmg avatar Jun 21 '16 18:06 vu3mmg

@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 [email protected] so we can discuss better.

Best Regards

hrosa avatar Jun 21 '16 19:06 hrosa