Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Jun 2014 09:01:03 +0700
From:      Victor Sudakov <vas@mpeks.tomsk.su>
To:        freebsd-pkg@freebsd.org
Subject:   pkg does not honor the HTTP_PROXY_AUTH variable
Message-ID:  <20140625020103.GA4797@admin.sibptus.tomsk.ru>

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

It seems that pkg 1.2.7_3 does not honor the HTTP_PROXY_AUTH variable.
Please look:

[root@km ~] printenv | grep -i prox
HTTP_PROXY=http://proxy.sibptus.ru:3128
HTTP_PROXY_AUTH=basic:*:XXXXXXX:YYYYYYYYYYYYY
NO_PROXY=svn.sibptus.ru
[root@km ~] pkg audit -F
pkg: http://www.vuxml.org/freebsd/vuln.xml.bz2: Forbidden
pkg: Cannot fetch vulnxml file!
[root@km ~]

 From the squid logs at proxy.sibptus.ru I see that pkg does not try to
authenticate itself with the proxy:

1403660801.249      0 217.29.84.104 TCP_DENIED/403 1371 GET http://www.vuxml.org/freebsd/vuln.xml.bz2 - NONE/- text/html

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=191352

-- 
Victor Sudakov,  VAS4-RIPE, VAS47-RIPN
sip:sudakov@sibptus.tomsk.ru



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