On 19 July 2014 02:45, Ben Wong <bugs.debian....@wongs.net> wrote:

> When running netselect through the netselect-apt script, netselect is
> repeatedly returning one host (debian.asis.io) as having a negative
> score. Since other roundrobin sites seem to work, I'm wondering if
> this may be due to a misconfiguration of that particular site. Be that
> as it may, the netselect program should never output corrupted data.
>

You are right, of course. Netselect should never output a negative number.
I have to check if the 0.4 version provided by upstream also exhibits this
behaviour (we have forked a lot from the 0.3 release).


> The negative numbers cause netselect-apt to incorrectly think that the
> host "-" is the fastest server (see bug #750952). You may be able to
> reproduce this bug by simply running netselect-apt (with no arguments)
> and seeing if it outputs such nonsense as this:
>

In my case the "fastest" servers are different. Netselect output depends on
network conditions and my "10 fastest" list does not include any server
with a '-'

I haven't looked at the netselect code yet, but I have a hunch as to
> where the bug may be. I notice that, unlike other roundrobin sites,
> debian.asis.io does not have proper reverse DNS entries. For example,
>
> (...)

Thank you for investigating this issue. I have not reviewed the code but
will try to fix it there using this host (debian.asis.io) as a reference.

Best regards

Javier

Reply via email to