misc/126131: Portsnap fetch error with HTTP_PROXY or HTTP_PROXY_AUTH

Andrei Andreev duke66 at gmail.com
Thu Jul 31 10:50:02 UTC 2008


>Number:         126131
>Category:       misc
>Synopsis:       Portsnap fetch error with HTTP_PROXY or HTTP_PROXY_AUTH
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jul 31 10:50:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Andrei Andreev
>Release:        STABLE 7
>Organization:
Fun Factory
>Environment:
FreeBSD support.nikitaonline.ru 7.0-STABLE FreeBSD 7.0-STABLE #0: Fri Apr 25 10:35:36 MSD 2008     alex at support.nikitaonline.ru:/usr/obj/usr/src/sys/GENERICwIPFWwPOLLING  i386

>Description:
[root at support ~]# portsnap --debug fetch
Looking up portsnap.FreeBSD.org mirrors... 3 mirrors found.
Fetching snapshot tag from portsnap2.FreeBSD.org...
latest.ssl                                    100% of  256  B 1082 kBps
done.
Fetching snapshot metadata...
f6d2271e6555c5167bdc87f31cbcb94777af6053dc0e78100% of  375  B 1387 kBps
done.
Updating from Wed Jul 30 04:37:53 MSD 2008 to Thu Jul 31 12:28:06 MSD
2008.
Fetching 3 metadata patches...
/usr/libexec/phttpget portsnap2.FreeBSD.org
tp/5b0b079d90037bef38609b9d6ce417995f8b694d4c3f6bfcff4ce6102f061606-a698e0a2cc5e28e0eba65ab99a4e37f6b927ddc1df0260a304cca1728686$
tp/f9e7903f981ae2e185a52207f67b432f018e9cbf4be65bdb3bdc9f03083742d3-b819f662863fbd58772f38bcc11d69a0652f7063a2abee65f5c60fe7d5ef$
tp/b22f354c2629801a71faf4ed0dfb6c20c213ca36309d3a3dcd265085c3eed14b-b1abb5b3e019278e635f86372d54621f8e12b7cf63c13989604dab6ba2b0$
phttpget: host = squid, port = 123456t at 192.168.9.1:3128: servname not
supported for ai_socktype
 done.
Applying metadata patches... done.
Fetching 3 metadata files...
/usr/libexec/phttpget portsnap2.FreeBSD.org
f/a698e0a2cc5e28e0eba65ab99a4e37f6b927ddc1df0260a304cca17286864601.gz
f/b819f662863fbd58772f38bcc11d69a0652f7063a2abee65f5c60fe7d5ef9e97.gz
f/b1abb5b3e019278e635f86372d54621f8e12b7cf63c13989604dab6ba2b04f6d.gz
phttpget: host = squid, port = 123456 at 192.168.9.1:3128: servname not
supported for ai_socktype
/usr/sbin/portsnap: cannot open
a698e0a2cc5e28e0eba65ab99a4e37f6b927ddc1df0260a304cca17286864601.gz: No
such file or directory
metadata is corrupt.

>How-To-Repeat:
export HTTP_PROXY=http://squid:123456@192.168.9.1:3128
portsnap --debug fetch

or

export HTTP_PROXY_AUTH="basic:squid:123456"
portsnap --debug fetch

>Fix:
yes. i wrote patch for phttpget :-)
now phttpget can get authorization on proxy with HTTP_PROXY_AUTH or
HTTP_PROXY.


>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list