> 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