From owner-freebsd-hackers@FreeBSD.ORG Mon May 5 08:54:50 2003 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 85B5E37B401 for ; Mon, 5 May 2003 08:54:50 -0700 (PDT) Received: from kanga.honeypot.net (kanga.honeypot.net [208.162.254.122]) by mx1.FreeBSD.org (Postfix) with ESMTP id 62EFD43FA3 for ; Mon, 5 May 2003 08:54:49 -0700 (PDT) (envelope-from kirk@strauser.com) Received: from pooh.honeypot.net.strauser.com (kirk@pooh.honeypot.net [10.0.5.128]) by kanga.honeypot.net (8.12.9/8.12.9) with ESMTP id h45FslGb083446 for ; Mon, 5 May 2003 10:54:48 -0500 (CDT) (envelope-from kirk@strauser.com) To: freebsd-hackers@freebsd.org References: <20030504100447.GU12792@freepuppy.bellavista.cz> <200305042336.h44NaoM7023683@gw.catspoiler.org> <20030504235059.GB42024@isnic.is> <20030505001955.GB92114@opiate.soulwax.net> <87r87d5vfg.fsf@pooh.honeypot.net> <87u1c94epk.fsf@pooh.honeypot.net> <20030505153116.GC74924@freepuppy.bellavista.cz> From: Kirk Strauser Date: Mon, 05 May 2003 10:54:47 -0500 In-Reply-To: <20030505153116.GC74924@freepuppy.bellavista.cz> (Roman Neuhauser's message of "Mon, 5 May 2003 17:31:16 +0200") Message-ID: <87llxl4ce0.fsf@pooh.honeypot.net> Lines: 23 X-Mailer: Gnus/5.1001 (Gnus v5.10.1) Emacs/21.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Re: Periodic email about security notifications X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 May 2003 15:54:50 -0000 At 2003-05-05T15:31:16Z, Roman Neuhauser writes: > or something like this? > > security_advisory_mirror_list="ftp0 ftp1 ftp2 ftp3 ftp4 ftp5 ftp6 ftp7" > > getMirror () { > set -- $security_advisory_mirror_list > security_advisory_mirror=$(eval echo '$'`jot -r 1 1 $#`) > } There's nothing at all wrong with that. My goal, though was to automatically add that functionality to *every* program that would ordinarily connect to ftp.freebsd.org. With the exception of changing some default values, no programs would have to be modified to get the new rotating-mirror capability. Beyond that, someone could run a monitoring program that would take ailing servers out of the DNS rotation as problems occur. With an automated setup, you could be guaranteed that a connection to "ftpmirror.freebsd.org" would always work (given a short interval to allow DNS updates to propogate). -- Kirk Strauser