lftp `ls' at 0 [Connecting...] problem
Hi All,
I've a "dedicated server" and all ports are blocked except the ones needed. ftp and ssh default ports are changed. My host provide a "backup ftp server" which can be accessible from my "dedicated server" via lftp. I can connect to my "backup ftp server" but ls command get's stuck at lftp `ls' at 0 [Connecting...] I've spent few hours in trying the solution provided at http://unsigned-nerd.blogspot.co.uk/...ftp-issue.html http://fryth.com/lftpfaq/ and various other places but nothing seems to work. Does anyone know solution which actually works? Tx |
In my experience, it often has to do with the use of PASV (passive) in the FTP transfer request in "secured" or "hardened" systems where netfilter rules are used. Even if that's it, it could still be a number of things or combination of them to resolve, such as use of nf_conntrack_ftp module, force client to _not_ use passive, etc. That's where I'd start looking if you haven't already.
Mind providing lftp debug output of the event? Feel free, even encouraged, to sanitize the output with non-routable or even non-existent domain names and IPs. Just be consistent for the particular name/IP to avoid confusion. If it's 192.345.9.3 in one place, the same IP should be used for that system elsewhere in the output to avoid confusion. Code:
[ code ] Code:
$ lftp -u demo1 server.domain.local |
All times are GMT -5. The time now is 04:49 PM. |