From owner-freebsd-questions@FreeBSD.ORG Thu Feb 10 22:13:44 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 276C0106566C for ; Thu, 10 Feb 2011 22:13:44 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id AEC3F8FC13 for ; Thu, 10 Feb 2011 22:13:43 +0000 (UTC) Received: by wyf19 with SMTP id 19so1853334wyf.13 for ; Thu, 10 Feb 2011 14:13:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:date:from:to:subject:message-id:in-reply-to :references:x-mailer:mime-version:content-type :content-transfer-encoding; bh=TbwiQEaoE4dWt4A1Tb2jo/FhOl8c5/rYMIu0QIdNuH8=; b=SynpNlamR4BAG7DhVfUki2v9768G/8SLeN3gKvpkdRkg8L1PoTQtqMGLf/DmmeRMej DJniZ47fE6CvB+dbDQx9ZjBzeZ+k3CH5NjR7oANJR/ZFB1Ax0842+xRRBBcQkRfPvR+x v5P98l4lquWiqMn8IQjUA35Ao2jTys+v0vGdE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=date:from:to:subject:message-id:in-reply-to:references:x-mailer :mime-version:content-type:content-transfer-encoding; b=U8NdzznHflJrwzZxUEqxxrmM67CFR1PEjO0UHmSTssjztJj/bLNx3b2oBrHzd6TFBQ 6bXoJV11A4c4GHV+G4hHo4VkwGmNlxQdx+3kvRn6L8gyCPQ/yxVyvtnYlvmKHyb6JdCE s8r1DC8fq2FwuzOeyd/o/GFxU0lrXjhB0HB/E= Received: by 10.216.186.211 with SMTP id w61mr19031wem.51.1297376022416; Thu, 10 Feb 2011 14:13:42 -0800 (PST) Received: from gumby.homeunix.com (87-194-105-247.bethere.co.uk [87.194.105.247]) by mx.google.com with ESMTPS id n78sm44537weq.3.2011.02.10.14.13.40 (version=SSLv3 cipher=OTHER); Thu, 10 Feb 2011 14:13:41 -0800 (PST) Date: Thu, 10 Feb 2011 22:13:38 +0000 From: RW To: freebsd-questions@freebsd.org Message-ID: <20110210221338.400f1f52@gumby.homeunix.com> In-Reply-To: <447hd7y8f2.fsf@be-well.ilk.org> References: <447hd7y8f2.fsf@be-well.ilk.org> X-Mailer: Claws Mail 3.7.8 (GTK+ 2.22.1; i386-portbld-freebsd8.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: Run your own portsnap mirror? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Feb 2011 22:13:44 -0000 On Thu, 10 Feb 2011 14:52:01 -0500 Lowell Gilbert wrote: > patrick writes: > > > Is there any official way to run a private portsnap mirror? ie. Have > > one, external server fetch from the official portsnap sources, and > > then internal servers pulling from the private mirror? > > It runs over pipelined HTTP, so all you need to do is set up a caching > HTTP proxy, and have your internal servers use that. If you are going to do that then you need to set HTTP_PROXY and/or http_proxy consistently. If either of these are set portsnap uses them to to seed it's choice of server rather than a pure random selection.