Adrian Chadd wrote:
On Wed, Jan 09, 2008, Amos Jeffries wrote:
Dave wrote:
I still get
unrecognized: 'include /path/to/included/file/squid.acl.config'
when trying it out
There seems to be a one-off error in the initial logics. whitespace in
the config line is at character 7 not 8.
Fixing that here in the 3.1 port solves the problem you are seeing and
if the config is correct it works properly.
Oops!
if (strlen(config_input_line) >= 9 && strncmp(config_input_line, "include", 7) == 0 && (config_input_line[8] == ' ' || config_input_line[8] == '\t')) {
Yeah. Ok, thats easy to fix. Change the [8] to [7].
"FATAL: Bungled garbage-from-working-line-#2 line 3: acl"
'garbage-from-working-line-#2' is a tail of the acl line (2) preceeding
the intentionally bungled one (3) containing just "acl ".
Give me an example config setup with that?
adrian
/src/test/squid.conf::
include /src/test/squid.conf.acl-tests
/src/test/squid.conf.acl-tests::
acl localnet src cairo.treenetnz.com troja.treenetnz.com
acl
acl ipv6inet dst ipv6
Produces:
2008/01/09 15:12:05| aclParseAclLine: missing ACL name.
FATAL: Bungled airo.treenetnz.com troja.treenetnz.com line 3: acl
Squid Cache (Version 3.HEAD-CVS): Terminated abnormally.
Amos
--
Please use Squid 2.6STABLE17 or 3.0STABLE1.
There are serious security advisories out on all earlier releases.