Coturn: Add option to disable SSLv3

Created on 6 Mar 2018  路  5Comments  路  Source: coturn/coturn

By default coturn seems to support SSLv3, TLSv1, TLSv1.1, TLSv1.2.
There are options to disable the newer protocol versions ("--no-tlsv1", "--no-tlsv1_1", and "--no-tlsv1_2") but there does not seem to be an option to disable to old SSLv3 ("--no-ssl23" ?).

It would be nice to have than option to selectively disable support for SSLv3.

Most helpful comment

Thanks for the reply.
I guess what surprised me (and still does) is that when I start coturn it reports loading certificate and private key for SSL23:

0: SSL23: Certificate file found: snip
0: SSL23: Private key file found: snip
0: TLS1.2: Certificate file found: snip
...

Before I disabled TLSv1 and v1.1 coturn also reported loading of keys for those protocols. Therefore I assumed that it still supports SSL23 since it is reporting the keys being loaded.
Also these lines made me think that SSL was supported for "compatibility".

All 5 comments

SSLv3 (and SSLv2) are unconditionally disabled by default. You can see that in the code here:
https://github.com/coturn/coturn/blob/master/src/apps/relay/mainrelay.c#L2642-L2650

According to the changelog, SSLv2 was removed in 4.4.1.1, and SSLv3 in 4.5.0.3:
https://github.com/coturn/coturn/blob/master/ChangeLog#L133
https://github.com/coturn/coturn/blob/master/ChangeLog#L44-L48

Thanks for the reply.
I guess what surprised me (and still does) is that when I start coturn it reports loading certificate and private key for SSL23:

0: SSL23: Certificate file found: snip
0: SSL23: Private key file found: snip
0: TLS1.2: Certificate file found: snip
...

Before I disabled TLSv1 and v1.1 coturn also reported loading of keys for those protocols. Therefore I assumed that it still supports SSL23 since it is reporting the keys being loaded.
Also these lines made me think that SSL was supported for "compatibility".

Indeed, that does seem confusing. I do not quite understand why it creates that context, though...

i vote too.
This confusion should not exists! ;)
It's not normal to display a text about all versions SSL if are disabled.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

SherlockUnknowEn picture SherlockUnknowEn  路  3Comments

simon-india picture simon-india  路  4Comments

bradennapier picture bradennapier  路  5Comments

chenxiemin picture chenxiemin  路  7Comments

dandingol03 picture dandingol03  路  6Comments