Re: [squid-users] squid2 doesn't understand "deny/allow all"

From: Chris Robertson <crobertson_at_gci.net>
Date: Mon, 13 Jul 2009 15:14:04 -0800

Dayo Adewunmi wrote:
> Hi all
>
> I've installed squid 2.6.STABLE18 and made my changes to
> /etc/squid/squid.conf
>
> Now, when I run squid -z I get this error:
>
> # squid -z
> 2009/07/13 20:44:16| ACL name 'all' not defined!
> FATAL: Bungled squid.conf line 691: http_access deny all
> Squid Cache (Version 2.6.STABLE18): Terminated abnormally.
>
>
> So I commented out the above directive and reran squid -z, only to get
> another similar error:
>
> # squid -z
> 2009/07/13 20:44:46| ACL name 'all' not defined!
> FATAL: Bungled squid.conf line 733: icp_access allow all
> Squid Cache (Version 2.6.STABLE18): Terminated abnormally.
>
> What am I doing wrong here?

You have removed the default "all" acl.

acl all src 0.0.0.0/0.0.0.0

Have a read through the FAQ section on ACLs and http_access rules:

http://wiki.squid-cache.org/SquidFaq/SquidAcl

>
> Dayo

Chris
Received on Mon Jul 13 2009 - 23:14:20 MDT

This archive was generated by hypermail 2.2.0 : Tue Jul 14 2009 - 12:00:03 MDT