Periodic email about security notifications

Roman Neuhauser neuhauser at bellavista.cz
Mon May 5 08:31:19 PDT 2003


# kirk at strauser.com / 2003-05-05 10:04:39 -0500:
> At 2003-05-05T14:18:11Z, Kirk Strauser <kirk at 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


More information about the freebsd-hackers mailing list