marcosArruda / rfc5766-turn-server

Automatically exported from code.google.com/p/rfc5766-turn-server

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

authentication with TLS followed by unencrypted relaying data

GoogleCodeExporter opened this issue · comments

I want to use authentication with TLS for securing credentials but not encrypt 
data when relaying, I think this has to be possible with TURN server but after 
research couldn't find any solution.

Original issue reported on code.google.com by Jbarami...@gmail.com on 28 Aug 2014 at 6:45

This is not possible, according to the TURN specs. We are not doing anything 
that is against the specs.

Original comment by mom040...@gmail.com on 28 Aug 2014 at 6:58

  • Changed state: Invalid
Thanks for response.
Is it possible with coturn server?

Original comment by Jbarami...@gmail.com on 28 Aug 2014 at 8:29

No, the same is true for coturn.

Original comment by mom040...@gmail.com on 28 Aug 2014 at 2:26

but coturn supports RFC 6062, which supports having different connections for 
relaying data and TURN messaging. So if I do TLS negotiation on control 
connection and then create new connection for relaying data it will also be 
encrypted even if I don't start TLS there?

Thanks.

Original comment by Jbarami...@gmail.com on 28 Aug 2014 at 3:33

The relaying connection in the beginning still has a negotiation dialog with 
the same credentials. So if you are using a "plain" relaying connection then 
you are revealing the credentials that you were trying to hide in the control 
connection. So it makes no sense.

Original comment by mom040...@gmail.com on 28 Aug 2014 at 4:29