[CentOS-mirror] mirrorlist.centos.org Query

Wed Apr 8 12:37:27 UTC 2015
Justin Coffman <justin at netsecu.red>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

I’m curious as to how queries to mirrorlist.centos.org are processed.

For example, querying mirrorlist from my CentOS mirror:

justin at bruce:~$ curl -s "http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=os" | sort
ftp://ftp.ussg.iu.edu/linux/centos/7.1.1503/os/x86_64/
http://centos.eecs.wsu.edu/7.1.1503/os/x86_64/
http://centos.sonn.com/7.1.1503/os/x86_64/
http://ftp.usf.edu/pub/centos/7.1.1503/os/x86_64/
http://mirror.beyondhosting.net/CentOS/7.1.1503/os/x86_64/
http://mirror.clarkson.edu/centos/7.1.1503/os/x86_64/
http://mirror.metrocast.net/centos/7.1.1503/os/x86_64/
http://mirror.san.fastserv.com/pub/linux/centos/7.1.1503/os/x86_64/
http://mirror.trouble-free.net/centos/7.1.1503/os/x86_64/
http://reflector.westga.edu/repos/CentOS/7.1.1503/os/x86_64/

Same query from my home system about a thousand miles away:

justin at selina:~$ curl -s "http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=os" | sort
ftp://ftp.ussg.iu.edu/linux/centos/7.1.1503/os/x86_64/
http://centos.eecs.wsu.edu/7.1.1503/os/x86_64/
http://centos.sonn.com/7.1.1503/os/x86_64/
http://ftp.usf.edu/pub/centos/7.1.1503/os/x86_64/
http://mirror.beyondhosting.net/CentOS/7.1.1503/os/x86_64/
http://mirror.clarkson.edu/centos/7.1.1503/os/x86_64/
http://mirror.metrocast.net/centos/7.1.1503/os/x86_64/
http://mirror.san.fastserv.com/pub/linux/centos/7.1.1503/os/x86_64/
http://mirror.trouble-free.net/centos/7.1.1503/os/x86_64/
http://reflector.westga.edu/repos/CentOS/7.1.1503/os/x86_64/

How is the list of responses to mirrorlist queries determined? Obviously, it can’t return the full mirrorlist by country or something, that wouldn’t be efficient when yum-fastestmirror runs.
-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - https://gpgtools.org

iQIcBAEBCgAGBQJVJSDmAAoJEA3XKP6iyhLK5R4QAK7g3fsR9fdTJjwVW9GY0PKD
XeYMmkW2nms3ECZijfbJs8aPKQ9gJ5zSYpG1ygiCb/7PuAqHVwYwTpWDtoyx6n6b
3RrVLUHq5s+D9LpmC/LHSUThiUPDdMtH0/QM4rDPV8WcDh8+Xykqh0dyBGyJ4t5P
Kiw1js/NffWfSARGjfW0X7oUd45Vwn57XX6iTJEjegaaEK0j/5S1vLw0qiXmVIYX
ZnDf1+aqnqNtM5kVsjoznvj/5SbmzO2JVadPbY69Mr/FqeHfDI3UU1bdMGxuK79c
AoR/XjcG0leBtoLhIDrsI0ny31HOh1+yx9T7NIx4FNUCqvdiDSw7NTo0CeeaXcYC
1XrlAzORsjSF9Ei/+0Rz42RJ8RiGshk1PM2ratgAGSMUEJFbIsX80oUBOpC4WWIS
9LJxB7GfRQ34Cp0k6cy19UJu41DHOGlCBJIK4RIlMUTqiwbzUAbbyc+6nL0dysOW
WUplxgLjK42Bcu5cphxuDZt0POAPBj60xHBLPMuyeAR5dVvlWOQzwaAe1jHn+GqG
r/LvH5+RKEFHzeDfWzaA3JZyXdK35J4RJxAWwzuG5L2JBkvPdtWpc8lDFdNeM8YB
8V4Fj958aJW57Yrdtg0ZA1NunfdE3lHGjWtPwdszndemdJ9eAf67qMJZ2OUY6iZ/
REbL0TbsIV14hCoNMWAd
=pNsm
-----END PGP SIGNATURE-----