On Wed, 2002-08-21 at 07:57, Eduard A. Ivanov wrote:
> Hello [EMAIL PROTECTED],

Hi Eduard,

> I have a problem whis running squidGuard.
> 
> here is 2 my squidGuard.conf:
> 
> file squidGuard.conf1 :
<snip valid config file that works>
> 
> file squidGuard.conf2 :
> logdir /home/edi/squid/logs
> dbhome /home/edi/squid/etc/squidGuard
> source surbisloc {
>     ip  10.80.12.0/24
> }
> destination localdomains {
>   domainlist our
> }
> acl {
>   surbisloc {
>     pass localdomains
>   }
>   default {
>     pass none
>     redirect http://local.web.site/access_denide.html
>   }
> }
> when I run squidGuard with squidGuard.conf1 everything works fine:
> only sites that are in localdomains can be accessed.
> 
> But if I use squidGuard.conf2 nothing is blocked.

The default action of a "pass" statement is "pass all". So because your
line is just "pass localdomains", it's treated as "pass localdomains
all". If you use "pass localdomains none" instead, that ought to work
for you.

HTH, HAND

Greg Sheard
Technical Director
ECSC Ltd.
www.ecsc.co.uk

#include <legal_disclaimer.h>

Reply via email to