Amazon Ec2: Le problème avec la définition du serveur FTP
Après avoir configuré mon serveur vsFtp sur Ec2 J'ai couru dans un problème, mon client - Filezilla
Et je reçois cette erreur
Response: 230 Login successful.
Command: OPTS UTF8 ON
Response: 200 Always in UTF8 mode.
Status: Connected
Status: Retrieving directory listing...
Command: PWD
Response: 257 "/"
Command: TYPE I
Response: 200 Switching to Binary mode.
Command: PASV
Response: 500 OOPS: invalid pasv_address
Command: PORT 10,130,8,44,240,50
Response: 500 OOPS: priv_sock_get_cmd
Error: Failed to retrieve directory listing
Error: Connection closed by server
Ceci est le cadre actuel de mon
vsftpd.conf
#nopriv_user=ftpsecure
#async_abor_enable=YES
# ASCII mangling is a horrible feature of the protocol.
#ascii_upload_enable=YES
#ascii_download_enable=YES
# You may specify a file of disallowed anonymous e-mail addresses. Apparently
# useful for combatting certain DoS attacks.
#deny_email_enable=YES
# (default follows)
#banned_email_file=/etc/vsftpd/banned_emails
#
chroot_local_user=YES
#chroot_list_enable=YES
# (default follows)
#chroot_list_file=/etc/vsftpd/chroot_list
GNU nano 2.0.6 File: /etc/vsftpd/vsftpd.conf
# #ls_recurse_enable=YES
#
# When "listen" directive is enabled, vsftpd runs in standalone mode and
# listens on IPv4 sockets. This directive cannot be used in conjunction
# with the listen_ipv6 directive.
listen=YES
#
# This directive enables listening on IPv6 sockets. To listen on IPv4 and IPv6
# sockets, you must run two copies of vsftpd with two configuration files.
# Make sure, that one of the listen options is commented !!
#listen_ipv6=YES
pam_service_name=vsftpd
userlist_enable=YES
tcp_wrappers=YES
pasv_enable=YES
pasv_min_port=2345
pasv_max_port=2355
listen_port=1024
pasv_address=ec2-xxxxxxx.compute-1.amazonaws.com
pasv_promiscuous=YES
Remarque: J'ai déjà ouvert ce port dans le groupe de sécurité, je veux dire le port d'audition, min. Max.
Si quelqu'un me montre comment le réparer, je serai très reconnaissant
Et je reçois cette erreur
Response: 230 Login successful.
Command: OPTS UTF8 ON
Response: 200 Always in UTF8 mode.
Status: Connected
Status: Retrieving directory listing...
Command: PWD
Response: 257 "/"
Command: TYPE I
Response: 200 Switching to Binary mode.
Command: PASV
Response: 500 OOPS: invalid pasv_address
Command: PORT 10,130,8,44,240,50
Response: 500 OOPS: priv_sock_get_cmd
Error: Failed to retrieve directory listing
Error: Connection closed by server
Ceci est le cadre actuel de mon
vsftpd.conf
#nopriv_user=ftpsecure
#async_abor_enable=YES
# ASCII mangling is a horrible feature of the protocol.
#ascii_upload_enable=YES
#ascii_download_enable=YES
# You may specify a file of disallowed anonymous e-mail addresses. Apparently
# useful for combatting certain DoS attacks.
#deny_email_enable=YES
# (default follows)
#banned_email_file=/etc/vsftpd/banned_emails
#
chroot_local_user=YES
#chroot_list_enable=YES
# (default follows)
#chroot_list_file=/etc/vsftpd/chroot_list
GNU nano 2.0.6 File: /etc/vsftpd/vsftpd.conf
# #ls_recurse_enable=YES
#
# When "listen" directive is enabled, vsftpd runs in standalone mode and
# listens on IPv4 sockets. This directive cannot be used in conjunction
# with the listen_ipv6 directive.
listen=YES
#
# This directive enables listening on IPv6 sockets. To listen on IPv4 and IPv6
# sockets, you must run two copies of vsftpd with two configuration files.
# Make sure, that one of the listen options is commented !!
#listen_ipv6=YES
pam_service_name=vsftpd
userlist_enable=YES
tcp_wrappers=YES
pasv_enable=YES
pasv_min_port=2345
pasv_max_port=2355
listen_port=1024
pasv_address=ec2-xxxxxxx.compute-1.amazonaws.com
pasv_promiscuous=YES
Remarque: J'ai déjà ouvert ce port dans le groupe de sécurité, je veux dire le port d'audition, min. Max.
Si quelqu'un me montre comment le réparer, je serai très reconnaissant
Aucun résultat connexe trouvé
Invité:
Pour répondre aux questions, connectez-vous ou registre
2 réponses
Hannah
Confirmation de:
doit être une adresse IP externe, ou
Il est nécessaire d'installer de sorte que le nom d'hôte entré par vous est autorisé lors du démarrage vsftpd. Si vous utilisez le nom d'hôte avec pasv_addr_resolve, vsftpd Vous devez redémarrer si l'adresse IP change.
Hannah
Confirmation de:
Vous avez besoin d'élasticité IP