This would be a side-effect of squidguard's behavior: when there is any
problem, it usually gives up. You should look in squidguard.log to confirm
this and for clues as to what the problem is. For instance, the porn and/or
violence db files or directories may not exist or be in the wrong place or
have the wrong permissions etc. etc. ad naus.

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Fr�d�ric LE
BASTARD
Sent: Friday, March 01, 2002 11:41 AM
To: [EMAIL PROTECTED]
Subject: problem with multiple dest definitions


Hi,

I recentely installed squidGuard 1.2.0, on  a linux RedHat 7.2 / 2.4.18 box.
It starts to work, but I have a weird problem : if I have several 'dest'
secion in my squidGuard.conf, it acts like there was no filter at all.

basically, i created a drugs, a porn and a violence  'dest' sections
if i try :
pass !drugs all
it won't work

If i delete the porn and violence dest sections, and try :
pass !drugs all
it works !


any help appreciated :))

Fred

PS :

This is the non-working file :
# fichier de configuration squidGuard pour squid

logdir /var/log/squid
dbhome /usr/local/squid/blacklist

src users {
  ip 172.16.0.0/16
}

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
}

acl {
  users {
    pass !drugs all
    redirect http://172.16.1.110/error.html
  }
  default {
    redirect http://172.16.1.110/error.html
  }
}



This is the working file :
# fichier de configuration squidGuard pour squid

logdir /var/log/squid
dbhome /usr/local/squid/blacklist

src users {
  ip 172.16.0.0/16
}

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


acl {
  users {
    pass !drugs all
    redirect http://172.16.1.110/error.html
  }
  default {
    redirect http://172.16.1.110/error.html
  }
}





Reply via email to