> Without any src entries, squidGuard works fine.

By "works fine" do you mean it blocks what it should block (and
sends you to the correct redirects and logs the correct
information), and it passes what it should pass?

> src district_office
>     {
>     206.110.119.0/24
>     }
>
> ACL source district_office is not defined
> in configfile /etc/squid/squidGuard.conf

It doesn't know what that is until you put an 'ip' in front of the
number.

You might want to add back your logging statements to each
destination group; I find looking at the log to be very helpful.

You should have also received an error because the ads destination
group is commented out yet referenced in your acl.

Rick

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of David
Hansen
Jr.
Sent: Tuesday, April 30, 2002 1:54 PM
To: squidGuard
Subject: New issue


Alright, I've been able to get a bit farther.  I'm not stuck in a
weird
place.  Without any src entries, squidGuard works fine.  then, I
add:
src district_office
    {
    206.110.119.0/24
    }

and to acl:
district_office
    {
    pass all
    }

Then, when I run squid -k reconfigure, I get:

2002-04-30 13:10:46 [27874] (squidGuard): ACL source district_office
  is not defined in configfile /etc/squid/squidGuard.conf
2002-04-30 13:10:46 [27874] going into emergency mode

Any suggestions here?

Thanks,
David

squidGuard.conf:
dbhome /var/lib/squidGuard/blacklists
logdir /var/log/squid

src disto
    {
    ip   206.110.119.0/24
    }

#dest ads
#   {
#   domainlist  ads/domains
#   urllist     ads/urls
#   }

dest audio-video
    {
    domainlist   audio-video/domains
    urllist      audio-video/urls
    }

dest mail
    {
    domainlist   mail/domains
    urllist      mail/urls
    }

dest proxy
    {
    domainlist   proxy/domains
    urllist      proxy/urls
    }

dest violence
    {
    domainlist   violence/domains
    urllist      violence/urls
    }

dest aggressive
    {
    domainlist   aggressive/domains
    urllist      aggressive/urls
    }

dest drugs
    {
    domainlist   drugs/domains
    urllist      drugs/urls
    }

dest hacking
    {
    domainlist   hacking/domains
    urllist      hacking/urls
    }

dest porn
    {
    domainlist   porn/domains
    urllist      porn/urls
    expressionlist       porn/expressions
    }

dest warez
    {
    domainlist   warez/domains
    urllist      warez/urls
    }

acl
    {
    disto
       {
       pass all
       }

    default
       {
       pass !ads !audio-video !mail !proxy !violence !aggressive
!drugs
!hacking !porn !warez all
       redirect
http://206.110.119.219/cgi-bin/squidGuard.cgi?clientaddr=%a&clientna
me=%n&clientuser=%i&clientgroup=%s&targetgroup=%t&url=%u&lang=en
       }
    }



Reply via email to