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

Re: iptables not so stateful



On Fri, 2004-08-13 at 12:46, s. keeling wrote:
> > On what FTP client? I have 0.17-12 and passive is not the default mode
> 
> Good question.
> 
> (0) keeling /home/keeling_ COLUMNS=110 dpkg -l | grep ftp
> [snip]
> ii  lftp      2.4.9-1woody2   Sophisticated command-line FTP/HTTP client programs
> ii  lukemftp          1.5-7   The enhanced ftp client.
> [snip]
> 
> /etc/alternatives/ftp says I'm using:
> 
> lrwxrwxrwx 1 root root  17 Dec 23  2003 /etc/alternatives/ftp -> /usr/bin/lukemftp
> 
> "status" says:
> 
>    Passive mode: on; fallback to active mode: on.
> 
> How do you get ftp to say what it is?  None of "ftp '-version|-v|--v|--V|--help|-help'"
> do anything useful.

gaumer@debiantosh:(~)$ dpkg -l ftp
ii  ftp                                    0.17-12                                The FTP client.

gaumer@debiantosh:(~)$ ls -l /etc/alternatives/ftp
lrwxrwxrwx  1 root root 19 May 19 16:37 /etc/alternatives/ftp -> /usr/bin/netkit-ftp

gaumer@debiantosh:(~)$ dpkg -L ftp
/.
/usr
/usr/bin
/usr/bin/netkit-ftp
/usr/share
/usr/share/man
/usr/share/man/man1
/usr/share/man/man1/netkit-ftp.1.gz
/usr/share/man/man5
/usr/share/man/man5/netrc.5.gz
/usr/share/doc
/usr/share/doc/ftp
/usr/share/doc/ftp/BUGS
/usr/share/doc/ftp/README
/usr/share/doc/ftp/copyright
/usr/share/doc/ftp/changelog.gz
/usr/share/doc/ftp/changelog.Debian.gz
/usr/bin/pftp
/usr/share/man/man1/pftp.1.gz

So you see he could be using one of many choices (not to mention OS's)
which is why he needs to make sure he is operating in passive mode. This
is most likely his problem.


Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: