openSUSE / mirrorbrain

MirrorBrain
http://mirrorbrain.org/
Other
26 stars 17 forks source link

Check/support 32bit ASN (AS number is 0) #25

Open lrupp opened 4 years ago

lrupp commented 4 years ago

Copied from: https://github.com/poeml/mirrorbrain/issues/171

MirrorBrain forwards to the wrong mirror, when downloading LibreOffice from: http://download.documentfoundation.org/li[...].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.


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

ott commented 2 years ago

@AndersTrier @awerner If I'm not mistaken, mod_asn is no longer user and the ASN environment variable of request in Apache HTTP Server is now provided by mod_maxminddb. This module should support 32 bit ASNs. Could you please close this issue unless the issue continues to exist?