"C. Falconer" wrote:

>A destination list contains domain names and urls...  The lines at the
>bottom control whether the client is allowed or is not allowed.
>
>For example
>
>client1 {
>pass ok ok1 !ok2 all
> }

..I have configured squidguard.conf in this mode:

dbhome /var/lib/squidguard
logdir /var/log/squidguard

destination ok {
      domainlist  ok/domains
      urllist           ok/urls
}

destination ok-for-number1 {
      domainlist  ok1/domains
      urllist           ok1/urls
}

destination ad {
      domainlist  ad/domains
      urllist           ad/urls
}

source admin { ip 10.0.0.16 }
source noaccess { ip 192.168.1.1-192.168.1.20 }
source number1 { ip 10.0.0.15 }

acl {
      noaccess {
            pass none
      }

      number1 {
            pass ok !ad ok-for-number1
      }

      admin {
            pass !ad all
      }

      default {
            pass none
      }
}

and in the /ok/domains:
www.onesite.com

and in the /ok/urls
www.onesite.com

and in the /ok1/domains:
www.secondsite.com

and in the /ok1/urls
www.secondsite.com

.. but I view all web site, nothig site is blocked !
why ??
still thanks.
Salvatore.

Reply via email to