Package: netselect
Version: 0.3.ds1-25
Severity: important

Dear Maintainer,

I know the issue of corruption due to parsing ping responses from DNS
roundrobin has come up in the past, and been fixed, but it appears to
have reappeared.

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.

Here is the result of running netselect on the hosts list file that
netselect-apt creates.

    -2472 http://debian.asis.io/debian/
    -2447 http://debian.asis.io/debian/
      291 http://mirrors.kernel.org/debian/
      297 http://deb.vanvps.com/debian/
      314 http://mirrors.kernel.org/debian/
      318 http://ftp.citylink.co.nz/debian/
      343 http://mirrors.syringanetworks.net/debian/
      357 http://debian.osuosl.org/debian/
      366 http://mirror.picosecond.org/debian/
      372 http://mirrors.xmission.com/debian/

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:

    The fastest 10 servers seem to be:
    -
            http://debian.asis.io/debian/
            -
            http://debian.asis.io/debian/
            http://deb.vanvps.com/debian/
            http://mirrors.kernel.org/debian/
            http://debian.osuosl.org/debian/
            http://mirrors.kernel.org/debian/
            http://mirrors.syringanetworks.net/debian/
            http://mirrors.xmission.com/debian/
            http://mirror.picosecond.org/debian/
            http://debian.mirrors.easynews.com/linux/debian/

    Of the hosts tested we choose the fastest valid for HTTP:
            -

    Writing sources.list.
    Done.


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,

    $ host debian.asis.io
    debian.asis.io has address 87.107.123.2
    debian.asis.io has address 87.107.124.10

    $ host 87.107.123.2
    Host 2.123.107.87.in-addr.arpa. not found: 3(NXDOMAIN)

    $ host 87.107.124.10
    Host 10.124.107.87.in-addr.arpa. not found: 3(NXDOMAIN)

For comparison, here is one RR DNS that netselect handles correctly,

    $ host mirror.ox.ac.uk
    mirror.ox.ac.uk has address 163.1.160.163
    mirror.ox.ac.uk has address 163.1.221.67

    $ host 163.1.221.67
    67.221.1.163.in-addr.arpa domain name pointer mirror0.it.ox.ac.uk.

    $ host 163.1.160.163
    163.160.1.163.in-addr.arpa domain name pointer mirror1.it.ox.ac.uk.

But, that's just a hunch. 



-- System Information:
Debian Release: jessie/sid
  APT prefers testing-updates
  APT policy: (500, 'testing-updates'), (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.14-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages netselect depends on:
ii  debconf [debconf-2.0]  1.5.53
ii  libc6                  2.19-5

netselect recommends no packages.

Versions of packages netselect suggests:
ii  netselect-apt  0.3.ds1-25

-- debconf information:
  netselect/install-setuid: false


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to