Hi

I am using squidGuard via the SuSE 9.1 RPMS. SquidGuard has worked well for me 
for many years.  But after many years of using the default installation, I 
need to allow a URL to be passed even though the overall domain is blocked 
elsewhere in the blacklists (blacklist/mail/domains, there is a line 
"geocities.com")

I want to allow a specific site within geocities.com, so I create a new 
subdirectory of blacklist "ok" and within that subdirectory I have a file 
"urls" with contents of "www.geocities.com/pinball_jack".  I create the .db 
files.

My squidGuard.conf file has:

dest ok {
    domainlist blacklist/ok/domains
    urllist    blacklist/ok/urls
}

acl {
    protect {
        pass 
ok !ads !aggressive !audio-video !drugs !gambling !hacking !mail !porn !proxy 
!violence !warez 
all
        redirect http://woot.com/blocked.html
    }

    default {
        pass none
    }
}

To test it, I use the following command:  echo 
"http://www.geocities.com/pinball_jack 192.168.0.25/- - GET" 
| /usr/sbin/squidGuard -c /etc/squidguard.conf -d

and get the output of all the databases that are loaded, followed by the 
redirect to woot.com/blocked.com.

You may notice that the "ok" destination has a domain list.  In that list, I 
allow access to the discovery.com domain (it is blocked elsewhere in the 
downloaded blacklists).  That override works properly and discovery.com URLs 
are not blocked.

I have been looking for information or a way to get squidGuard to output 
useful trace information to show me why it doesn't pass the geocities site, 
but have found nothing.

Thanks!

Reply via email to