mirrorbits
mirrorbits copied to clipboard
Mirrorbits is a geographical download redirector written in Go for distributing files efficiently across a set of mirrors.
Mirrorbits save some stats in the Redis database, within keys prefixed with `STATS_`. However these keys have no expiry set, and mirrorbits doesn't provide a configuration option to set an...
Otherwise stats pile up forever, stored in the Redis database, hence eating precious RAM. In practice, the keys `MIRROR_${date}` and `MIRROR_BYTES_${date}` don't take too much space. Each key is a...
The configuration option LogDir is not reloaded on SIGHUP. For example, if LogDir was commented out, one might uncomment it, send SIGHUP to reload the conf, and then expect to...
Passing the host to redis-cli is only possible via the "-h" switch, which clashes with the "-h" interpreted as "--help" in the script. Make "--" stop the argument parsing, so...
Some mirrors support encrypted rsync, which I guess wouldn't hurt to use if available(?) They way this works is that servers in addition to port 873 also expose port 874...
Add CI
Test with some random golang versions which also happen to exist in Debian releases
Other request methods such as POST or HEAD or anything else than GET should not be counted as a new download. ----------------- GNOME admins updated our MirrorBits instance for GIMP...
`RepositoryScanInterval` in the config is using a fixed interval. To avoid things getting outdated for too long it gets run quite often, while the repo likely doesn't change that much....
For example https://mirror.mariadb.org/repo/10.6/debian/sha256sums.txt?mirrorlist&fromip=2a03:d000:3006:1f20:82e6:3199:7f4f:f485 It redirects to fastmirror.pp.ua that is unreachable from the request IP. Could you please provide an option to fallback to another mirror or to make `fromip` work...
Heya folks, Do you want a formal release soon, with all the improvements? Tell me.