[nzlug] FTP problem

anru chen ctx2002 at gmail.com
Fri Jan 12 14:03:53 NZDT 2007


finally found what problem was, it was caused by firewall rules.

seems like firefox ftp client implementation is different than my
debain command line
ftp client which probably a BSD style ftp client.

the problem is , ftp has a feature called Passive FTP, we need to
allow it so some ftp clients will connect to FTP server without
problem.

the firewall rule as below:

iptables -A INPUT -i eth0 -p tcp -s any/0 --sport 1024:65535 --dport
1024:65535 -j ACCEPT

so to enable passive FTP, we must allow ftp server to listen on the
unprivileged port.

regards,

anru

On 1/12/07, Mark Foster <blakjak at blakjak.net> wrote:
>
>
> On Fri, 12 Jan 2007, Daniel Lawson wrote:
>
> > Mark Foster wrote:
> >> Check you have valid forward/reverse DNS and that the FTP server can
> >> find them; else, check DNS checks are disabled...
> >>
> >> Else, run a packet capture (Ethereal or similar) and identify at what
> >> point it is failing...
> >
> > Checking the FTP server logfiles would be a good start too.
>
> yes, that too. Sorry, figured that'd have been done early on in the piece
> - my bad...
>
>
> _______________________________________________
> NZLUG mailing list NZLUG at linux.net.nz
> http://www.linux.net.nz/cgi-bin/mailman/listinfo/nzlug
>




More information about the NZLUG mailing list