rpavez
21st January 2009, 15:50
I have problms with the ftp on ispconfig.... i can connect without any problem with the webFTP from ispconfig but when i trie with an ftp-client (FireFTP - CuteFTP) the connection break.
this is the output of "iptables -L"
/var/log/proftpd# iptables -L
Chain INPUT (policy DROP)
target prot opt source destination
DROP tcp -- anywhere loopback/8
ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED
ACCEPT all -- anywhere anywhere
DROP all -- BASE-ADDRESS.MCAST.NET/4 anywhere
PUB_IN all -- anywhere anywhere
PUB_IN all -- anywhere anywhere
PUB_IN all -- anywhere anywhere
PUB_IN all -- anywhere anywhere
DROP all -- anywhere anywhere
Chain FORWARD (policy DROP)
target prot opt source destination
ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED
DROP all -- anywhere anywhere
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
PUB_OUT all -- anywhere anywhere
PUB_OUT all -- anywhere anywhere
PUB_OUT all -- anywhere anywhere
PUB_OUT all -- anywhere anywhere
Chain INT_IN (0 references)
target prot opt source destination
ACCEPT icmp -- anywhere anywhere
DROP all -- anywhere anywhere
Chain INT_OUT (0 references)
target prot opt source destination
ACCEPT icmp -- anywhere anywhere
ACCEPT all -- anywhere anywhere
Chain PAROLE (10 references)
target prot opt source destination
ACCEPT all -- anywhere anywhere
Chain PUB_IN (4 references)
target prot opt source destination
ACCEPT icmp -- anywhere anywhere icmp destination-unreachable
ACCEPT icmp -- anywhere anywhere icmp echo-reply
ACCEPT icmp -- anywhere anywhere icmp time-exceeded
ACCEPT icmp -- anywhere anywhere icmp echo-request
PAROLE tcp -- anywhere anywhere tcp dpt:ftp
PAROLE tcp -- anywhere anywhere tcp dpt:ssh
PAROLE tcp -- anywhere anywhere tcp dpt:smtp
PAROLE tcp -- anywhere anywhere tcp dpt:domain
PAROLE tcp -- anywhere anywhere tcp dpt:www
PAROLE tcp -- anywhere anywhere tcp dpt:81
PAROLE tcp -- anywhere anywhere tcp dpt:pop3
PAROLE tcp -- anywhere anywhere tcp dpt:imap2
PAROLE tcp -- anywhere anywhere tcp dpt:https
PAROLE tcp -- anywhere anywhere tcp dpt:webmin
ACCEPT udp -- anywhere anywhere udp dpt:domain
DROP icmp -- anywhere anywhere
DROP all -- anywhere anywhere
Chain PUB_OUT (4 references)
target prot opt source destination
ACCEPT all -- anywhere anywhere
the ptoftpd.log
Jan 21 13:46:12 server.wlaver.com proftpd[31085] www.wlaver.com (192.168.10.1[192.168.10.1]): FTP session closed.
Jan 21 10:46:22 server.wlaver.com proftpd[31088] www.wlaver.com (192.168.10.1[192.168.10.1]): FTP session opened.
Jan 21 10:46:22 server.wlaver.com proftpd[31088] www.wlaver.com (192.168.10.1[192.168.10.1]): USER web4_rpavez: Login successful.
Jan 21 13:46:22 server.wlaver.com proftpd[31088] www.wlaver.com (192.168.10.1[192.168.10.1]): Preparing to chroot to directory '/var/www/web4/user/web4_rpavez'
Jan 21 13:46:22 server.wlaver.com proftpd[31088] www.wlaver.com (192.168.10.1[192.168.10.1]): FTP session closed.
Here I see a mistake... the server ip is 192.168.10.2 an not 10.1. /etc/hosts is ok, ifconfig also have the correct ip... anyone ???... plis
this is the output of "iptables -L"
/var/log/proftpd# iptables -L
Chain INPUT (policy DROP)
target prot opt source destination
DROP tcp -- anywhere loopback/8
ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED
ACCEPT all -- anywhere anywhere
DROP all -- BASE-ADDRESS.MCAST.NET/4 anywhere
PUB_IN all -- anywhere anywhere
PUB_IN all -- anywhere anywhere
PUB_IN all -- anywhere anywhere
PUB_IN all -- anywhere anywhere
DROP all -- anywhere anywhere
Chain FORWARD (policy DROP)
target prot opt source destination
ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED
DROP all -- anywhere anywhere
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
PUB_OUT all -- anywhere anywhere
PUB_OUT all -- anywhere anywhere
PUB_OUT all -- anywhere anywhere
PUB_OUT all -- anywhere anywhere
Chain INT_IN (0 references)
target prot opt source destination
ACCEPT icmp -- anywhere anywhere
DROP all -- anywhere anywhere
Chain INT_OUT (0 references)
target prot opt source destination
ACCEPT icmp -- anywhere anywhere
ACCEPT all -- anywhere anywhere
Chain PAROLE (10 references)
target prot opt source destination
ACCEPT all -- anywhere anywhere
Chain PUB_IN (4 references)
target prot opt source destination
ACCEPT icmp -- anywhere anywhere icmp destination-unreachable
ACCEPT icmp -- anywhere anywhere icmp echo-reply
ACCEPT icmp -- anywhere anywhere icmp time-exceeded
ACCEPT icmp -- anywhere anywhere icmp echo-request
PAROLE tcp -- anywhere anywhere tcp dpt:ftp
PAROLE tcp -- anywhere anywhere tcp dpt:ssh
PAROLE tcp -- anywhere anywhere tcp dpt:smtp
PAROLE tcp -- anywhere anywhere tcp dpt:domain
PAROLE tcp -- anywhere anywhere tcp dpt:www
PAROLE tcp -- anywhere anywhere tcp dpt:81
PAROLE tcp -- anywhere anywhere tcp dpt:pop3
PAROLE tcp -- anywhere anywhere tcp dpt:imap2
PAROLE tcp -- anywhere anywhere tcp dpt:https
PAROLE tcp -- anywhere anywhere tcp dpt:webmin
ACCEPT udp -- anywhere anywhere udp dpt:domain
DROP icmp -- anywhere anywhere
DROP all -- anywhere anywhere
Chain PUB_OUT (4 references)
target prot opt source destination
ACCEPT all -- anywhere anywhere
the ptoftpd.log
Jan 21 13:46:12 server.wlaver.com proftpd[31085] www.wlaver.com (192.168.10.1[192.168.10.1]): FTP session closed.
Jan 21 10:46:22 server.wlaver.com proftpd[31088] www.wlaver.com (192.168.10.1[192.168.10.1]): FTP session opened.
Jan 21 10:46:22 server.wlaver.com proftpd[31088] www.wlaver.com (192.168.10.1[192.168.10.1]): USER web4_rpavez: Login successful.
Jan 21 13:46:22 server.wlaver.com proftpd[31088] www.wlaver.com (192.168.10.1[192.168.10.1]): Preparing to chroot to directory '/var/www/web4/user/web4_rpavez'
Jan 21 13:46:22 server.wlaver.com proftpd[31088] www.wlaver.com (192.168.10.1[192.168.10.1]): FTP session closed.
Here I see a mistake... the server ip is 192.168.10.2 an not 10.1. /etc/hosts is ok, ifconfig also have the correct ip... anyone ???... plis