Re: ftp problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



ZHANG YD wrote:
> Have a ftp problem. I ftp to a FC2 pc, login
> successed. when I put a local file to this FC2 PC. the
> error is 
> 
> local => FC2
> 
> 230 Login successful.
> Remote system type is UNIX.
> Using binary mode to transfer files.
> ftp> put cyg.tar
> local: cyg.tar remote: cyg.tar
> 227 Entering Passive Mode (129,180,31,35,146,201)
> ftp: connect: No route to host
> ftp> bye
> 221 Goodbye.
> 
> FC2 => local ok.
> 
> However, if I login to this FC2 pc viw ssh, and ftp
> from this FC2 to my local pc, file transfer is ok.

Can you (or the administrator of the FC2 box) do a lsmod command?

Is the ip_conntrack_ftp module loaded? If not, try
modprobe ip_conntrack_ftp
as root.

SSH, I understand, just uses one connection between two ports. This is
the simplest and standard way of doing TCP/IP connections.

FTP relies on a control connection and a data connection. The kernel's
own firewall needs the ip_conntrack_ftp module loaded to "know" that
the two connections are related.

If that doesn't work, I suspect something similar needs to be done on
a router or firewall along the way.

What is the "local" PC running, anyway?

James.

-- 
E-mail address: james | Power corrupts, PowerPoint corrupts absolutely.
@westexe.demon.co.uk  |     -- Vint Cerf



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux