Re: [squid-users] Warning squid -k parse

From: jeffrey j donovan <donovan_at_beth.k12.pa.us>
Date: Thu, 4 Apr 2013 19:25:55 -0400

On Apr 4, 2013, at 2:24 PM, Marcos A. Dzieva <dzieva_at_gmail.com> wrote:

> Dear...
>
> I am using squid 3.HEAD on a server ubuntu, and warning occurs before processing the configuration file.
> I have removed them acls from squid.conf, and warnings keep popping up.
>
> What could be wrong ?
>
> root_at_visa-proxy:~# squid -k parse
> 2013/04/04 15:04:09| WARNING: (B) '::/0' is a subnetwork of (A) '::/0'
> 2013/04/04 15:04:09| WARNING: because of this '::/0' is ignored to keep splay tree searching predictable
> 2013/04/04 15:04:09| WARNING: You should probably remove '::/0' from the ACL named 'all'
> 2013/04/04 15:04:09| WARNING: (B) '127.0.0.1' is a subnetwork of (A) '127.0.0.1'
> 2013/04/04 15:04:09| WARNING: because of this '127.0.0.1' is ignored to keep splay tree searching predictable
> 2013/04/04 15:04:09| WARNING: You should probably remove '127.0.0.1' from the ACL named 'localhost'
> 2013/04/04 15:04:09| WARNING: (B) '127.0.0.0/8' is a subnetwork of (A) '127.0.0.0/8'
> 2013/04/04 15:04:09| WARNING: because of this '127.0.0.0/8' is ignored to keep splay tree searching predictable
> 2013/04/04 15:04:09| WARNING: You should probably remove '127.0.0.0/8' from the ACL named 'to_localhost'
> 2013/04/04 15:04:09| Processing Configuration File: /etc/squid/squid.conf (depth 0)
>
> Thanks.
> Dzieva.

I had the same thing

uncomment any lines that look like this ;
#acl manager proto cache_object
#acl localhost src 127.0.0.1/32
#acl to_localhost dst 127.0.0.0/8 0.0.0.0/32 ::1

it appears that squid knows who localhost is. error went away when i commented those lines out.

-j
Received on Thu Apr 04 2013 - 23:26:05 MDT

This archive was generated by hypermail 2.2.0 : Sun Apr 07 2013 - 12:00:04 MDT