LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   FTP Problem (VSFTPD) (http://www.linuxquestions.org/questions/linux-software-2/ftp-problem-vsftpd-272567/)

williew 01-01-2005 10:15 AM

FTP Problem (VSFTPD)
 
Hi everyone.

I have discovered a slight problem with my current configuration with VsfTPd. For some reason, only passive connections seem to work properly. See below:

Non Passive:
Quote:

williew@debian:~$ ftp allprogramming.net
Connected to allprogramming.net.
220 Welcome to the allprogramming.net FTP service. Your connection will timeout in 5 minutes of inactivity.
Name (allprogramming.net:williew): williew
331 Please specify the password.
Password:
230 Login successful.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> ls
500 Illegal PORT command.
ftp: bind: Address already in use
ftp> exit
221 Goodbye.
Passive:
Quote:

williew@debian:~$ ftp -p allprogramming.net
Connected to allprogramming.net.
220 Welcome to the allprogramming.net FTP service. Your connection will timeout in 5 minutes of inactivity.
Name (allprogramming.net:williew): williew
331 Please specify the password.
Password:
230 Login successful.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> ls
227 Entering Passive Mode (216,176,66,231,23,134)
150 Here comes the directory listing.
drwxr-x--- 2 1000 1001 4096 Dec 30 23:38 cgi-bin
drwx------ 3 1000 1000 4096 Jan 01 01:47 mail
drwxr-x--- 2 1000 1001 4096 Dec 30 23:37 public_html
226 Directory send OK.
ftp> exit
221 Goodbye.
Any help on this issue would be appreciated. Here is my vsftpd.conf file:
Quote:

listen=YES
listen_ipv6=NO
anonymous_enable=NO
local_enable=YES
pasv_enable=YES
pasv_min_port=6000
pasv_max_port=6025
pasv_address=216.176.66.231
pasv_promiscuous=YES
write_enable=YES
local_umask=022
anon_upload_enable=NO
anon_mkdir_write_enable=NO
dirmessage_enable=YES
xferlog_enable=YES
connect_from_port_20=YES
xferlog_file=/var/log/vsftpd.log
xferlog_std_format=YES
idle_session_timeout=300
data_connection_timeout=300
ftpd_banner=Welcome to the allprogramming.net FTP service. Your connection will timeout in 5 minutes of inactivity.
chroot_local_user=YES
TIA,
Willie.


All times are GMT -5. The time now is 12:02 AM.