On Mon, Feb 13, 2012 at 12:19:21AM +0100, Leopold BAILLY wrote: > 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.
Although you only use IPv4, I think you have an IPv6 enabled kernel which is why the client address is shown as an IPv4 mapped IPv6 address. Could you see if the ipv6 module is loaded and if it is remove it (http://www.debian-administration.org/articles/409). I think the IPv4 only configuration will work then. Let me know how you get on. Mark -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org