PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : PureFTPd TLS Sitzung erzwingen



Sam Fisher
28.07.09, 09:47
Hallo !
Ich habe gerade meinen PureFTPd um die TLS-Fähigkeit erweitert. Wenn ich nun im Filezilla FTP über explizites TLS/SSL Angebe werde ich auch nach dem Zertifikat gefragt und so weiter. Funktioniert super. Das problem ist nur, dass ich mit "normalem" FTP auch noch auf den Server komme.

Gibt es einen Parameter mit dem ich nur TLS-Situngen zulasse oder dieses erzwinge?
Vielen Dank
Sam

marce
28.07.09, 09:54
http://download.pureftpd.org/pub/pure-ftpd/doc/README.TLS
sagt:

------------------------ ACCEPTING TLS SESSIONS ------------------------

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. This is probably the setting you need if you want to enable
TLS without having too much angry customers.

- With "--tls=2", cleartext sessions are refused and only SSL/TLS compatible
clients are accepted.

- With "--tls=3", cleartext sessions are refused and only SSL/TLS compatible
clients are accepted. Clear data connections are also refused, so private
data connections are enforced. This is an extreme setting.

heatwalker
28.07.09, 09:56
Schau Dir mal das howto auf dieser Seite an.

http://wiki.bsdforen.de/howto/ftp-server_mit_pureftpd

Damit sollte dir geholfen sein. (-:

Sam Fisher
28.07.09, 09:58
Oh, ich weiß das liest du sicher 100 mal am Tag, aber ich habe es leider wirklich überlesen. Tut mir leit.

Funktioniert wunderbar, danke für deine Hilfe !

@heatwalker: Dir auch ein Danke für dne Link.
Viele Grüße
Sam