Hi! I have a strange problem with lftp-3.6.1 with ProFTPD 1.3.0 o Debian 4.0 (etch) It reminds a little bit on this problem: http://www.mail-archive.com/[EMAIL PROTECTED]/msg01502.html When i use the "nlist" command on an empty directory, the connection hangs:
# ---> CWD /upload # <--- 250 CWD command successful # ---> PASV # <--- 227 Entering Passive Mode (192,168,0,1,199,154). # ---- Verbinde Daten Socket mit (192.168.0.1) Port 51098 #---- Data connection established #---> NLST #<--- 226 Transfer complete. #»« bei 0 [Warte auf Antwort...] With lftp-3.4.0 i get a "Connection reset by peer" but can still use the connection. So mirror and rm -rf still works without a problem: #---> PASV #<--- 227 Entering Passive Mode (92,192,102,216,205,180). #---- Connecting data socket to (92.192.102.216) port 52660 #---- Data connection established #---> NLST #**** data-socket: Connection reset by peer #---- Closing data socket #<--- 226 Transfer complete. I wonder if this is a port forwarding problem. The ftp-server runs on a firewall. I use the ip_conntrack_ftp module with the follwing forwarding rules: $IPTABLES -A INPUT -p tcp --dport 21 -m state --state NEW -j ACCEPT $IPTABLES -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT $IPTABLES -A OUTPUT -m state --state ESTABLISHED,RELATED -j ACCEPT But logging in, downloading and uploading (with get and put) works. Only nlist is a problem. Sorry for the bad english. Perhabs someone has an idea?
