From owner-freebsd-current@FreeBSD.ORG Sat Nov 2 19:51:58 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 100953D3 for ; Sat, 2 Nov 2013 19:51:58 +0000 (UTC) (envelope-from matthias.andree@gmx.de) Received: from mout.gmx.net (mout.gmx.net [212.227.15.15]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 809A82598 for ; Sat, 2 Nov 2013 19:51:57 +0000 (UTC) Received: from mandree.no-ip.org ([78.49.11.26]) by mail.gmx.com (mrgmx002) with ESMTPSA (Nemesis) id 0MQ2zr-1VYYEQ1YIt-005LwT for ; Sat, 02 Nov 2013 20:51:49 +0100 Received: from [IPv6:::1] (localhost6.localdomain6 [IPv6:::1]) by apollo.emma.line.org (Postfix) with ESMTP id 0A42123CF4D; Sat, 2 Nov 2013 20:51:48 +0100 (CET) Message-ID: <527557D3.2040404@gmx.de> Date: Sat, 02 Nov 2013 20:51:47 +0100 From: Matthias Andree User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 MIME-Version: 1.0 To: Matthew Seaman , freebsd-current@freebsd.org Subject: Re: Official FreeBSD Binary Packages now available for pkgng References: <5271BC11.1010303@FreeBSD.org> <5272D0DE.4080209@FreeBSD.org> <52745B7F.2080608@vangyzen.net> <5274B947.7030607@FreeBSD.org> <1680682c-dc77-4ee3-8e59-ee7356f307a3@email.android.com> <5274D90D.8040508@FreeBSD.org> In-Reply-To: <5274D90D.8040508@FreeBSD.org> X-Enigmail-Version: 1.5.2 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:ODHPrTcqPFCn+O7btCkr8oBATh28AwXNBIDd+o1x77SBl0wSVSj 66z3Fh2oD2jn4byVvVt/rxKezAGfVggjMLTr73IlclTFDrt97O0Sg7Cg8yuapZNMwWCf2r3 rdDuNCBlNQnsv/0ksBB7ZATNCq/lwRL6fIMI7LRK6VCid1KTkKOvpiS6+syKwVh+hJVMZp6 opdYthH7xc+xG070IhitQ== X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Nov 2013 19:51:58 -0000 Am 02.11.2013 11:50, schrieb Matthew Seaman: > On 02/11/2013 10:15, Matthias Andree wrote: >> I understand from Eric's pist that the issue is that through his >> limiting proxies, the SRV are not available at all so he does not even >> get to the point where he could get the pkgN.nyi.freebsd.org >> name back. > > That doesn't make sense. All the DNS SRV lookups on pkg.freebsd.org are > done internally to pkg(8), which then issues an HTTP GET to the specific > mirror selected by its internal algorithms. The web cache won't see > literal 'pkg.freebsd.org' anywhere in the HTTP traffic -- as far as it > is concerned, it's a simple HTTP request to a specific mirror > 'pkg1.nyi.freebsd.org', and can be cached using the usual processes. > > What makes it cache unfriendly is that as far as the web cache is > concerned each of the different mirrors appears to be completely > independent of the others. So at the moment the chance of getting a > cache hit is reduced by a factor of three because of the traffic > distribution across the three mirrors. I think it does make sense - if the end user is behind a site where he must use a proxy because his end user's computer does not resolve any external addresses, then SRV is not getting you anywhere and you need a HTTP(S)-based redirector.