Subject: Re: problems with ftp server or NAT conf?
To: Adam Glass <adam@clarity.net>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: netbsd-help
Date: 04/10/2003 23:39:55
On Thu, Apr 10, 2003 at 02:26:25PM -0700, Adam Glass wrote:
> Manuel wrote:
> > >   220 ftp.netbsd.org FTP server (NetBSD-ftpd 20020615) ready.
> > >   331 Guest login ok, type your name as password.
> > >   230-
> > >   421 Service not available, remote server has closed connection.
> > >   ftp: Login failed.
> > > 
> > > [The above occurred, of course, after a successful install.]
> > 
> > How many time between the 230 and 421 ?
> 
> When it fails, it fails immediately -- under a second.  When it works,
> it pauses after the "230-" line for approximately 2-5 seconds.
> 
> I'm able to ftp to ftp.netbsd.org no problem from the NetBSD box
> that's the NAT/firewall for the network where I'm installing the
> system.  It's just from *behind* the NAT box that ftp to
> ftp.netbsd.org only works about every one in 12 tries.  That's why I
> suspected the NAT system.  But as I mentioned in my previous email,
> from the network behind the NAT box, I have experienced no trouble
> FTPing to other systems on the Internet.

It may be a problem with the NAT - the banner on ftp.netbsd.org
triggers problems in some versions of pf too.
Maybe try to add a '-' before your passwd (email address), it should
suppress the greeting banner.

-- 
Manuel Bouyer <bouyer@antioche.eu.org>
     NetBSD: 24 ans d'experience feront toujours la difference
--