Quote:
Originally Posted by jcliburn
Please post the output of the following commands executed on your ftp server.
uname -r
netstat -ptuna
cat /etc/sysconfig/iptables (redact any sensitive stuff if you wish)
cat /etc/vsftpd/vsftpd.conf (again)
Also, please cut and paste the entire ftp connection attempt from the client, including all error output.
|
uname -r
2.6.9-42.0.3.ELsmp
netstat -ptuna
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address Stat e PID/Program name
tcp 0 0 0.0.0.0:867 0.0.0.0:* LIST EN 2381/rpc.statd
tcp 0 0 0.0.0.0:111 0.0.0.0:* LIST EN 2361/portmap
tcp 0 0 0.0.0.0:21 0.0.0.0:* LIST EN 2576/vsftpd
tcp 0 0 127.0.0.1:631 0.0.0.0:* LIST EN 2520/cupsd
tcp 0 0 127.0.0.1:25 0.0.0.0:* LIST EN 2596/sendmail: acce
tcp 0 0 72.240.1.170:32802 64.233.163.104:80 ESTA BLISHED 4162/firefox-bin
tcp 0 0 72.240.1.170:32793 64.233.163.104:80 ESTA BLISHED 4162/firefox-bin
tcp 0 0 72.240.1.170:32789 72.14.203.99:80 ESTA BLISHED 4162/firefox-bin
tcp 0 0 :::80 :::* LIST EN 3892/httpd
tcp 0 0 :::22 :::* LIST EN 2551/sshd
tcp 0 0 :::443 :::* LIST EN 3892/httpd
udp 0 0 0.0.0.0:861 0.0.0.0:* 2381/rpc.statd
udp 0 0 0.0.0.0:864 0.0.0.0:* 2381/rpc.statd
udp 0 0 0.0.0.0:111 0.0.0.0:* 2361/portmap
udp 0 0 0.0.0.0:631 0.0.0.0:* 2520/cupsd
cat /etc/sysconfig/iptables
# Firewall configuration written by system-config-securitylevel
# Manual customization of this file is not recommended.
*filter
:INPUT ACCEPT [0:0]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [0:0]
:RH-Firewall-1-INPUT - [0:0]
-A INPUT -j RH-Firewall-1-INPUT
-A FORWARD -j RH-Firewall-1-INPUT
-A RH-Firewall-1-INPUT -i lo -j ACCEPT
-A RH-Firewall-1-INPUT -p icmp --icmp-type any -j ACCEPT
-A RH-Firewall-1-INPUT -p 50 -j ACCEPT
-A RH-Firewall-1-INPUT -p 51 -j ACCEPT
-A RH-Firewall-1-INPUT -p udp --dport 5353 -d 224.0.0.251 -j ACCEPT
-A RH-Firewall-1-INPUT -p udp -m udp --dport 631 -j ACCEPT
-A RH-Firewall-1-INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT
-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 22 -j ACCEPT
-A RH-Firewall-1-INPUT -j REJECT --reject-with icmp-host-prohibited
COMMIT
cat /etc/vsftpd/vsftpd.conf (with all the comments deleted for space)
anonymous_enable=NO
local_enable=YES
write_enable=YES
local_umask=022
dirmessage_enable=YES
xferlog_enable=YES
connect_from_port_20=YES
xferlog_std_format=YES
ftpd_banner=No unauthorized use! Your IP is being tracked.
pam_service_name=vsftpd
userlist_enable=YES
listen=YES
#tcp_wrappers=YES
pasv_enable=YES
pasv_min_port=11001
pasv_max_port=11010
Unfortunately, there is no error log when I try to FTP(using MS CMD line FTP or CoffeeCup FTP). On the command line it will time out with the error ftp: connect :Unknown error number. CoffeeCup just keeps trying to connect forever...
Sorry it took so long to respond... Have had to put this project on the back burner here at work for my official work. Thanks again for any help you can give.
(I'd be willing to try ssh as well, but I'm hoping to give this one more chance before giving up on FTP.) Eventually I will be wanting to setup SSH, Web hosting, and DNS, but I can't even get the first part of this project working
I'm pretty sure it's something in the firewall, but I don't know anything about that... haven't been given enuf time to sit and read the man pages yet, either. Anywho... thanks again to anyone who can help me out w/ this!
Xera