package apt-cacher
tag 659669 pending
thanks

On Thu, Feb 16, 2012 at 07:12:40PM +0100, Leopold BAILLY wrote:
> Mark Hindley <m...@hindley.org.uk> writes:
> 
> > On Mon, Feb 13, 2012 at 10:15:05PM +0000, Mark Hindley wrote:
> >> 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. 
> 
> With Debian testing, ipv6 is built into the kernel, not as a module.
> I tried to disable ipv6 through sysctl.conf but I don't know if it succeeded.
> 
> After reboot :
> $ sudo sysctl net.ipv6.conf.all.disable_ipv6
> net.ipv6.conf.all.disable_ipv6 = 1
> 
> And I still get the same ipv6 related error message.
> 
> > I have done a patch to transparently support IPv6 mapped IPv4 addresses. 
> > I would be grateful if you could apply this patch and let me know how it 
> > works for you.
> 
> Yes, it does.
> 
> It still works if I move back to my original sysctl config (and reboot).

Good! I will queue this for 1.7.4 upload (1.7.3 is already packaged and 
waiting to be uploaded)

Mark



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