From owner-freebsd-mobile Wed Apr 19 17:37:33 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from mail.nyct.net (bsd4.nyct.net [204.141.86.6]) by hub.freebsd.org (Postfix) with ESMTP id DFBD937B69A for ; Wed, 19 Apr 2000 17:37:28 -0700 (PDT) (envelope-from efutch@nyct.net) Received: from bsd1.nyct.net (efutch@bsd1.nyct.net [204.141.86.3]) by mail.nyct.net (8.9.3/8.8.7) with ESMTP id UAA51066; Wed, 19 Apr 2000 20:38:20 -0400 (EDT) (envelope-from efutch@nyct.net) Date: Wed, 19 Apr 2000 20:37:23 -0400 (EDT) From: "Eric D. Futch" To: Ross A Lippert Cc: freebsd-mobile@FreeBSD.ORG Subject: Re: ftp passive? In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org You should have probably sent this question to the freebsd-questions mailing list. But here's an answer anway :) Look around in /etc/login.conf for FTP_PASSIVE_MODE. In FreeBSD 4.0 this is set to YES by default. If you switch it to NO it will use normal mode by default unless you specify ftp -p or issue the passive command in the ftp client. Just a side note, that passive mode FTP generally has the same performance as normal mode. One benefit of passive FTP is that it works through most firewalls, proxies, etc. -- Eric Futch New York Connect.Net, Ltd. efutch@nyct.net Technical Support Staff http://www.nyct.net (212) 293-2620 "Bringing New York The Internet Access It Deserves" On Wed, 19 Apr 2000, Ross A Lippert wrote: >Maybe this should be a general freebsd question, but I have noticed that >when I try to do a normal ftp session I seem to be in passive more. > >e.g. > >ftp> ls >227 Entering passive mode (.....) > >Now I did not use pftp or ftp -p or anything like that, so I would expect >passive mode to be 'off' by default. It appears to be on. > >Am I confused? > > >-r > > >To Unsubscribe: send mail to majordomo@FreeBSD.org >with "unsubscribe freebsd-mobile" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message