LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-31-2007, 06:37 AM   #1
pmasineni
LQ Newbie
 
Registered: May 2006
Posts: 2

Rep: Reputation: 0
Need Help in SquidGUard Config


Hi,

I am a bit new in using Linux. I am not able to configure squidguard to open access to some of the sites i blocked through squidguard.

for me every thing is working, i am able to block the sites, but i am not able to do the following

1> when would like to open the sites which i had blocked through squidguard for 1 hr every day, rest of the time it should be blocked.

2> am not able to view any details in blocked log directory.



Would be glad if some one help me out with this config.

my squid config isd as below

# Squid Guard Config File
#-----------------------------------
logdir /var/log/squidGuard
dbhome /var/lib/squidGuard/db

# Time periods
time businesshours
{
weekly * 00:00-23:59
}

time breakhours
{
weekly mtwhfas 14:00 - 17:00
}

# User Groups
src employees
{
userlist /var/lib/squidGuard/db/employees.txt
}

destination whitelist {
domainlist whitelist/domains
}
dest blacklist {
domainlist blacklist/domains
urllist blacklist/urls
log /var/log/squidGuard/blocked.log
}
dest porn {
domainlist porn/domains
urllist porn/urls
# expressionlist blacklist/porn/expressions
}
dest dating {
domainlist dating/domains
urllist dating/urls
expressionlist blacklist/expressions
log /var/log/squidGuard/blocked.log
}
dest music {
domainlist music/domains
urllist music/urls
log /var/log/squidGuard/blocked.log
}
dest movies {
domainlist movies/domains
urllist movies/urls
}
dest news {
domainlist news/domains
urllist news/urls
log newsaccesses
}

# Access Control
acl
{
# During Business hours
# Stop the embarassing stuff and speed up the connection
employees within businesshours
{
pass !blacklist !porn !dating !music !news !in-addr all
}
else
{
pass all
}

# During family hours
# Stop the embarassing stuff and speed up the connection
employees within breakhours
{
pass whitelist !blacklist !porn all
}
else
{
pass !blacklist !porn !dating !music !news !in-addr all
}

default
{
pass none
redirect http://www.test.com
}
}



Kindly advise me on the same.

Thanks and Regards,
Praveen
 
Old 07-31-2007, 03:53 PM   #2
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
Moved: This thread is more suitable in Linux-Software and has been moved accordingly to help your thread/question get the exposure it deserves.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 sanjibgupta Linux - Security 1 09-26-2005 01:47 AM
squidguard metallica1973 Linux - Security 5 05-24-2005 09:24 AM
cron.daily reporting a squidGuard config problem kalahari875 Mandriva 3 10-03-2004 11:14 AM
squidguard ? maxut Fedora 1 05-10-2004 04:12 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:20 AM.

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