service ftp
{
socket_type = stream
protocol = tcp
wait = no
user = root
server = /usr/local/sbin/pure-ftpd
server_args = -A -E -I 5 -k 95% -s -w
log_on_success += DURATION USERID
log_on_failure += USERID
# nice = 10
disable = no
}
und das flashfxplog:
WinSock 2.0 -- OpenSSL 0.9.7d 17 Mar 2004
[R] Connecting to xxx -> IP=xxx PORT=21
[R] Connected to xxx
[R] 220---------- Herzlich willkommen auf Pure-FTPd [TLS] ----------
[R] 220-Sie sind Benutzer 1 von 50 erlaubten.
[R] 220-Lokale Zeit: 22:33. Serverport: 21.
[R] 220-Dies ist ein privates System - Keine anonyme Anmeldung möglich.
[R] 220-Auf diesem Server sind auch IPv6-Verbindungen willkommen
[R] 220 Sie werden nach 5 Minuten Inaktivität getrennt.
[R] AUTH TLS
[R] 500 Sicherheitserweiterung nicht implementiert.
[R] Failed SSL/TLS negotiation, disconnected
[R] Connection failed (Connection lost)
[R] Delaying for 120 seconds before reconnect attempt #1
wo in der xinetd startest du bitte deinen Server mit --tls=1 bzw. -Y ?
Once the certificate has been installed, you need to start a TLS-enabled
pure-ftpd daemon with the -Y (or --tls=) switch. Example :
/usr/local/sbin/pure-ftpd --tls=1 &
- With "--tls=0", support for SSL/TLS is disabled. This is the default.
- With "--tls=1", clients can connect either the traditional way or through an
SSL/TLS layer.
- With "--tls=2", cleartext sessions are refused and only SSL/TLS compatible
clients are accepted.
When SSL/TLS has been successfully negociated for a connection, you'll see
something similar to this in log files :
{
socket_type = stream
protocol = tcp
wait = no
user = root
server = /usr/local/sbin/pure-ftpd
server_args = -Y -A -E -I 5 -k 95% -s -w
log_on_success += DURATION USERID
log_on_failure += USERID
# nice = 10
disable = no
}
fazit:
WinSock 2.0 -- OpenSSL 0.9.7d 17 Mar 2004
[R] 220---------- Herzlich willkommen auf Pure-FTPd [TLS] ----------
[R] 220-Sie sind Benutzer 1 von 50 erlaubten.
[R] 220-Lokale Zeit: 22:48. Serverport: 21.
[R] 220-Dies ist ein privates System - Keine anonyme Anmeldung möglich.
[R] 220-Auf diesem Server sind auch IPv6-Verbindungen willkommen
[R] 220 Sie werden nach 5 Minuten Inaktivität getrennt.
[R] AUTH TLS
[R] 500 Sicherheitserweiterung nicht implementiert.
[R] Failed SSL/TLS negotiation, disconnected
[R] Connection failed (Connection lost)
[R] Delaying for 120 seconds before reconnect attempt #1
[R] Retry attempt Aborted