From owner-freebsd-questions@FreeBSD.ORG Wed Apr 9 22:05:40 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6710137B401 for ; Wed, 9 Apr 2003 22:05:40 -0700 (PDT) Received: from tevn.com (www.tevn.com [203.39.125.34]) by mx1.FreeBSD.org (Postfix) with ESMTP id BE9F643FBD for ; Wed, 9 Apr 2003 22:05:38 -0700 (PDT) (envelope-from jennifer@tevn.com) Received: from spicygirl ([10.10.10.194]) by tevn.com (8.11.3/8.11.3) with SMTP id h3A562X02918 for ; Thu, 10 Apr 2003 15:06:02 +1000 (EST) (envelope-from jennifer@tevn.com) Message-ID: <00a901c2ff1e$d4be7ab0$c20a0a0a@spicygirl> From: "Jennifer" To: Date: Thu, 10 Apr 2003 15:05:39 +1000 MIME-Version: 1.0 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.1 Subject: wu-2.6.1 FTP SERVER X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Apr 2003 05:05:40 -0000 Dear FreeBSD people, May I ask you an question about our ftp server's connection problem.=20 We use Wu-2.6.1 as ftp server, which is running on Freebsd 4.3. The part of FTP setting (simple type) is like this in rc.firewall? =20 #Allow access to our FTP ${fwcmd} add pass tcp from any to ${oip} 21 setup #for passive FTP. we also need to allow for setups #to ports in a high range (49152..65575), see ftpf(8) ${fwcmd} add pass tcp from any to ${oip} 49152- setup This setting will allow ftp being accessed generally, but there is some = minor problem.=20 1. I found when I am not choosing the passive mode to connect to ftp = server from client side machine, the file transfer and conneciton is = going much faster and smoothly. 2. But when I choose passive mode (which is defaul setting for ws-ftp = Le), the transfer goes much slowers, and even you are connected to the = ftp server, for excute each ftp (ls, upload, download, etc) command, the = client side has to connect to a server's port (higher range one ) again, = which sometime succeed, some time fail, so takes much longer time than = the NON-passive mode way. I put a log file at attached for your = reference. Do you think the above situation is normal? In this case, the passive = mode seems not really good when considering the tranfer speed. So how = can we overcome the problem of EVERY TIME THE CLIENT SIDE HAS TO = CONNECT TO A SERVER'S HIGH RANGE PORT FOR EACH COMMAND WHEN IS PASSIVE = MODE?=20 Thank you very much Jennifer