poeml / mirrorbrain

MirrorBrain
http://mirrorbrain.org/
Other
75 stars 37 forks source link

AS0 - Sent to wrong mirror (32-bit AS numbers?) #171

Open AndersTrier opened 7 years ago

AndersTrier commented 7 years ago

MirrorBrain forwards me to the wrong mirror, when I'm downloading LibreOffice from: http://download.documentfoundation.org/libreoffice/stable/5.4.1/deb/x86_64/LibreOffice_5.4.1_Linux_x86-64_deb.tar.gz.mirrorlist

MirrorBrain thinks I'm connecting from the AS number 0, but I'm actually connecting from AS197288.

Could it be a problem with 32-bit AS numbers?

At least MirrorBrain should not suggest a mirror "within the same autonomous system" when the AS number is 0.

Relevant output from MirrorBrains .mirrorlist (also see attached screenshot).

List of best mirrors for IP address 62.107.XXX.XXX, located at 5XXX,9XXX in Denmark (DK), network 0.0.0.0/0 (autonomous system 0). Found 1 mirror very close (within the same autonomous system (AS0)

libreoffice-as0

awerner commented 7 years ago

This seems also to be related to mod_asn, that seems to still live here: http://svn.mirrorbrain.org/viewvc/mod_asn/trunk/ and doesn't seem to support 32bit ASN - actually one of the last revisions explicitely checked for ASN<=65535: http://svn.mirrorbrain.org/viewvc/mod_asn/trunk/asn_import.py?r1=64&r2=92