Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Jun 2003 14:45:28 +0200
From:      bsd@perimeter.co.za
To:        Jaime <jaime@snowmoon.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: restrictive ipfw ruleset and ftp
Message-ID:  <courier.3EEF0D68.0000EB2D@perimeter.co.za>
In-Reply-To: <20030617083743.G94567@malkav.snowmoon.com> 
References:  <20030617121346.GA80594@athomson.prv.au.itouchnet.net> <20030617083743.G94567@malkav.snowmoon.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Jaime writes: 

> 	IIRC, FTP sends its replies on TCP port 20.  I can't recall if
> that is port 20 on the remote or local host, though.  A little
> experimentation and you'll probably figure it out.  (hint:  netstat -nf
> inet)

That's true of "non-passive" mode connections (FTP server port 20 to FTP 
Client port 1024-65535), but I suspect the original poster is trying to 
permit passive mode connections. 

PS: does anyone know what the correct terminology for FTP's "non-passive" 
mode is?  I sometimes refer to "active" mode when talking FTP (because that 
term somehow got stuck in my head once upon a time), but I usually get some 
very curious/confused looks when I talk about "active FTP"...  :) 

Patrick.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?courier.3EEF0D68.0000EB2D>