ProFTPd with TLS/SSL ?
ProFTPd with TLS/SSL ?
Dear,
Do you know if it's possible to use SSL/TLS with ProFTPd-psa ?
Best regards,
Kilgore
Do you know if it's possible to use SSL/TLS with ProFTPd-psa ?
Best regards,
Kilgore
-
- Atomicorp Staff - Site Admin
- Posts: 8355
- Joined: Wed Dec 31, 1969 8:00 pm
- Location: earth
- Contact:
Yep, you can do it, heres the HOWTO:
http://www.castaglia.org/proftpd/doc/co ... O-TLS.html
http://www.castaglia.org/proftpd/doc/co ... O-TLS.html
I've been fighting to get the proftpd.spec & mod_quota patch from SW-Soft for over a month now to do just this...
The final reply was the following:
The final reply was the following:
Still not what I was after, but it's better than nothing I suppose.Dear Shaun,
we've got the answer from the development team. They decided to enable mod_tls in proftpd by themselves. This feature will be included into the nearest Plesk build 7.5.2 that should be releared in some days soon. Please watch our website for an announcement about new patches.
Sorry to bump an old thread, but this is the same problem I am facing in these days.
Proftpd over SSL can be configured easily in Plesk. The problem is that the version of Proftpd shipping with Plesk is unable to support SSL connection only on the auth phase in the control channel using the CCC command (you can read about this in the link scott gave for proftpd). This was added in more recent versions of ProFTPd.
If you are using FTP over SSL, without the CCC, since ip_conntrack_ftp is obviously unable to retrieve the passive port number in the control channel connection (because all info on the control channel is encrypted), you have to leave a whole black hole of always open ports in your firewall for passive connections. Without SSL, you can just leave the control channel open, and the passive ports will be opened dynamically.
So, one could just install ProFTPd from one of the packages available, but the problem is that ProFTPd for Plesk comes compiled with a custom module, mod_quota, written by SWSoft to work with Plesk. I tried asking them, but I was unable to know what exactly this module does that the standard mod_quota module is unable to do.
Is there some way to go around this without breaking Plesk, or without switching from FTP to another protocol?
Proftpd over SSL can be configured easily in Plesk. The problem is that the version of Proftpd shipping with Plesk is unable to support SSL connection only on the auth phase in the control channel using the CCC command (you can read about this in the link scott gave for proftpd). This was added in more recent versions of ProFTPd.
If you are using FTP over SSL, without the CCC, since ip_conntrack_ftp is obviously unable to retrieve the passive port number in the control channel connection (because all info on the control channel is encrypted), you have to leave a whole black hole of always open ports in your firewall for passive connections. Without SSL, you can just leave the control channel open, and the passive ports will be opened dynamically.
So, one could just install ProFTPd from one of the packages available, but the problem is that ProFTPd for Plesk comes compiled with a custom module, mod_quota, written by SWSoft to work with Plesk. I tried asking them, but I was unable to know what exactly this module does that the standard mod_quota module is unable to do.
Is there some way to go around this without breaking Plesk, or without switching from FTP to another protocol?
-
- Long Time Forum Regular
- Posts: 2813
- Joined: Sat Aug 20, 2005 9:30 am
- Location: The Netherlands
Which version of ProFTPd does support this then? Plesk 8 and 8.1 come with ProFTPd 1.3.0.
Lemonbit Internet Dedicated Server Management
I think ProFTPd should support it from version 1.3.0, and this makes lack of support in the version shipped with Plesk 8.1 (which as you said should be 1.3.0) for the CCC command strange.
Anyhow, when I try to add TLSRequired auth+data in the config file in place of TLSRequired on, I get a syntax error.
My guess is SwSoft compiled proftpd with an older version of mod_tls. Which makes impossible for us to recompile proftpd since we lack SwSoft's quota module (on a note, the latest release of ProFTPd includes a new mod_quota module).
Anyhow, when I try to add TLSRequired auth+data in the config file in place of TLSRequired on, I get a syntax error.
My guess is SwSoft compiled proftpd with an older version of mod_tls. Which makes impossible for us to recompile proftpd since we lack SwSoft's quota module (on a note, the latest release of ProFTPd includes a new mod_quota module).