mozilla / ssl-config-generator

Mozilla SSL Configuration Generator
https://ssl-config.mozilla.org/
Mozilla Public License 2.0
358 stars 59 forks source link

Invalid value for ProFTPD 1.3.6 "TLSProtocol" directive #99

Closed eomanis closed 8 months ago

eomanis commented 4 years ago

Currently generated:

TLSProtocol                   TLSv1.2 TLSv1.3

As of ProFTPD 1.3.6, the mod_tls module of ProFTPD does not appear to recognize TLSv1.3 as a valid protocol string for the TLSProtocol directive. This will presumably be fixed with ProFTPD 1.3.7.

A workaround is to allow all protocols and blacklist the undesired ones:

TLSProtocol                   ALL -SSLv3 -TLSv1 -TLSv1.1
gene1wood commented 3 years ago

It looks like TLSv1.3 support was added in 1.3.7rc1.

And here are details on what versions support what format for TLSProtocol : http://www.proftpd.org/docs/contrib/mod_tls.html#TLSProtocol

eomanis commented 3 years ago

You are right, it is fixed in ProFTPD 1.3.7. Can confirm with ProFTPD 1.3.7a and TLSProtocol TLSv1.2 TLSv1.3 on Arch Linux (proftpd-2:1.3.7a-3).

Sorry, I forgot about this issue being open.

gene1wood commented 3 years ago

Oh I didn't mean that this was invalid. I suspect there will be users who come to the SSL config generator that are using Proftpd 1.3.6

For example these distros which are currently supported aren't on 1.3.7 yet Ubuntu up to 20.04 RHEL up to 7

I was just adding some details for myself or someone else to work on a PR with.

janbrasna commented 8 months ago

Just a simple version update #213 should fix this issue.


@gene1wood Good point with the versions though. In this case:

(But that's a different issue, unrelated to fixing the recent version support that could be shipped, and is more important for correct configuration on recent versions, than stating the start of any meaningful support for prehistoric versions…)