Re: [squid-users] I'm confused how to write localnet for ipv6 in the squid.conf

From: Amos Jeffries <squid3@dont-contact.us>
Date: Wed, 06 Feb 2008 01:27:46 +1300

S.KOBAYASHI wrote:
> Hi there, I'm seiji from Japan.
>
> I'm looking forward to finishing development ipv6, and I'm just working for
> the squid.3-HEAD. It works fine so far. However I'm suffering from "acl
> localnet" tag for ipv6.
> I have put the localnet for v6 as bellow first.
> acl localnet src 2001:5c0:9a37:0/64, and restarted squid,

> but I couldn't
> get files from the web server since 403 error. At the next, I changed this
> line as bellow.
> acl localnet src 2001:5c0:9a37:0:216:17ff:fe21:f438 --> It's exactly http
> client ipv6 address. It worked fine!!
> Could you please tell me how should I compose the acl localnet options for
> ipv6 networks ? I don't want to write down all v6 host's address.
>
> Thanks a lot,
>
> Seiji Kobayashi
>

acl localnet src 2001:5c0:9a37:0::/64

IPv6 address you had first looks like it was missing the :: at the end
to represent masked part of address.

Amos

-- 
Please use Squid 2.6STABLE17+ or 3.0STABLE1+
There are serious security advisories out on all earlier releases.
Received on Tue Feb 05 2008 - 05:27:39 MST

This archive was generated by hypermail pre-2.1.9 : Sat Mar 01 2008 - 12:00:04 MST