Re: [squid-users] What's wrong with my squid?

From: Amos Jeffries <squid3@dont-contact.us>
Date: Tue, 18 Sep 2007 15:40:51 +1200 (NZST)

> On tis, 2007-09-18 at 04:23 +0200, Kyrre Nygård wrote:
>> I'm getting some weird errors here. For instance, it complains about
>> something on line 8, when my squid.conf is only 6 lines.
>
>> 2007/09/17 20:45:07| ACL name 'all' not defined!
>
> squid.conf MUST include an "all" acl, and it should be defined as
> follows:
>
> acl all src 0.0.0.0/0
>
>> FATAL: Bungled squid.conf line 8: http_reply_access allow all
>
> Thats the default for http_reply_access when none is specified..
>

Now this is one of the checks squid could do better internally.

Henrik,
  Can you point me in the direction of where it may be possible to
pre-define these ACL in the source before reading squid.conf, and how to
do it?
I've found where to default the RHS-only of ACL, but not the full line
combination.

NP: Since seeing the IPData parsing for ACLs, I've recommended "acl all
src all" instead of the 0.0.0.0/0 version. It seems to make sense even to
people who don't understand CIDR.

Amos
Received on Mon Sep 17 2007 - 21:41:08 MDT

This archive was generated by hypermail pre-2.1.9 : Mon Oct 01 2007 - 12:00:05 MDT