Date: Mon, 5 May 2003 17:31:16 +0200 From: Roman Neuhauser <neuhauser@bellavista.cz> To: freebsd-hackers@freebsd.org Subject: Re: Periodic email about security notifications Message-ID: <20030505153116.GC74924@freepuppy.bellavista.cz> In-Reply-To: <87u1c94epk.fsf@pooh.honeypot.net> 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>
index | next in thread | previous in thread | raw e-mail
# kirk@strauser.com / 2003-05-05 10:04:39 -0500:
> At 2003-05-05T14:18:11Z, Kirk Strauser <kirk@strauser.com> writes:
>
> > I'd almost consider adding something like:
> >
> > if ($ftp_servername eq 'ftp.freebsd.org')
> > {
> > die "Use a mirror, please!";
> > }
> >
> > to this and most similar scripts.
>
> Actually, I had an idea:
>
> Debian makes "ftp.us.debian.org" a round-robin pointer to any of a number of
> machines. What about doing the same for FreeBSD, and making scripts replace
> references to "ftp.freebsd.org" with "ftpmirror.freebsd.org" or similar?
> Then, those with specific needs could still download from ftp.freebsd.org,
> but everyone else would automatically get a mirror site.
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 is probably a less convoluted way to get the result, but it's
too hot here right now, and my brain is toast.
--
If you cc me or remove the list(s) completely I'll most likely ignore
your message. see http://www.eyrie.org./~eagle/faqs/questions.html
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030505153116.GC74924>
