Date: Sat, 27 May 2000 13:53:14 +0000 From: "Mark S. Reichman" <reichman@twcny.rr.com> To: Mike <mike@rockatronic.com> Cc: freebsd-stable@FreeBSD.ORG Subject: Re: FTP_PASSIVE_MODE=YES ???? Message-ID: <392FD34A.7DD13055@twcny.rr.com> References: <392F2A57.4B2C52EA@twcny.rr.com> <392FCE92.3F7A809@rockatronic.com>
next in thread | previous in thread | raw e-mail | index | archive | help
------ man page stuff ------
passive Toggle passive mode. If passive mode is turned on (default
is off), the ftp client will send a PASV command for all
data
------ more man page stuff -----
ENVIRONMENT
ftp utilizes the following environment variables.
FTP_PASSIVE_MODE If this variable is set to something else
than `NO', ftp will use passive mode by default.
I'm not sure what you said below is true. My testing reveals.
NO is NO, YES is YES. Any other values are YES. Without an environment
variable the client starts up as if it was set to NO. But, besides that,
I know
how to make it passive or not by default. My question is, and this must
be a 4.0 Realease thing, why was it changed to FTP_PASSIVE_MODE=YES
in the login.conf? I must admit I dont entirely understand what passive
mode is, but I have never needed it or used it in all my years of
computing. And
if I'm not crazy, the ftp client in 3.4 FreeBSD and below did not start
up in passive mode by default. Was it a change during the IPV6 mod? Is
this necassary? I preferred the old behavior.
Mike wrote:
>
> Hey I know this one!.
>
> FTP_PASSIVE_MODE is a "all ot nothing" environment variable in that
> if it's there it's yes. In other words FTP_PASSIVE_MODE=foo is the
> same as FTP_PASSIVE_MODE=YES (or no). So remove it entirely if you
> don't want PASV mode.
>
> Mike
>
> "Mark S. Reichman" wrote:
> >
> > I just noticed while ftp'ing to various freebsd
> > sites that the ftp client starts up in passive mode.
> > I dont recall it doing this in the past. In fact, the first thing
> > one must now do is shut passive mode off when first
> > entering the ftp client. I changed the login.conf
> > file to FTP_MASSIVE_MODE=NO and did cap_mkdb /etc/login.conf.
> > Should this be set to YES for some reason??
> >
> > To Unsubscribe: send mail to majordomo@FreeBSD.org
> > with "unsubscribe freebsd-stable" in the body of the message
>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-stable" in the body of the message
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?392FD34A.7DD13055>
