We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on v1 candidate and expect to engage more with the community over the coming months. We are committed to open source, and we encourage contributors to help us build the future of Vesta.
(Solved) Can't FTP log in Topic is solved
(Solved) Can't FTP log in
Dear everyone, I have two servers on Debian 8 and both I can't FTP login anymore. It seem to be since I've updated the servers but not sure ...
I found similar issues on google but don't find a solution that's suit to me !
- I've tried both PASSIVE and ACTIVE transfer mode,
- I've added "seccomp_sandbox=NO" into /etc/vsftpd.conf
- I've tried to change the pasv_max_port and pasv_min_port into /etc/vsftpd.conf
- I've tried to change the pasv_address with my IP address into /etc/vsftpd.conf
- Banlist file checked is empty.
None of above solution work ...
Hope someone can help, thanks
Active mode:
Passive mode:
I found similar issues on google but don't find a solution that's suit to me !
- I've tried both PASSIVE and ACTIVE transfer mode,
- I've added "seccomp_sandbox=NO" into /etc/vsftpd.conf
- I've tried to change the pasv_max_port and pasv_min_port into /etc/vsftpd.conf
- I've tried to change the pasv_address with my IP address into /etc/vsftpd.conf
- Banlist file checked is empty.
None of above solution work ...
Hope someone can help, thanks
Code: Select all
anonymous_enable=NO
local_enable=YES
write_enable=YES
local_umask=022
anon_umask=022
anon_upload_enable=NO
dirmessage_enable=YES
xferlog_enable=YES
connect_from_port_20=YES
xferlog_std_format=YES
dual_log_enable=YES
chroot_local_user=YES
listen=YES
pam_service_name=vsftpd
userlist_enable=NO
tcp_wrappers=YES
force_dot_files=YES
ascii_upload_enable=YES
ascii_download_enable=YES
#allow_writable_chroot=YES
allow_writeable_chroot=YES
seccomp_sandbox=NO
pasv_enable=YES
pasv_max_port=12100
pasv_min_port=12000
use_localtime=YES
pasv_address='SERVER MAIN IPv4'
Code: Select all
Status: Connection established, waiting for welcome message...
Status: Insecure server, it does not support FTP over TLS.
Status: Server does not support non-ASCII characters.
Status: Logged in
Status: Retrieving directory listing...
Command: PWD
Response: 257 "/"
Command: TYPE I
Response: 200 Switching to Binary mode.
Command: PORT 192,168,1,8,201,176
Response: 500 Illegal PORT command.
Command: PASV
Response: 500 OOPS: invalid pasv_address
Error: Failed to retrieve directory listing
Status: Connection closed by server
Code: Select all
Status: Connection established, waiting for welcome message...
Status: Insecure server, it does not support FTP over TLS.
Status: Server does not support non-ASCII characters.
Status: Logged in
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 192,168,1,8,201,195
Error: Connection closed by server
Error: Failed to retrieve directory listing
Last edited by grafityx on Fri Sep 21, 2018 3:18 am, edited 3 times in total.
Re: Can't FTP login
Geo-location seems to be one of the issue, let me explain when I ask a friend to connect from his home country it's work pretty fine with ACTIVE mode. But If myself, I use a VPN with the same country than friend, is not connecting ...
Not really understand why my current location or VPN can affect to log in into FTP, especially before I could connect =(
By the way my friend and servers are located in Europe and me in Asia
Not really understand why my current location or VPN can affect to log in into FTP, especially before I could connect =(
By the way my friend and servers are located in Europe and me in Asia
Re: Can't FTP login
Issue fixed by removing "pasv_address=" line from /etc/vsftpd.conf file.
Now I can log in both active and passive mode !
Now I can log in both active and passive mode !
-
- Posts: 1
- Joined: Mon Sep 24, 2018 12:38 pm
- Contact:
- Os: CentOS 6x
- Web: apache
Re: (Solved) Can't FTP log in
Nicely done!