Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 07 Feb 2002 17:00:25 +0100
From:      Michael Nottebrock <michaelnottebrock@gmx.net>
To:        Paolo Pisati <flag@libero.it>
Cc:        FreeBSD_Stable <freebsd-stable@FreeBSD.ORG>
Subject:   Re: ftp_proxy and http_proxy don't work
Message-ID:  <3C62A499.2030707@gmx.net>
References:  <20020207154428.A43448@southcross.skynet.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Paolo Pisati wrote:
 > My network is behind an http/ftp proxy server, that's why i set
 > these 2 options in /etc/make.conf but it seems that the fetch
 > program refuse to use it, any idea?

This really is a bit of a documentation bug, since the examples in
/etc/defaults/make.conf are misleading. Use

FETCH_ENV= HTTP_PROXY=http://192.168.8.1:3128

in order to have fetch utilize a http-proxy running on 192.168.8.1, port
3128 for example. If you want fetch to use your http-proxy for
ftp-tranfers, too, you don't need to specify FTP_PROXY, since fetch
defaults to use a given http-proxy for ftp. If you want to use an actual
   ftp-proxy, use a line like

FETCH_ENV= HTTP_PROXY=http://192.168.8.1:3128 \\
FTP_PROXY=10.0.0.1:21

or for a different http-proxy for ftp-transfers use something like

FETCH_ENV= HTTP_PROXY=http://192.168.8.1:3128 \\
FTP_PROXY=http://10.0.0.1:3128


(remove line breaks and \\'s)

-- 
Michael Nottebrock


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?3C62A499.2030707>