> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Ricardo Perez
> Sent: Wednesday, July 25, 2001 12:02 PM
> To: [EMAIL PROTECTED]
> Subject: How can Extract some ip's from blocking ?
>
>
> Hi !
>
> i have 4 subnets 200.34.93.0/24, 148.245.49.0/25, 148.245.49.128/26,
> 148.245.49.192/27
>
> i need block porn sites in this subnets , BUT ! , i dont want to block
> anything to 148.245.49.3 and 148.245.49.4
>
> so , how can i do this ?
>
> this is my squidguard.conf that i think is good for this situation , but
> didi�t work :(
> PLEASE HELP ME !
>
> logdir /usr/local/squidGuard/log
> dbhome /usr/local/squidGuard/db
>
> src um {
>     ip 200.34.93.0/24
>     ip 148.245.45.0/25
>     ip 148.245.49.128/26
>     ip 148.245.49.192/27
> }
>
> src camino2y3 {
>     ip 148.245.49.3
>     ip 148.245.49.4
> }
>
> dest porn {
>          domainlist porn/domains
>          urllist    porn/urls
>     }
>
> acl {
>
> camino2y3 {
>           pass all
>           {
>
> um {
>    pass !porn all
>    }
>
> default {
> pass none
> redirect http://www.um.edu.mx
>    }
> }


I ran into a problem like this and I believe it is solved by swapping the
"src um {...}" group and the "src camino2y3 {...}" group.  For some reason
it had to do with declaring the groups in the same order as they appeared in
the acl.  Again, this was a while back, but I'm pretty sure the situation
was the same.

Reply via email to