Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Jul 2000 12:48:39 +0900 (JST)
From:      th@cis.ibaraki.ac.jp
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   bin/20025: usr.bin/fetch always use passive
Message-ID:  <200007190348.MAA57203@nadja.cis.ibaraki.ac.jp>

next in thread | raw e-mail | index | archive | help

>Number:         20025
>Category:       bin
>Synopsis:       usr.bin/fetch always use passive
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jul 18 21:00:01 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     HIYAMA Takeshi
>Release:        FreeBSD 4.0-STABLE i386
>Organization:
Dept. of Comp. & Info. Sci.s, Ibaraki University
>Environment:

	FreeBSD 4.1-RC #0: Wed Jul 19 08:22:42 JST 2000

>Description:

	fetch ALWAYS uses passive mode when using FTP protocol.
	Let me choose!

>How-To-Repeat:

	fetch something from ftp site.

>Fix:

--- fetch.c.orig	Wed Jul 19 12:33:25 2000
+++ fetch.c	Wed Jul 19 12:33:37 2000
@@ -65,7 +65,7 @@
 char	*o_filename;	/*        name of output file */
 int	 o_stdout;	/*        output file is stdout */
 int	 once_flag;	/*    -1: stop at first successful file */
-int	 p_flag = 1;	/* -[Pp]: use passive FTP */
+int	 p_flag = 0;	/* -[Pp]: use passive FTP */
 int	 R_flag;	/*    -R: don't delete partially transferred files */
 int	 r_flag;	/*    -r: restart previously interrupted transfer */
 u_int	 T_secs = 0;	/*    -T: transfer timeout in seconds */

>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




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