02-09-05 10:46 PM
Hi all,
I was reading all accessible FAQs, but nothing helped. I'm starting to
be really hopeless from mentioned subject. Here is my firewall
configuration:
Fedora Core 2 - kernel 2.6
iptables-1.2.9-2.3.1
httpd-2.0.50-2.1
squid-2.5.STABLE5-4.fc2
squidGuard 1.2.0
Berkeley DB 3.2.9 (but not using .db files)
content of '/etc/squid/squid.conf':
---------------------------------------------------------------------
...
redirect_program /usr/local/bin/squidGuard -c
/etc/squidguard/squidguad.conf
...
cache_effective_user squid
cache_effective_group squid
...
---------------------------------------------------------------------
content of '/etc/squid/squid.conf':
---------------------------------------------------------------------
logdir /var/log/squidguard
dbhome /etc/squidguard/db
dest banned {
domainlist banned/domains
urllist banned/urls
}
acl {
default {
pass !banned all
redirect http://firewall
}
}
---------------------------------------------------------------------
files access and ownership:
---------------------------------------------------------------------
/etc/squidguard/:
drwxr-xr-x 3 squid squid 4096 feb 9 12:01 db
-rw-r--r-- 1 squid squid 197 feb 9 19:34 squidguard.conf
/etc/squidguard/db:
drwxr-xr-x 2 squid squid 4096 feb 9 18:41 banned
/etc/squidguard/db/banned:
-rw-r--r-- 1 squid squid 18 feb 9 17:29 domains
-rw-r--r-- 1 squid squid 0 feb 9 13:47 urls
/var/log/squidguard/:
-rw-r--r-- 1 squid squid 0 feb 9 18:53 squidGuard.log
---------------------------------------------------------------------
When trying to test squidGuard configuration, all is working fine, but
when it is running through the Squid, it doesn't redirect banned URLs.
For any help I'll be very appreciated. Thanks in advance and have a
nice day,
Jiri
[ Post a follow-up to this message ]
|