rockfx01
March 4th, 2008, 02:13 PM
Hello,
I am having a bit of a problem here with vsftpd which is over my head.
I have two servers set up, one is our server running the vsftpd service. The second server is a proprietary server running some form of linux/unix, but it's a proprietary box and I don't have any real control over it.
I am trying to synchronize between the two servers and have attempted using multiple different FTP clients to do so, to no avail. Finally I tried doing it via command-line using the proxy FTP command, but that also did not work. I can copy files from our server, running vsftpd and I can copy files to the other server(unknown service, allows anonymous login), but I cannot initiate a passive connection between the two it seems. I am hoping someone might be able to help.
Here is a condensed version of my vsftpd.conf file:
anonymous_enable=NO
local_enable=YES
write_enable=YES
local_umask=022
#anon_upload_enable=YES
#anon_mkdir_write_enable=YES
dirmessage_enable=YES
xferlog_enable=YES
connect_from_port_20=YES
#chown_uploads=YES
#chown_username=whoever
#xferlog_file=/var/log/vsftpd.log
xferlog_std_format=YES
#idle_session_timeout=600
#data_connection_timeout=120
#nopriv_user=ftpsecure
async_abor_enable=YES #I enabled this b/c I thought it might help but it didn't.
#ascii_upload_enable=YES
#ascii_download_enable=YES
#ftpd_banner=Welcome...
#banned_email_file=[file]
chroot_list_enable=YES
chroot_list_file=/etc/vsftpd.chroot_list
#ls_recurse_enable=YES
pam_service_name=vsftpd
userlist_enable=YES
userlist_deny=NO
listen=YES
tcp_wrappers=YES
Then in the command line from a third system (Ubuntu 7.10), I tried FTP'ing into the main server (x.x.x.1) and do a proxy transfer to the secondary server, (x.x.x.222). Am I doing something wrong?
user@host:~$ ftp x.x.x.1
Connected to x.x.x.1.
220 (vsFTPd 2.0.1)
Name (172.16.0.1:user): ftpuser
331 Please specify the password.
Password:
230 Login successful.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> cd Files
250 Directory successfully changed.
ftp> cd for.transfer
250 Directory successfully changed.
ftp> proxy open x.x.x.222
Connected to x.x.x.222.
220
Name (x.x.x.222:user): anonymous
331 User name anonymous, need password
Password:
230 User anonymous logged in. There are currently 1 users.
Remote system type is Omneon.
ftp> proxy put "My File V0.mov" /fs0/backup
local: My File V0.mov remote: /fs0/backup
x.x.x.222:227 Entering Passive Mode (x,x,x,222,5,95)
x.x.x.1:500 Illegal PORT command.
ftp>
](*,)
If anyone is able to help, I would greatly appreciate it!
Thanks!
I am having a bit of a problem here with vsftpd which is over my head.
I have two servers set up, one is our server running the vsftpd service. The second server is a proprietary server running some form of linux/unix, but it's a proprietary box and I don't have any real control over it.
I am trying to synchronize between the two servers and have attempted using multiple different FTP clients to do so, to no avail. Finally I tried doing it via command-line using the proxy FTP command, but that also did not work. I can copy files from our server, running vsftpd and I can copy files to the other server(unknown service, allows anonymous login), but I cannot initiate a passive connection between the two it seems. I am hoping someone might be able to help.
Here is a condensed version of my vsftpd.conf file:
anonymous_enable=NO
local_enable=YES
write_enable=YES
local_umask=022
#anon_upload_enable=YES
#anon_mkdir_write_enable=YES
dirmessage_enable=YES
xferlog_enable=YES
connect_from_port_20=YES
#chown_uploads=YES
#chown_username=whoever
#xferlog_file=/var/log/vsftpd.log
xferlog_std_format=YES
#idle_session_timeout=600
#data_connection_timeout=120
#nopriv_user=ftpsecure
async_abor_enable=YES #I enabled this b/c I thought it might help but it didn't.
#ascii_upload_enable=YES
#ascii_download_enable=YES
#ftpd_banner=Welcome...
#banned_email_file=[file]
chroot_list_enable=YES
chroot_list_file=/etc/vsftpd.chroot_list
#ls_recurse_enable=YES
pam_service_name=vsftpd
userlist_enable=YES
userlist_deny=NO
listen=YES
tcp_wrappers=YES
Then in the command line from a third system (Ubuntu 7.10), I tried FTP'ing into the main server (x.x.x.1) and do a proxy transfer to the secondary server, (x.x.x.222). Am I doing something wrong?
user@host:~$ ftp x.x.x.1
Connected to x.x.x.1.
220 (vsFTPd 2.0.1)
Name (172.16.0.1:user): ftpuser
331 Please specify the password.
Password:
230 Login successful.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> cd Files
250 Directory successfully changed.
ftp> cd for.transfer
250 Directory successfully changed.
ftp> proxy open x.x.x.222
Connected to x.x.x.222.
220
Name (x.x.x.222:user): anonymous
331 User name anonymous, need password
Password:
230 User anonymous logged in. There are currently 1 users.
Remote system type is Omneon.
ftp> proxy put "My File V0.mov" /fs0/backup
local: My File V0.mov remote: /fs0/backup
x.x.x.222:227 Entering Passive Mode (x,x,x,222,5,95)
x.x.x.1:500 Illegal PORT command.
ftp>
](*,)
If anyone is able to help, I would greatly appreciate it!
Thanks!