mam kolejny problem, chce zrobic szyfrowanie ftp (openssl), zrobiłem wszystko co było napisane na :
http://petka.ovh.org/linux/proftpdtls.html, w proftpd.conf dodałem opcje w znaczniku <IfModule mod_tls.c></IfModule>,bo inaczej sypało błędami, serwer odpala ale szyfrowanie nie działa (T/C przepuszcza bez opcji SSL/TLS). Zauważyłem że po wpisaniu w konsoli : proftpd -nd 6 wyrzuca:
- parsing '/etc/proftpd.conf' configuration
- dispatching auth request "getpwnam" to module mod_auth_file
- dispatching auth request "getpwnam" to module mod_auth_unix
- dispatching auth request "getgrnam" to module mod_auth_file
- dispatching auth request "getgrnam" to module mod_auth_unix
- <Directory /home/httpd/www/public_html>: deferring resolution of path
- <IfModule>: skipping 'mod_tls.c' section at line 20
NND -
NND - Config for Serwerek:
NND - /home/httpd/www/public_html
NND - AllowOverwrite
NND - Umask
NND - ServerIdent
NND - DeferWelcome
NND - DefaultServer
NND - DefaultRoot
NND - Umask
NND - UserID
NND - UserName
NND - GroupID
NND - GroupName
NND - dispatching auth request "getgroups" to module mod_auth_file
NND - dispatching auth request "getgroups" to module mod_auth_unix
NND - deleting existing scoreboard '/var/run/proftpd/proftpd.scoreboard'
NND - Failed binding to 0.0.0.0, port 21: Address already in use
NND - Check the ServerType directive to ensure you are configured correctly.
Plik proftpd.conf:
#Plik konfiguracyjny ProFTPD
ServerName "Serwerek"
ServerIdent off
ServerType standalone
DeferWelcome off
DefaultServer on
DefaultRoot /home/httpd/www/public_html
Port 21
Umask 002
User krzysiek
Group users
<Directory /home/httpd/www/public_html>
AllowOverwrite on
</Directory>
<IfModule mod_tls.c>
TLSEngine on
TLSLog /var/log/tls.log
TLSProtocol SSLv23
TLSOptions NoCertRequest
TLSRSACertificateFile /etc/cert/proftpd.cert.pem
TLSRSACertificateKeyFile /etc/cert/proftpd.key.pem
TLSVerifyClient off
User krzysiek
Group users
RequireValidShell off
TLSRequired on
MaxClients 10
DisplayLogin welcome.msg
DisplayFirstChdir .message
AllowStoreRestart on
</IfModule>