Package: apt-cacher
Version: 1.6.4
Severity: normal

This is something of a followup for #483666. Anyway, on a machine on both
private and internet-facing networks (with the internal interface the
defaultroute), I found a couple of problems:
- the conffile refers to 'interface', whereas the code (and the patch in
  #483666) refers to 'use_interface'.
- there is code near the middle of handle_connection() that uses
  io_socket_inet46() to connect to the remote server briefly. This doesn't use
  the value of use_interface. Thus every connection always fails.

I've worked around this for now by commenting out about two dozen lines, namely 
the
offending socket code and the 'Host in Absolute URI is this server' check.

-- System Information:
Debian Release: 5.0.3
  APT prefers stable
  APT policy: (500, 'stable'), (490, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-2-686-bigmem (SMP w/2 CPU cores)
Locale: LANG=en_AU, LC_CTYPE=en_AU (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash

Versions of packages apt-cacher depends on:
ii  bzip2                         1.0.5-1    high-quality block-sorting file co
ii  ed                            0.7-3      The classic unix line editor
ii  libdigest-sha1-perl           2.11-2+b1  NIST SHA-1 message digest algorith
ii  libwww-curl-perl              4.05-1     Perl bindings to libcurl
ii  libwww-perl                   5.813-1    WWW client/server library for Perl
ii  perl                          5.10.0-19  Larry Wall's Practical Extraction 

Versions of packages apt-cacher recommends:
pn  libberkeleydb-perl            <none>     (no description available)

Versions of packages apt-cacher suggests:
ii  libio-socket-inet6-perl       2.54-1     Object interface for AF_INET6 doma

-- no debconf information



-- 
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