Hi Eric,

The string you send to SquidGuard is not valid.
Your test command should looks like :

echo "http://foo.com/ 127.0.0.1 - GET" |  /usr/bin/squidGuard -c
/etc/squid/squidGuard.conf

HTH
Remi

> -----Message d'origine-----
> De : Eric Speas [mailto:[EMAIL PROTECTED] 
> Envoyé : mercredi 8 décembre 2004 22:49
> À : [EMAIL PROTECTED]
> Objet : Parsing error using SquidGuard and Squid
> 
> 
> Greetings,
> 
> Hopefully someone can help me with this little problem.
> 
> I have Squid (Version 2.5.STABLE7), SquidGuard (1.2.0) and 
> Chastity-list 
> (0.5.20020928-8) running on my Debian (Sarge) box for evaluation 
> purposes and possible future rollout.  I've figured out how to get 
> SquidGuard to load durning booting and I show four child processes 
> running (as I configured it).  Now, when I try to test it, SquidGuard 
> won't filter out the sites listed in the 
> squidGuard-chastity.conf file.  
> I ran a debug:
> 
> echo "http://foo.com/ --GET" |  /usr/bin/squidGuard -c 
> /etc/squid/squidGuard.conf
> 
> and got a blank line.  I checked 
> /var/log/squid/squidGuard.log and got 
> the following error message:
> 
> error parsing squid line: http://foo.com/
> 
> I ran update-squidGuard and no joy.
> 
> My squidGuard.conf looks like so:
> 
> --------------------------------------squidGuard.conf---------
> ----------------------------------------
> dbhome /var/lib/chastity
> logdir /var/log/squid
> 
> src crash {
>              user         foouser
>             }
> 
> dest good {
>  }
> 
> dest porn {
>                 domainlist          adult/domains
>                 urllist                 adult/urls
>                 expressionlist     adult/expressions
>                 redirect             http://www.google.com/
> }
> 
> acl {
>      crash {
>                 pass !porn good all
>                 redirect http://www.google.com/
>     }
>     default {
>                 pass        all
>                 redirect   http://www.google.com/
>      }
> }
> ----------------------------------------squidGuard.conf-------
> -------------------------------------
> 
> My questions are: since squidGuard.conf seems to be configured (paths 
> checked and rechecked) correctly and all the owner/group 
> permissions are 
> correct, why am I getting this parsing error and how to I fix it?
> 
> Eric
> 
> -- 
> Eric Speas, MLIS
> Automation Librarian
> J.D. Boyd Library
> Alcorn State University
> <a 
> href="http://www.spreadfirefox.com/?q=affiliates&amp;id=9680&a
> mp;t=1">Get Firefox!</a>
> 
> 

Reply via email to