Squid - Problem with squidGuard redirecting

This is Interesting: Free IT Magazines  
Home > Archive > Squid > February 2005 > Problem with squidGuard redirecting





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Problem with squidGuard redirecting
Jiri

2005-02-09, 5: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
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com