ProfFTPd & mod_tls
Hello,
I successfully compiled proftpd with mod_tls.c and am now trying to configure FTP over SSL. proftpd.org does, in their directives manual, however, not show me more than "FIXME"s, and so I am asking here: What I want to accomplish is clear: proftpd should ONLY accept SSL connections an reject the standard ones. The directives under <Ifmodule mod_tls.c> seem no to work since I'm neither able to establish an explicit, nor an implicit connection. SFTP over SSLv2 works, but in mod_tls.c README it says, that this is no longer supportet - I'm a bit confused right now. So how to configure proftpd to reject standard connections wich are not secured, and how to set up mod_tls...? |
Hello, this works fine for me:
Code:
<IfModule mod_tls.c> |
Thanks a lot, but how do I generate certificates?
|
I have made a little script that i use.. just make sure that you have openssl installed.
Code:
#!/bin/sh Of course you can just enter the lines directly in the shell if you want. :) |
My thanks :-)) -
Hm, ProFTPd keeps complaining "500 AUTH not understood": Code:
Response: 220 ProFTPD 1.2.8 Server (HITOMI) [hitomi.veith-m.ath.cx] |
ProFTPd was installed on my machine from an RPM. I don't know if mod_tls was complied with it or not. Is there a way I can find out?
If I want to build the tls module into my ProFTPd installation, can I just download the source (of the same version I'm running) and do a ./configure and make to include mod_tls? Is that a good way to do it? |
add
Code:
TLSEngine on Installation tips: Code:
./configure --with-modules=mod_tls if you have OpenSSL installed but "make" fails, try this: Code:
./configure --with-modules=mod_tls \ |
Run "proftpd -l" (an "el"), it shows you a list of build-in modules, that should answer your question, too. :)
|
All times are GMT -5. The time now is 05:55 AM. |