Package: apt-cacher
Version: 1.7.2
Severity: normal

Dear Maintainer,

for example, allowed_hosts = 192.168.1.0/24 does not work because ipv6 host 
address does not match this ipv4 formatted rule :
Sun Feb 12 23:53:15 2012|debug [16668]: Test client 0:0:0:0:0:FFFF:C0A8:101/128 
against allowed: 192.168.1.0/24
Sun Feb 12 23:53:15 2012|debug [16668]: Alert: client ::ffff:192.168.1.1 
disallowed by access control
Sun Feb 12 23:53:15 2012|debug [16668]: Response: 403 Access to cache prohibited

But I don't use ipv6 on my network.

Note that if allowed_hosts is not set, no access is allowed as well :
Sun Feb 12 23:48:39 2012|debug [16575]: Alert: client ::ffff:192.168.1.1 
disallowed by access control
Sun Feb 12 23:48:39 2012|debug [16575]: Response: 403 Access to cache prohibited

Only allowed_hosts = * is working with ipv4.

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 3.2.0-1-686-pae (SMP w/1 CPU core)
Locale: LANG=fr_FR@euro, LC_CTYPE=fr_FR@euro (charmap=ISO-8859-15)
Shell: /bin/sh linked to /bin/dash

Versions of packages apt-cacher depends on:
ii  debconf [debconf-2.0]  1.5.41
ii  dpkg                   1.16.1.2
ii  ed                     1.6-1
ii  libfilesys-df-perl     0.92-4+b1
ii  libfreezethaw-perl     0.5001-1
ii  libio-interface-perl   1.06-1+b1
ii  libnetaddr-ip-perl     4.058+dfsg-2
ii  libwww-curl-perl       4.15-1+b2
ii  libwww-perl            6.03-1
ii  lsb-base               3.2-28.1
ii  perl                   5.14.2-7
ii  update-inetd           4.41

Versions of packages apt-cacher recommends:
ii  libberkeleydb-perl  0.49-1

Versions of packages apt-cacher suggests:
ii  libio-socket-inet6-perl  2.69-2

-- Configuration Files:
/etc/apt-cacher/apt-cacher.conf changed [not included]
/etc/default/apt-cacher changed [not included]

-- debconf information excluded



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