acl lines must be defined prior to being used.
The acl "all" must be defined as
acl all src 0.0.0.0/0
(used by some of the default compiled-in configuration directives)
Regards
Henrik Nordstr�m
On Tuesday 19 February 2002 04:50, Nick wrote:
> I am configuring Squid-2, FreeBSD and WCCPv1. I have successfully
> configured the relative patches and IPFW functions into the kernel
> following the squid FAQ. And now am starting up squid-2. I can't
> seem to get pass squid -z. The error message, squid.conf and IPFW
> configuration is listed bellow. I would appreciate it some pointers
> can be given.
>
> Thanks in advance and best regards,
>
> -nick/
> -------------------------------------------------------------------
>--------- ------------------
>
> at# /usr/local/squid/bin/squid -z
> 2002/02/19 10:19:39| squid.conf line 7: http_access deny all
> 2002/02/19 10:19:39| aclParseAccessLine: ACL name 'all' not found.
> 2002/02/19 10:19:39| squid.conf line 7: http_access deny all
> 2002/02/19 10:19:39| aclParseAccessLine: Access line contains no
> ACL's, skipping
> 2002/02/19 10:19:39| squid.conf line 8: icp_access deny all
> 2002/02/19 10:19:39| aclParseAccessLine: ACL name 'all' not found.
> 2002/02/19 10:19:39| squid.conf line 8: icp_access deny all
> 2002/02/19 10:19:39| aclParseAccessLine: Access line contains no
> ACL's, skipping
> 2002/02/19 10:19:39| squid.conf line 9: ident_lookup_access deny
> all 2002/02/19 10:19:39| aclParseAccessLine: ACL name 'all' not
> found. 2002/02/19 10:19:39| squid.conf line 9: ident_lookup_access
> deny all 2002/02/19 10:19:39| aclParseAccessLine: Access line
> contains no ACL's, skipping
> 2002/02/19 10:19:39| squid.conf line 11: snmp_access deny all
> 2002/02/19 10:19:39| aclParseAccessLine: ACL name 'all' not found.
> 2002/02/19 10:19:39| squid.conf line 11: snmp_access deny all
> 2002/02/19 10:19:39| aclParseAccessLine: Access line contains no
> ACL's, skipping
> 2002/02/19 10:19:39| Creating Swap Directories
> FATAL: Failed to make swap directory /usr/local/squid/cache: (13)
> Permission denied
> Squid Cache (Version 2.4.STABLE3): Terminated abnormally.
> CPU Usage: 0.001 seconds = 0.001 user + 0.000 sys
> Maximum Resident Size: 1604 KB
> Page faults with physical i/o: 0
>
> at# more /usr/local/squid/etc/squid.conf
> http_port 8080
> httpd_accel_host virtual
> httpd_accel_port 80
> httpd_accel_with_proxy on
> httpd_accel_uses_host_header on
>
> at# ipfw -a l
> 00100 0 0 allow ip from any to any via lo0
> 00110 1157 197568 allow tcp from 200.100.225.12 to any
> 00120 0 0 fwd 127.0.0.1,8080 tcp from any to any 80
> 00200 0 0 deny ip from any to 127.0.0.0/8
> 00300 0 0 deny ip from 127.0.0.0/8 to any
> 00400 7 479 allow ip from 200.100.225.12 to 200.100.224.0/19
> 00500 0 0 allow ip from 200.100.225.12 to 200.100.208.0/20
> 00600 1192 78250 allow ip from 200.100.224.0/19 to 200.100.225.12
> 00700 0 0 allow ip from 200.100.208.0/20 to 200.100.225.12
> 00800 0 0 allow tcp from any to any established
> 00900 0 0 allow ip from any to any frag
> 01000 0 0 allow tcp from any to 200.100.225.12 25 setup
> 01100 0 0 allow tcp from 200.100.225.12 to any setup
> 01200 0 0 deny tcp from any to any setup
> 01300 0 0 allow udp from 200.100.225.12 to any 53
> keep-state 01400 0 0 allow udp from 200.100.225.12 to any
> 123 keep-state 65535 0 0 deny ip from any to any
-- MARA Systems AB, Giving you basic free Squid support Customized solutions, packaged solutions and priority support available on requestReceived on Tue Feb 19 2002 - 05:05:13 MST
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:06:26 MST