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