LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 03-30-2005, 09:10 AM   #1
MeridianRebel
Member
 
Registered: Mar 2005
Posts: 41

Rep: Reputation: 15
squidGuard on MDK 10.1


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.

Last edited by MeridianRebel; 03-30-2005 at 09:25 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
error: mail command failed for /var/log/squidguard/squidGuard.log.6 Niceman2005 Linux - Networking 1 01-22-2009 01:24 PM
squidguard metallica1973 Linux - Security 5 05-24-2005 09:24 AM
squidGuard on MDK 10.1 MeridianRebel Linux - Software 16 04-08-2005 09:18 PM
squidGuard hariiyer Linux - Networking 4 12-21-2004 02:29 AM
squidguard ? maxut Fedora 1 05-10-2004 04:12 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 11:10 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration