[Mirror Manager]: mirrorlist-server returns more results than requested and also includes Hosts which should be Excluded based on the country code #51

Open
opened 2024-01-22 17:28:24 +00:00 by neil · 0 comments
Owner

I set debuglist's server to -m 3 (default 5) which should reduce the minimum required to just 3 Hosts. but way more than this are returned.

[root@fra-zt-rt01 ~]# curl 'https://mirrors.rockylinux.org/debuglist?arch=x86_64&repo=BaseOS-9.3' -s | head
# repo = rocky-BaseOS-9.3 arch = x86_64 country = DE country = CH country = IT country = LV country = HU country = BE country = FI country = RU country = BG country = GR country = SE country = NL country = ES country = RO country = PT country = TR country = FR country = CZ country = GB country = NO country = DK country = SI country = UA country = IS country = PL
http://ftp.fau.de/rockylinux/9.3/BaseOS/x86_64/os/
https://ftp.halifax.rwth-aachen.de/rockylinux/9.3/BaseOS/x86_64/os/
https://mirror1.hs-esslingen.de/pub/Mirrors/rocky/9.3/BaseOS/x86_64/os/
http://ftp.agdsn.de/rocky-linux/9.3/BaseOS/x86_64/os/
https://rocky-linux-europe-west3.production.gcp.mirrors.ctrliq.cloud/pub/rocky//9.3/BaseOS/x86_64/os/
http://mirrors.xtom.de/rocky/9.3/BaseOS/x86_64/os/
https://ftp.plusline.net/rockylinux/9.3/BaseOS/x86_64/os/
https://mirror.informatik.hs-fulda.de/rocky/9.3/BaseOS/x86_64/os/
http://mirror.netzwerge.de/rocky-linux/9.3/BaseOS/x86_64/os/

In addition, due to this unwanted expansion, mirrorlist-server expands the lookup to the Continent to fulfill whatever insane idea it has of how many mirrors we need. The side effect of this is that mirrors which set Country Excludes for Hosts have these exclusions completely bypassed because mirrorlist-server uses these results regardless of the minimum required values.

I set debuglist's server to `-m 3` (default 5) which should reduce the minimum required to just 3 Hosts. but way more than this are returned. ``` [root@fra-zt-rt01 ~]# curl 'https://mirrors.rockylinux.org/debuglist?arch=x86_64&repo=BaseOS-9.3' -s | head # repo = rocky-BaseOS-9.3 arch = x86_64 country = DE country = CH country = IT country = LV country = HU country = BE country = FI country = RU country = BG country = GR country = SE country = NL country = ES country = RO country = PT country = TR country = FR country = CZ country = GB country = NO country = DK country = SI country = UA country = IS country = PL http://ftp.fau.de/rockylinux/9.3/BaseOS/x86_64/os/ https://ftp.halifax.rwth-aachen.de/rockylinux/9.3/BaseOS/x86_64/os/ https://mirror1.hs-esslingen.de/pub/Mirrors/rocky/9.3/BaseOS/x86_64/os/ http://ftp.agdsn.de/rocky-linux/9.3/BaseOS/x86_64/os/ https://rocky-linux-europe-west3.production.gcp.mirrors.ctrliq.cloud/pub/rocky//9.3/BaseOS/x86_64/os/ http://mirrors.xtom.de/rocky/9.3/BaseOS/x86_64/os/ https://ftp.plusline.net/rockylinux/9.3/BaseOS/x86_64/os/ https://mirror.informatik.hs-fulda.de/rocky/9.3/BaseOS/x86_64/os/ http://mirror.netzwerge.de/rocky-linux/9.3/BaseOS/x86_64/os/ ``` In addition, due to this unwanted expansion, mirrorlist-server expands the lookup to the Continent to fulfill whatever insane idea it has of how many mirrors we need. The side effect of this is that mirrors which set Country Excludes for Hosts have these exclusions completely bypassed because mirrorlist-server uses these results regardless of the minimum required values.
label changed title from mirrorlist-server returns more results than requested and also includes Hosts which should be Excluded based on the country code to [Mirror Manager]: mirrorlist-server returns more results than requested and also includes Hosts which should be Excluded based on the country code 2024-03-25 16:57:54 +00:00
Sign in to join this conversation.
No description provided.