Subject: Re: ipnat ftp proxy: any news?
To: Manuel Bouyer <bouyer@antioche.eu.org>
From: Sean Davis <erplefoo@gmail.com>
List: current-users
Date: 09/05/2004 13:49:32
On Sun, 5 Sep 2004 19:07:08 +0200, Manuel Bouyer <bouyer@antioche.eu.org> wrote:
> On Wed, Sep 01, 2004 at 06:05:47PM -0400, Sean Davis wrote:
> > Trying 204.152.190.13...
> > Connected to ftp.netbsd.org.
> > 220 ftp.NetBSD.org FTP server (tnftpd 20040810) ready.
> > Name (ftp.netbsd.org:dive): ftp
> > 331 Guest login ok, type your name as password.
> > Password:
> > 230-
> >     The NetBSD Project FTP Server located in Redwood City, CA, USA
> > <snip>
> > 230 Guest login ok, access restrictions apply.
> > Remote system type is UNIX.
> > Using binary mode to transfer files.
> > ftp> cd /pub
> > 250 CWD command successful.
> > ftp> ls
> > 500 Illegal EPRT command rejected
> > 200 PORT command successful.
> > 150 Opening ASCII mode data connection for '/bin/ls'.
> > total 1
> > drwxrwxr-x  21 234  netbsd  1024 Apr 16 17:18 NetBSD
> > drwxr-xr-x   3 0    wheel    512 Apr 16 17:01 NetBSD-cvs
> > drwxr-xr-x   6 234  netbsd   512 Jul  1 15:11 pkgsrc
> > drwxrwxr-x   9 234  netbsd   512 Apr  3 05:57 sup
> > 226 Transfer complete.
> > ftp> quit
> > 221-
> >
> > 421 Service not available, remote server timed out. Connection closed
> 
> kern/25810
> For now I've only seen the problem with long 2xx- lines on the control socket,
> so I suspect the ftp proxy code.
> 

It has to be. Because once I got rid of the ftp proxy line in
ipnat.conf, passive ftp is back to working perfectly.

-- 
Sean