Re: I have a mirror testing program for you. - Mirror down

2016-01-23 Thread Luke Small
Ok. I added a lot of security fixes added a feature to put in a custom floating point timeout as an argument and got rid of the 8 mirror limit. It puts in all the mirrors that didn't either exceed the timeout period or have a download error. It should be safe to run as root I guess. There is nothin

Re: I have a mirror testing program for you. - Mirror down

2016-01-21 Thread Simon Kuhnle
Hi all, On Wed, Jan 20, 2016 at 10:27:44AM +, Stuart Henderson wrote: > On 2016/01/20 10:38, Benjamin Baier wrote: > > Important thing first, the mirror http://openbsd.cs.fau.de/pub/OpenBSD/ > > seems to be down. > > +cc maintainer, could you take a look please Simon? Down for v4+v6, > tracer

Re: I have a mirror testing program for you. - Mirror down

2016-01-20 Thread Luke Small
The real reason I wrote this is to have an automated way to set up the pkg_add mirrors especially for folks that don't care to set them up manually (Afterall, that's what computers are for!). Before I wrote this, I had a PKG_PATH mirror go down and I didn't know what was going on. At least this cou

Re: I have a mirror testing program for you. - Mirror down

2016-01-20 Thread Luke Small
OK, there, I put in error checks, so that the index used to write into the arrays can't get too big. -Luke On Wed, Jan 20, 2016 at 4:27 AM, Stuart Henderson wrote: > On 2016/01/20 10:38, Benjamin Baier wrote: > > Important thing first, the mirror http://openbsd.cs.fau.de/pub/OpenBSD/ > > seems

Re: I have a mirror testing program for you.

2016-01-20 Thread Luke Small
< The C program is too trusting with its fixed-size buffers and unchecked < mallocs etc, it's not something to run as root as-is. I realize I got a little lazy with no checking the mallocs, but that is fixed. I wrote this to be resource-light and thorough. No half-ass bullshit. If somebody wants

Re: I have a mirror testing program for you. - Mirror down

2016-01-20 Thread Stuart Henderson
On 2016/01/20 10:38, Benjamin Baier wrote: > Important thing first, the mirror http://openbsd.cs.fau.de/pub/OpenBSD/ > seems to be down. +cc maintainer, could you take a look please Simon? Down for v4+v6, traceroute stops at informatik.gate.uni-erlangen.de (131.188.20.38 / 2001:638:a000::3341:41)

Re: I have a mirror testing program for you. - Mirror down

2016-01-20 Thread Benjamin Baier
Important thing first, the mirror http://openbsd.cs.fau.de/pub/OpenBSD/ seems to be down. On Tue, 19 Jan 2016 22:19:42 -0600 Luke Small wrote: > I have a 500 line program I wrote that reads openbsd.org.ftp.html and > scraps off the html and ftp mirrors, records them all without redundancies > as

I have a mirror testing program for you.

2016-01-19 Thread Luke Small
I have a 500 line program I wrote that reads openbsd.org.ftp.html and scraps off the html and ftp mirrors, records them all without redundancies as http mirrors in memory and downloads the appropriate version and machine architecture's SHA256 in the package folder. It tests all the mirrors for time