portsnap fetch errors

Barry Byrne barry.byrne at wbtsystems.com
Wed Mar 26 12:55:59 PDT 2008


> -----Original Message-----
> From: owner-freebsd-questions at freebsd.org 
> [mailto:owner-freebsd-questions at freebsd.org] On Behalf Of RW
> Sent: 26 March 2008 18:35
> To: freebsd-questions at freebsd.org
> Subject: Re: portsnap fetch errors
> On Wed, 26 Mar 2008 15:52:51 -0000
> "Barry Byrne" <barry.byrne at wbtsystems.com> wrote:
> > By any chance is your portsnap using a proxy server, possibly squid?
> > 
> > If so this may get around the problem prior to running your 
> portsnap.
> > 
> > # sysctl net.inet.ip.portrange.randomized=0
> Why would that make a difference?

I think some versions of squid may be a bit broken with respect to correctly
handling HTTP/1.1 and in the case of portsnap downloading many files, squid
starts closing some of the open connections, which portsnap then attempts to

There was a thread on one of the FreeBSD lists in late 2006. Google a bit
and you'll probably find it. 

Don't know for certain this is your problem, but it did fix it when I came
across the problem.

 - barry

More information about the freebsd-questions mailing list