Re: ftp-proxy doco, faq vs. ftp-proxy(8)

Ray Lai <[email protected]>
Newsgroups gmane.os.openbsd.www
Message-ID <[email protected]>
On Sat, Sep 23, 2006 at 01:06:52PM -0700, Darren Spruell wrote:
> I wanted to see if what is noted in
> http://www.openbsd.org/faq/pf/ftp.html has any misalignment with what
> ftp-proxy(8) says about the '-r' switch.
> 
> ftp.html:
> "To enable active mode connections, you need the '-r' switch on
> ftp-proxy(8) (for this you had to run the old proxy with "-u root")."
> 
> ftp-proxy(8)
> -r      Rewrite sourceport to 20 in active mode to suit ancient clients
>         that insist on this RFC property.
> 
> Testing an active mode connection to ftp.openbsd.org from behind a PF
> box with ftp-proxy seems to indicate that active mode is supported by
> default (3.9-stable). Should the statement on ftp.html be removed?

This should fix it.  Is it just clients, or is it servers as well?
Should the RFC be mentioned?

-Ray-

Index: ftp.html
===================================================================
RCS file: /cvs/www/faq/pf/ftp.html,v
retrieving revision 1.22
diff -u -r1.22 ftp.html
--- ftp.html	11 May 2006 01:18:23 -0000	1.22
+++ ftp.html	23 Sep 2006 20:44:35 -0000
@@ -168,7 +168,8 @@
 statement is sending FTP traffic to.
 
 <p>
-To enable active mode connections, you need the '-r' switch on
+Some FTP clients require active mode connections to listen on port 20.
+To enable this, you need the '-r' switch on
 ftp-proxy(8) (for this you had to run the old proxy with "-u root").
 
 <p>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.