squidGuard.conf
#NOTE THIS FILE IS SPECIFICALLY FORMATTED. DO NOT CHANGE THIS FILE
logdir /usr/local/squidGuard/logs
dbhome /usr/local/squidGuard/db
# hotmail
dest C3{
domainlist C3/domains
urllist C3/urls
expressionlist C3/expressions
logfile /squidGuard/logs/blocked.log
}
# Block
dest C0{
domainlist C0/domains
urllist C0/urls
expressionlist C0/expressions
logfile /squidGuard/logs/blocked.log
}
# mapquest
dest C4{
domainlist C4/domains
urllist C4/urls
expressionlist C4/expressions
logfile /squidGuard/logs/blocked.log
}
# Allow
dest C1{
domainlist C1/domains
urllist C1/urls
expressionlist C1/expressions
logfile /squidGuard/logs/blocked.log
}
# Standard system allows
dest SYS {
domainlist SYS/domains
urllist SYS/urls
}
acl {
default {
pass SYS !C0 C1 C3 C4 all
redirect
http://64.207.228.154:80/cgi-bin/blocked.cgi?url=%u&ip=%a&user=%i&cat=%t
}
}
-----Original Message-----
From: Rick Matthews [mailto:[EMAIL PROTECTED]
Sent: Friday, June 04, 2004 12:24 PM
To: Michael Wray; [EMAIL PROTECTED]
Subject: RE: Redirecting portions of Yahoo.com
Michael Wray wrote:
>
> squidguardlogfiles contain nothing but the following lines repeated
> over and over...
>
> 2004-06-04 11:33:58 [573] squidGuard 1.2.0 started (1086366836.968)
> 2004-06-04 11:33:58 [573] squidGuard ready for requests (1086366838.021)
> 2004-06-04 11:33:58 [583] squidGuard 1.2.0 started (1086366837.425)
> 2004-06-04 11:33:58 [583] squidGuard ready for requests (1086366838.033)
> 2004-06-04 11:53:40 [658] squidGuard 1.2.0 started (1086368020.674)
> 2004-06-04 11:53:40 [658] squidGuard ready for requests (1086368020.755)
Would you please post your squidGuard.conf file? Your log file should
also contain the initialization and loading of all of the destination
group information in your squidGuard.conf file:
init domainlist /usr/local/squidGuard/db/blacklists/allporn/domains
loading dbfile /usr/local/squidGuard/db/blacklists/allporn/domains.db
init urllist /usr/local/squidGuard/db/blacklists/allporn/urls
loading dbfile /usr/local/squidGuard/db/blacklists/allporn/urls.db
init expressionlist /usr/local/squidGuard/db/blacklists/porn/expressions
init domainlist /usr/local/squidGuard/db/blacklists/gambling/domains
loading dbfile /usr/local/squidGuard/db/blacklists/gambling/domains.db
init urllist /usr/local/squidGuard/db/blacklists/gambling/urls
loading dbfile /usr/local/squidGuard/db/blacklists/gambling/urls.db
Based on your log file, you're not blocking anything?
Rick
>
> -----Original Message-----
> From: Rick Matthews [mailto:[EMAIL PROTECTED]
> Sent: Friday, June 04, 2004 10:51 AM
> To: Michael Wray; [EMAIL PROTECTED]
> Subject: RE: Redirecting portions of Yahoo.com
>
>
> Michael Wray wrote:
> >
> > When I attempt to block (redirect) say: mail.yahoo.com, when I run
> > the tests from the commandline, squidguard successfully blocks
> > mail.yahoo.com, but when I run it in my webbrowser, somehow I
> > succeed in going to mail.yahoo.com. Any other domain I've tried
> > with a similar scenario, works as expected, the specified section
> > is blocked, and the rest is allowed...This is just an issue with
> > Yahoo...anyone know what else I might try to block this?
>
> What messages are in your squidGuard.log file?
>
> I'd first check file ownership and permissions. You ran your
> successful tests from the command line logged in as your user or as
> root. Squid and squidGuard usually run as squid:squid, so they
> might have been denied access to files that you had access to as root.
>
> Do a 'cat domains | grep "yahoo.com"' on the domains file that
> contains mail.yahoo.com and tell us what it reports.
>
> Rick
>
>