I am trying to use squidGuard as a porn filter for my house. I have
successfully installed squidGuard on a RH 72 linux box. I downloaded the
black list files, and used the following conf file, however, I bring up the
browser and point it to my home page, and it works fine, but when I point
it to one of the sites on the porn domains, it does NOT redirect the URL as
I would have expected it to. My understanding is that it would have
redirected the results to the locat apache server with the cgi-bin
application that I installed there. I know the cgi app works because I can
call it explicitely, and I know that I am using the squid proxy on port
3128 as well, because the squid logs tell me that I am accessing the pages
that I point the browser to, so the question remains, what am I doing wrong?
======= squidGuard.conf =============
dbhome /usr/local/squidguard/db
logdir /usr/local/squidGuard/log
src grownups {
ip 192.168.1.108
user joe_user
}
src kids {
user sally sue billy
}
dest porn {
domainlist /usr/local/squidGuard/blacklists/porn/domains
urllist /usr/local/squidGuard/blacklists/porn/urls
expressionlist /usr/local/squidGuard/blacklists/porn/expressions
redirect
http://192.168.1.5/cgi-bin/blocked?clientaddr=%a+clientname=%n+clientident=%i+srcclass=%s+targetclass=%t+url=%u
}
acl {
grownups {
pass !porn all
}
kids {
pass !porn all
}
default {
pass all
}
}
============ the process list (shows squidGuard is running) ==========
root 18134 0.0 1.8 3964 1160 ? S 16:01 0:00 squid -D
squid 18136 0.2 8.2 6992 5064 ? S 16:01 0:04 (squid) -D
squid 18137 1.8 2.4 3308 1528 ? S 16:01 0:37 (squidGuard) -d
squid 18138 1.8 2.4 3308 1528 ? S 16:01 0:36 (squidGuard) -d
squid 18139 1.8 2.4 3308 1528 ? S 16:01 0:37 (squidGuard) -d
squid 18140 1.8 2.4 3308 1528 ? S 16:01 0:36 (squidGuard) -d
squid 18141 0.0 0.5 1352 328 ? S 16:01 0:00 (unlinkd)
=============== squidGuard log file ============
cat squidGuard.log
2002-03-24 11:26:46 [17629] init domainlist
/usr/local/squidGuard/blacklists/porn/domains
2002-03-24 11:26:46 [17628] init domainlist
/usr/local/squidGuard/blacklists/porn/domains
2002-03-24 11:26:46 [17627] init domainlist
/usr/local/squidGuard/blacklists/porn/domains
2002-03-24 11:26:47 [17630] init domainlist
/usr/local/squidGuard/blacklists/porn/domains
2002-03-24 11:33:52 [17763] init domainlist
/usr/local/squidGuard/blacklists/porn/domains
2002-03-24 11:33:52 [17764] init domainlist
/usr/local/squidGuard/blacklists/porn/domains
2002-03-24 11:33:52 [17765] init domainlist
/usr/local/squidGuard/blacklists/porn/domains
2002-03-24 11:33:53 [17766] init domainlist
/usr/local/squidGuard/blacklists/porn/domains
2002-03-24 11:36:57 [17766] init urllist
/usr/local/squidGuard/blacklists/porn/urls
2002-03-24 11:36:57 [17763] init urllist
/usr/local/squidGuard/blacklists/porn/urls
2002-03-24 11:37:01 [17764] init urllist
/usr/local/squidGuard/blacklists/porn/urls
2002-03-24 11:37:01 [17765] init urllist
/usr/local/squidGuard/blacklists/porn/urls
2002-03-24 11:37:06 [17766] init expressionlist
/usr/local/squidGuard/blacklists/porn/expressions
2002-03-24 11:37:06 [17766] squidGuard 1.2.0 started (1016987632.997)
2002-03-24 11:37:06 [17766] squidGuard ready for requests (1016987826.133)
2002-03-24 11:37:06 [17763] init expressionlist
/usr/local/squidGuard/blacklists/porn/expressions
2002-03-24 11:37:06 [17763] squidGuard 1.2.0 started (1016987632.757)
2002-03-24 11:37:06 [17763] squidGuard ready for requests (1016987826.180)
2002-03-24 11:37:07 [17765] init expressionlist
/usr/local/squidGuard/blacklists/porn/expressions
2002-03-24 11:37:07 [17765] squidGuard 1.2.0 started (1016987632.942)
2002-03-24 11:37:07 [17765] squidGuard ready for requests (1016987827.360)
2002-03-24 11:37:07 [17764] init expressionlist
/usr/local/squidGuard/blacklists/porn/expressions
2002-03-24 11:37:07 [17764] squidGuard 1.2.0 started (1016987632.843)
2002-03-24 11:37:07 [17764] squidGuard ready for requests (1016987827.371)
2002-03-24 15:51:37 [18086] init domainlist
/usr/local/squidGuard/blacklists/porn/domains
2002-03-24 15:52:07 [18086] create new dbfile
/usr/local/squidGuard/blacklists/porn/domains.db
2002-03-24 15:52:08 [18086] init urllist
/usr/local/squidGuard/blacklists/porn/urls
2002-03-24 15:52:10 [18086] init expressionlist
/usr/local/squidGuard/blacklists/porn/expressions
2002-03-24 15:52:10 [18086] squidGuard 1.2.0 started (1017003097.784)
2002-03-24 15:52:10 [18086] db update done
2002-03-24 15:52:10 [18086] squidGuard stopped (1017003130.373)
2002-03-24 16:01:25 [17766] squidGuard stopped (1017003685.202)
2002-03-24 16:01:25 [17765] squidGuard stopped (1017003685.204)
2002-03-24 16:01:25 [17764] squidGuard stopped (1017003685.207)
2002-03-24 16:01:25 [17763] squidGuard stopped (1017003685.209)