Hey guys, I'm new to the world of Linux (installed it for the first time last week), so I'm probably missing something. Anyways, here's the problem I'm having:
I have Squid setup and running on a MDK 10.1 box. The proxy is running fine on it, and I can connect through it without any problems. However, I'm trying to get it to redirect to squidGuard, but it's still allowing all websites to go through.
I have modded the squid.conf to include:
redirect_program /usr/local/bin/squidGuard -c /etc/squid/squidGuard.conf
The squidGuard.conf reads:
Code:
#
# Configuration File for SquidGuard
#
# Created with the SquidGuard Configuration Webmin Module
# Copyright (C) 2001 by Tim Niemueller <tim@niemueller.de>
#
#
# File created on 28/Mar/2005 14:31
#
dbhome /home/brad/local/squidguard/db
logdir /home/brad/local/squidguard/logs
destination bl_drugs {
log drugs
domainlist drugs/domains
urllist drugs/urls
}
destination bl_ads {
log ads
domainlist ads/domains
urllist ads/urls
}
destination bl_aggressive {
log aggressive
domainlist aggressive/domains
urllist aggressive/urls
}
destination bl_proxy {
log proxy
domainlist proxy/domains
urllist proxy/urls
}
destination bl_mail {
log mail
domainlist mail/domains
urllist mail/urls
}
destination bl_audio-video {
log audio-video
domainlist audio-video/domains
urllist audio-video/urls
}
destination bl_violence {
log violence
domainlist violence/domains
urllist violence/urls
}
destination bl_warez {
log warez
domainlist warez/domains
urllist warez/urls
}
destination bl_gambling {
log gambling
domainlist gambling/domains
urllist gambling/urls
}
destination bl_hacking {
log hacking
domainlist hacking/domains
urllist hacking/urls
}
destination bl_porn {
log porn
domainlist porn/domains
urllist porn/urls
}
acl {
default {
pass !porn !hacking !gambling !warez !violence !audio-video !mail !proxy !aggressive !drugs !ads all
redirect 302:nowhere
}
}
My squidGuard.log (/var/log/squidGuard/squidGuard.log) contains the following:
Code:
2005-03-29 04:02:03 [11299] destblock bl_drugs missing active content, set inactive
2005-03-29 04:02:03 [11299] destblock bl_ads missing active content, set inactive
2005-03-29 04:02:03 [11299] destblock bl_aggressive missing active content, set inactive
2005-03-29 04:02:03 [11299] destblock bl_proxy missing active content, set inactive
2005-03-29 04:02:03 [11299] destblock bl_mail missing active content, set inactive
2005-03-29 04:02:03 [11299] destblock bl_audio-video missing active content, set inactive
2005-03-29 04:02:03 [11299] destblock bl_violence missing active content, set inactive
2005-03-29 04:02:03 [11299] destblock bl_warez missing active content, set inactive
2005-03-29 04:02:03 [11299] destblock bl_gambling missing active content, set inactive
2005-03-29 04:02:03 [11299] destblock bl_hacking missing active content, set inactive
2005-03-29 04:02:03 [11299] destblock bl_porn missing active content, set inactive
2005-03-29 04:02:03 [11299] (squidGuard): can't write to logfile /home/brad/local/squidguard/logs/squidGuard.log
So, on that last line, it looks like squidGuard has two log files? Or, do I just have something setup incorrectly?
Thanks in advance.
PS - I apologize if this is the wrong forum for this subject.