Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 May 1999 17:49:35 -0700 (PDT)
From:      asami@FreeBSD.ORG (Satoshi - Ports Wraith - Asami)
To:        des@flood.ping.uio.no
Cc:        junkmale@xtra.co.nz, current@FreeBSD.ORG
Subject:   Re: FTP passive mode - a new default?
Message-ID:  <199905290049.RAA02997@bubble.didi.com>
In-Reply-To: <xzpbtf4ogc2.fsf@localhost.ping.uio.no> (message from Dag-Erling Smorgrav on 29 May 1999 02:43:57 %2B0200)

next in thread | previous in thread | raw e-mail | index | archive | help
 * From: Dag-Erling Smorgrav <des@flood.ping.uio.no>

 * > 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199905290049.RAA02997>