From sudakov@sibptus.tomsk.ru  Mon Feb  3 02:55:22 2014
Return-Path: <sudakov@sibptus.tomsk.ru>
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
	(using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by hub.freebsd.org (Postfix) with ESMTPS id F129A87B;
	Mon,  3 Feb 2014 02:55:22 +0000 (UTC)
Received: from relay2.tomsk.ru (mail.sibptus.tomsk.ru [212.73.124.5])
	by mx1.freebsd.org (Postfix) with ESMTP id 2210810F9;
	Mon,  3 Feb 2014 02:55:21 +0000 (UTC)
Received: from admin.sibptus.tomsk.ru (account sudakov@sibptus.tomsk.ru [212.73.125.240] verified)
  by relay2.tomsk.ru (CommuniGate Pro SMTP 5.1.16)
  with ESMTPSA id 35325016; Mon, 03 Feb 2014 09:55:19 +0700
Received: from admin.sibptus.tomsk.ru (sudakov@localhost [127.0.0.1])
	by admin.sibptus.tomsk.ru (8.14.7/8.14.7) with ESMTP id s132tIFh021848;
	Mon, 3 Feb 2014 09:55:18 +0700 (NOVT)
	(envelope-from sudakov@admin.sibptus.tomsk.ru)
Received: (from sudakov@localhost)
	by admin.sibptus.tomsk.ru (8.14.7/8.14.7/Submit) id s132tHhj021847;
	Mon, 3 Feb 2014 09:55:17 +0700 (NOVT)
	(envelope-from sudakov)
Message-Id: <201402030255.s132tHhj021847@admin.sibptus.tomsk.ru>
Date: Mon, 3 Feb 2014 09:55:17 +0700 (NOVT)
From: Victor Sudakov <vas@mpeks.tomsk.su>
Reply-To: Victor Sudakov <vas@mpeks.tomsk.su>
To: FreeBSD-gnats-submit@freebsd.org
Cc: Colin Percival <cperciva@FreeBSD.org>
Subject: freebsd-update and portsnap don't work with proxies that require authentication
X-Send-Pr-Version: 3.114
X-GNATS-Notify:

>Number:         186398
>Category:       bin
>Synopsis:       freebsd-update(8) and portsnap(8) don't work with proxies that require authentication
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    cperciva
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Feb 03 03:00:00 UTC 2014
>Closed-Date:    
>Last-Modified:  Sun Apr 13 23:30:46 UTC 2014
>Originator:     Victor Sudakov
>Release:        FreeBSD 9.2-RELEASE-p2 i386
>Organization:
SibPTUS
>Environment:
System: FreeBSD academ.library.tomsk.ru 9.2-RELEASE-p2 FreeBSD 9.2-RELEASE-p2 #0: Thu Jan 9 19:44:38 NOVT 2014 root@academ.library.tomsk.ru:/usr/obj/mnt/sudakov/src/freebsd_9_2/src/sys/FW i386


>Description:
	freebsd-update and portsnap don't work (fail to download necessary files) when the HTTP_PROXY environment variable  contains the "user:password@" syntax.
>How-To-Repeat:
	setenv HTTP_PROXY http://user:password@your.proxy.com:3128
	freebsd-update fetch
	portsnap fetch
	Both will fail eventually with the "snapshot is corrupt" message.
>Fix:
	Workaround: use direct connection to the Internet or an HTTP proxy without authentication.


>Release-Note:
>Audit-Trail:

From: Victor Sudakov <vas@mpeks.tomsk.su>
To: bug-followup@FreeBSD.org
Cc: Colin Percival <cperciva@FreeBSD.org>
Subject: Re: bin/186398: freebsd-update and portsnap don't work with proxies
 that require authentication
Date: Sat, 8 Mar 2014 12:24:34 +0700

 It does work however when the separate HTTP_PROXY_AUTH env variable is
 set:
 
 setenv HTTP_PROXY http://proxy:3128
 setenv HTTP_PROXY_AUTH 'basic:*:user:pass'
 freebsd-update fetch
 
 
 -- 
 Victor Sudakov,  VAS4-RIPE, VAS47-RIPN
 sip:sudakov@sibptus.tomsk.ru
Responsible-Changed-From-To: freebsd-bugs->cperciva 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Sun Apr 13 23:27:34 UTC 2014 
Responsible-Changed-Why:  
Over to maintainer. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=186398 
>Unformatted:
