From owner-freebsd-current Fri May 28 17:49:43 1999 Delivered-To: freebsd-current@freebsd.org Received: from stampede.cs.berkeley.edu (stampede.CS.Berkeley.EDU [128.32.45.124]) by hub.freebsd.org (Postfix) with ESMTP id DDFB31546F for ; Fri, 28 May 1999 17:49:41 -0700 (PDT) (envelope-from asami@sunrise.cs.berkeley.edu) Received: from bubble.didi.com (sji-ca41-214.ix.netcom.com [209.111.208.214]) by stampede.cs.berkeley.edu (8.8.7/8.7.3) with ESMTP id RAA11004; Fri, 28 May 1999 17:51:01 -0700 (PDT) Received: (from asami@localhost) by bubble.didi.com (8.9.2/8.8.8) id RAA02997; Fri, 28 May 1999 17:49:35 -0700 (PDT) (envelope-from asami) Date: Fri, 28 May 1999 17:49:35 -0700 (PDT) Message-Id: <199905290049.RAA02997@bubble.didi.com> To: des@flood.ping.uio.no Cc: junkmale@xtra.co.nz, current@FreeBSD.ORG In-reply-to: (message from Dag-Erling Smorgrav on 29 May 1999 02:43:57 +0200) Subject: Re: FTP passive mode - a new default? From: asami@FreeBSD.ORG (Satoshi - Ports Wraith - Asami) Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG * From: Dag-Erling Smorgrav * > I don't have a problem with changing the default as long as there are * > ways to turn them off easily (read: on a per-port basis). Can we * > cancel an environment variable set in /etc/login.conf from a Makefile? * * If we just set FTP_PASSIVE_MODE=YES in /etc/login.conf or * /etc/profile, all the user needs to do is set FTP_PASSIVE_MODE=NO * before trying to fetch the port. No. This is from libftpio/ftpio.c: === static void check_passive(FILE *fp) { if (getenv("FTP_PASSIVE_MODE")) ftpPassive(fp, TRUE); } === Satoshi To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message