ftps über ssl tunnel

Backup, Restore und Transfer von Daten
Post Reply
pie-ai
Posts: 16
Joined: 2004-03-10 23:47
 

ftps über ssl tunnel

Post by pie-ai »

Moin.
Ich habe einen vsftpd laufen und habe den inetd zu einem ssl-tunnel überredet. Ich kann mich einloggen, doch das Directory-listening kommt nicht. Mein Filezilla sagt folgendes:

Code: Select all

Status:	Connecting to pXXX.de:990 ...
Status:	Connected with pXXX.de:990, negotiating SSL connection...
Status:	SSL connection established. Waiting for welcome message...
Response:	220 pXXX FTP Server
Command:	USER pa
Response:	331 Please specify the password.
Command:	PASS ********
Response:	230 Login successful. Have fun.
Status:	Connected
Status:	Retrieving directory listing...
Command:	PWD
Response:	257 "/"
Command:	PORT 192,168,0,24,4,75
Response:	500 Illegal PORT command.
Error:	Could not retrieve directory listing
Meine Konfiguration sieht so aus (/etc/inetd.conf), ich habe sie mit Webmin erstellt:

Code: Select all

ftps    stream  tcp     nowait  root    /usr/sbin/stunnel       stunnel -p /etc/webmin/miniserv.pem -l /usr/sbin/vsftpd
Desweiteren habe ich FTP over SSL (implicite encryption) eingestellt, ohne ssl läuft es und der Port ist 990. Hat jemand eine Ahnung wo es hängt? Ich glaube es liegt irgendwie an dem daten-port, da habe ich aber nicht dir geringste Ahnung von.
MfG PA
compositiv
Posts: 193
Joined: 2003-01-22 14:58
Location: Hamburg
Contact:
 

Re: ftps über ssl tunnel

Post by compositiv »

PASV benutzen?
pie-ai
Posts: 16
Joined: 2004-03-10 23:47
 

Re: ftps über ssl tunnel

Post by pie-ai »

Habe ich ausgetestet, immer noch folgende Fehlermeldung:

Code: Select all

Status:	Connecting to pXXX.de:990 ...
Status:	Connected with pXXX.de:990, negotiating SSL connection...
Status:	SSL connection established. Waiting for welcome message...
Response:	220 PXXX FTP Server
Command:	USER pXXX
Response:	331 Please specify the password.
Command:	PASS ***********
Response:	230 Login successful. Have fun.
Status:	Connected
Status:	Retrieving directory listing...
Command:	PWD
Response:	257 "/"
Command:	PASV
Response:	227 Entering Passive Mode (127,0,0,1,205,25)
Command:	TYPE A
Response:	200 ASCII tastes bad, dude.
Command:	LIST -a
Error:	Transfer channel can't be opened. Reason: Es konnte keine Verbindung hergestellt werden, da der Zielcomputer die Verbindung verweigerte.
Error:	Could not retrieve directory listing
Und ich kann mir nicht erklären warum. Vielleicht folgende Zeilen in der /etc/vsftpd.conf

Code: Select all

# Make sure PORT transfer connections originate from port 20 (ftp-data).
connect_from_port_20=YES
Also, schönen Dank schon mal, hat jemand eine Idee? Wäre dankbar für jeden Anstoß.
Patrick
Post Reply