Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Jul 2000 09:53:09 +0200 (CEST)
From:      thomas.brupbacher@cerberus.ch
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   bin/20082: fetch does not work with "user@host" ftp proxies 
Message-ID:  <200007210753.JAA00410@a0028.cerberus.ch>

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

>Number:         20082
>Category:       bin
>Synopsis:       fetch does not work with "user@host" ftp proxies
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jul 20 23:00:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Thomas Brupbacher
>Release:        FreeBSD 4.1-RC i386
>Organization:
>Environment:

	4.1-RC with ctm up to src-4 165

>Description:

I am behind a firewall. The ftp proxy expects a user name of 
"user@host" to connect to the remote host. fetch uses "user@host@port"
which does not work for me.

>How-To-Repeat:

Try to build a port whose source files are not yet on the computer. It
will time out in fetch.

>Fix:

The easiest "fix" is to change lib/libfetch/ftp.c:635 to

e = p ? _ftp_cmd(cd, "USER %s@%s", user, host)
          : _ftp_cmd(cd, "USER %s", user);

but this makes other people unhappy (of course).

>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?200007210753.JAA00410>