Re: FTP Proxies and Ports

2004-10-07 Thread Matthew Seaman
On Thu, Oct 07, 2004 at 12:07:59AM +0200, Remko Lodder wrote:
 Bigelow, Andrea L. wrote:

 I've thus far been unsuccessful with $FTP_PROXY and $HTTP_PROXY in getting
 fetch to honor my company's FTP proxy. The easiest way to use the proxy is 
 a
 URL format: ftp://username:password@server. Is there a way that I can
 specify that this format be used anytime I want to download and install or
 update a port? I'm using fetch instead of CVSup. 
 
 I'd needed to set
 ftp_proxy=http://username:password@proxy:prt
 and
 http_proxy=http://username:password@proxy:prt
 while using squid.
 Yes there are 2 http's.

For convenience, you can set those variables from within /etc/make.conf:

FETCH_ENV=   FTP_PROXY=http://username:[EMAIL PROTECTED]:3128/ \
 HTTP_PROXY=http://username:[EMAIL PROTECTED]:3128/

You can also use the HTTP_PROXY_AUTH variable where:

HTTP_PROXY=http://proxy.example.com:3128/
HTTP_PROXY_AUTH=basic:*:username:password

is equivalent to the previous HTTP_PROXY setting.  In theory that can
let you use other HTTP authorization schemes than basic auth, except
that support for those other schemes has not yet been added to
libfetch.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgpQZWbqfL6HF.pgp
Description: PGP signature


RE: FTP Proxies and Ports

2004-10-07 Thread Bigelow, Andrea L.
Remko, I really appreciate the suggestion. I gave it a go, and it doesn't
seem to work with my style of proxy. I think I'll consult with our security
folks here and see what they have to say.  

-Original Message-
From: Remko Lodder [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, October 06, 2004 6:08 PM
To: Bigelow, Andrea L.
Cc: '[EMAIL PROTECTED]'
Subject: Re: FTP Proxies and Ports

Bigelow, Andrea L. wrote:

Hi Andi,
 Hello,
 
 I've thus far been unsuccessful with $FTP_PROXY and $HTTP_PROXY in 
 getting fetch to honor my company's FTP proxy. The easiest way to use 
 the proxy is a URL format: ftp://username:password@server. Is 
 there a way that I can specify that this format be used anytime I want 
 to download and install or update a port? I'm using fetch instead of
CVSup.

I'd needed to set
ftp_proxy=http://username:password@proxy:prt
and
http_proxy=http://username:password@proxy:prt
while using squid.
Yes there are 2 http's.

Test it ;)

Cheers!

 
 Thanks for any help you can provide!
 


--
Kind regards,

Remko Lodder   |[EMAIL PROTECTED]
Reporter DSINet|[EMAIL PROTECTED]
Projectleader Mostly-Harmless  |[EMAIL PROTECTED]
Founder Tienervaders   |[EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


FTP Proxies and Ports

2004-10-06 Thread Bigelow, Andrea L.
Hello, 

I've thus far been unsuccessful with $FTP_PROXY and $HTTP_PROXY in getting
fetch to honor my company's FTP proxy. The easiest way to use the proxy is a
URL format: ftp://username:password@server. Is there a way that I can
specify that this format be used anytime I want to download and install or
update a port? I'm using fetch instead of CVSup. 

Thanks for any help you can provide!

Andi L. Bigelow
Dyncorp EOS - Network Engineering Group
bigelowa{at}sec{dot}gov
(202) 942-4368

Every man dies, but not every man really lives. -- Braveheart
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FTP Proxies and Ports

2004-10-06 Thread Remko Lodder
Bigelow, Andrea L. wrote:
Hi Andi,
Hello, 

I've thus far been unsuccessful with $FTP_PROXY and $HTTP_PROXY in getting
fetch to honor my company's FTP proxy. The easiest way to use the proxy is a
URL format: ftp://username:password@server. Is there a way that I can
specify that this format be used anytime I want to download and install or
update a port? I'm using fetch instead of CVSup. 
I'd needed to set
ftp_proxy=http://username:password@proxy:prt
and
http_proxy=http://username:password@proxy:prt
while using squid.
Yes there are 2 http's.
Test it ;)
Cheers!
Thanks for any help you can provide!

--
Kind regards,
Remko Lodder   |[EMAIL PROTECTED]
Reporter DSINet|[EMAIL PROTECTED]
Projectleader Mostly-Harmless  |[EMAIL PROTECTED]
Founder Tienervaders   |[EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]