Kyle Dunn wrote:
> Error Message:
> ---------------------------------------------------------------------------------------------------------------------------
> 2006-01-25 12:47:53 [13172] syntax error in configfile
> /etc/squidGuard/squidGuard.conf line 8
> 2006-01-25 12:47:53 [13172] going into emergency mode
> 2006-01-25 12:47:53 [13173] syntax error in configfile
> /etc/squidGuard/squidGuard.conf line 8
> 2006-01-25 12:47:53 [13173] going into emergency mode
> 2006-01-25 12:47:53 [13174] syntax error in configfile
> /etc/squidGuard/squidGuard.conf line 8
> 2006-01-25 12:47:53 [13174] going into emergency mode
> 2006-01-25 12:47:53 [13175] syntax error in configfile
> /etc/squidGuard/squidGuard.conf line 8
> 2006-01-25 12:47:53 [13175] going into emergency mode
> 2006-01-25 12:47:53 [13176] syntax error in configfile
> /etc/squidGuard/squidGuard.conf line 8
> 2006-01-25 12:47:53 [13176] going into emergency mode
>
> --------------------------------------------------------------------------------------------------------------------------
> .conf File:
> ---------------------------------------------------------------------------------------------------------------------------
> # CONFIGURATION DIRECTORIES
> dbhome /etc/squidGuard/db/
> logdir /var/log/squidGuard
>
> # Destination Blocklists Declarations
>
> # Ads Blocklist
> dest ads{
> log ads
> domainlist ads/domains
> urllist ads/urls
> }
>
> # Aggressive Blocklist
> dest aggressive{
> log aggressive
> domainlist aggressive/domains
> urllist aggressive/urls
> }
> # Drugs Blocklist
> dest drugs{
> log drugs
> domainlist drugs/domains
> urllist drugs/urls
> }
> # Gambling Blocklist
> dest gambling{
> log gambling
> domainlist gambling/domains
> urllist gambling/urls
> }
> # Hacking Blocklist
> dest hacking{
> log hacking
> domainlist hacking/domains
> urllist hacking/urls
> }
> # Pornography Blocklist
> dest porn{
> log porn
> domainlist porn/domains
> urllist porn/urls
> }
> # Proxy Server Bypass Via Proxy Blocklist
> dest proxy{
> log proxy
> domainlist proxy/domains
> urllist proxy/urls
> }
> # Violence Blocklist
> dest violence{
> log violence
> domainlist violence/domains
> urllist violence/urls
> }
> # Warez Blocklist
> dest warez{
> log warez
> domainlist warez/domains
> urllist warez/urls
> }
> # Custom Domain and URL Blocklist **Administratively Maintained**
> dest custom{
> log custom
> domainlist custom/domains
> urllist custom/urls
> }
> # Declaration to Pass All traffic except sites/domains matching above
> # Blocklists in which case it will be redirected to URL specified
> # acl {
> # default {
> # pass !ads !aggressive !drugs !gambling
> # !hacking !porn !proxy !violence !warez !custom all
> # redirect http://www.google.com
> # }
> # }
> # Declaration to pass all traffic (filtering disabled)
> acl {
> default {
> pass all
> redirect http://www.google.com
> }
> }
> __________________________________________________________________________________________
>
> AMD64 Platform running Squid and Gentoo Hardened Sources Linux
I'm probably not qualified to answer this as I haven't yet got
squidGuard running myself yet (see long running correspondence on both
this list and the squid list) but I did have a similar problem myself
which I did solve.
Check that the indentation on line 8 (" dest ads{......") - and all
other lines - is actually a tab created in a text only text editor (use
something like Kate or Vim) and then try it again...
If it still doesn't work I'm out of my depth but I'm sure someone here
can help.
Best regards
Mark
signature.asc
Description: OpenPGP digital signature
