[squid-users] need help with squid ACL's

From: Paul Matthews <[email protected]>
Date: Wed, 21 Dec 2005 13:22:05 +1000 (EST)

hi there,

i've made a post about a program called squish and i'm in the middle of
trying to get it all working and write a how-to for it seeing as there
isn't one out there, but i'm having some problems.

squish writes some ACL's and http_access rules into squid and there
causing error's when i start squid. can someone explain to me what
there talking doing so i can delete the ones i don't need and keep the
ones i do need.

/etc/squid/squid.conf

# added by squish (begin)
acl SQUISHLOC dst fedora.directory.server

acl SQUISHED1 proxy_auth "/etc/squid/squished"
acl SQUISHED2 ident "/etc/squid/squished"
acl SQUISHED3 src "/etc/squid/squished"
deny_info [url]http://fedora.directory.server[/url]
/squish/?squished& SQUISHED1
deny_info [url]http://fedora.directory.server[/url]
/squish/?squished& SQUISHED2
deny_info [url]http://fedora.directory.server[/url]
/squish/?squished& SQUISHED3
http_access allow SQUISHLOC
http_access deny SQUISHED1
http_access deny SQUISHED2
http_access deny SQUISHED3
# added by squish (end)

also the rules like this

[url]http://fedora.directory.server[/url]
/squish/?squished& SQUISHED1

they are on seperate lines, should they be on the same line like below

[url]http://fedora.directory.server/squish/?squished&[/url] QUISHED1

?? these are the error's i get when restarting

[root@fedora squish-0.0.12]# /etc/init.d/squid restart
Stopping squid: 2005/12/21 13:23:00| squid.conf line 1847: acl SQUISHED2
ident "/etc/squid/squished"
2005/12/21 13:23:00| aclParseAclLine: Invalid ACL type 'ident'
2005/12/21 13:23:00| squid.conf line 1849: deny_info
[url]http://fedora.directory.server[/url]
2005/12/21 13:23:00| aclParseDenyInfoLine: deny_info line contains no
ACL's, skipping
2005/12/21 13:23:00| parseConfigFile: line 1850 unrecognized:
'/squish/?squished& SQUISHED1'
2005/12/21 13:23:00| squid.conf line 1851: deny_info
[url]http://fedora.directory.server[/url]
2005/12/21 13:23:00| aclParseDenyInfoLine: deny_info line contains no
ACL's, skipping
2005/12/21 13:23:00| parseConfigFile: line 1852 unrecognized:
'/squish/?squished& SQUISHED2'
2005/12/21 13:23:00| squid.conf line 1853: deny_info
[url]http://fedora.directory.server[/url]
2005/12/21 13:23:00| aclParseDenyInfoLine: deny_info line contains no
ACL's, skipping
2005/12/21 13:23:00| parseConfigFile: line 1854 unrecognized:
'/squish/?squished& SQUISHED3'
2005/12/21 13:23:00| squid.conf line 1857: http_access deny SQUISHED2
2005/12/21 13:23:00| aclParseAccessLine: ACL name 'SQUISHED2' not found.
2005/12/21 13:23:00| squid.conf line 1857: http_access deny SQUISHED2
2005/12/21 13:23:00| aclParseAccessLine: Access line contains no ACL's,
skipping
. [ OK ]
Starting squid: . [ OK ]
Received on Tue Dec 20 2005 - 20:22:11 MST

This archive was generated by hypermail pre-2.1.9 : Sat Dec 31 2005 - 12:00:03 MST