> have only one problem: I cannot log the blocked sites,

Create an expressionlist that matches everything.
Create a destination group that consists of only that expressionlist:

dest internet {
        expressionlist  internet/expressions
        redirect                http://someplace
        logfile         internet.log
}

Rewrite your acl:

acl {
        exceptips {
                pass all 
        }
        default {
                pass allowcustom !internet none
                redirect http://... 
        }
}

That should do it.

Rick Matthews
 

> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Lawrence
> Manning
> Sent: Monday, May 20, 2002 5:35 AM
> To: [EMAIL PROTECTED]
> Subject: Logging "pass none" access
> 
> 
> Hi,
> 
> I'm using a acl like this:
> 
> acl {
>         exceptips {
>                 pass all 
>         }
>         default {
>                 pass allowcustom
>                 pass none
>                 redirect http://... 
>       }
> }
> 
> This allows SquidGuard to only allow sites in a list, and block all 
> others.  Why I'd like to do this?  Don't ask :-) This works VERY well!  I 
> have only one problem: I cannot log the blocked sites, because there is no 
> "dest" declared for the "pass none" line.  Is there any way to log these?  
> I supose the problem is exactly like someone wanting to log all sites that 
> go through "pass all".
> 
> SquidGuard is great BTW!
> 
> Lawrence
> 
> 

Reply via email to