Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

The server is running CentOS 5 with DirectAdmin. I am trying to get ProfFTPD work over TLS, however it seems that proftpd is lacking mod_tls support, even though it was compiled with mod_tls.

 # proftpd -l
Compiled-in modules:
  mod_core.c
  mod_xfer.c
  mod_auth_unix.c
  mod_auth_file.c
  mod_auth.c
  mod_ls.c
  mod_log.c
  mod_site.c
  mod_delay.c
  mod_facts.c
  mod_ident.c
  mod_ratio.c
  mod_readme.c
  mod_cap.c

As you can see there is no mod_tls.c, however, the DirectAdmin configuration file for proftpd suggests that it was built with TLS support:

 # cat /usr/local/directadmin/custombuild/configure/proftpd/configure.proftpd
#!/bin/sh
install_user=ftp \
install_group=ftp \
./configure \
--prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var/run \
--mandir=/usr/share/man \
--without-pam \
--disable-auth-pam \
--enable-nls \
--with-modules=mod_ratio:mod_readme:mod_tls

And all I get when I try to connect over FTPS using FileZilla is:

Răspuns:    220 ProFTPD 1.3.3c Server ready.
Comandă:    AUTH TLS
Răspuns:    500 AUTH not understood
Comandă:    AUTH SSL
Răspuns:    500 AUTH not understood

Am I missing something? thanks.

share|improve this question
    
Why not just use sftp? –  EEAA Dec 2 '12 at 21:10
    
@EEAA i do use sftp, however i can't open the ssh port for anyone else. –  develroot Dec 2 '12 at 21:13
    
Why not? When set up properly it'll likely be far mor secure than having another daemon running, with a completely different set of vulnerabilities and complexities. –  EEAA Dec 2 '12 at 21:15
    
It seems as if your ProFTPd wasn't build using the configure file you are copying. proftpd -V can show you the configure line which was used to build it. Did you try rebuilding ProFTPd using Custombuild? Do you by any chance have any alternative configure file on /usr/local/directadmin/custombuild/custom?. –  El Barto Dec 20 '12 at 13:47

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.