LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-15-2011, 11:58 PM   #1
mascom.
LQ Newbie
 
Registered: Nov 2011
Posts: 1

Rep: Reputation: Disabled
Squid Working but Not Accepting Blacklist


configuration in SquidGuard.conf

logdir /var/log/squidGuard
dbhome /var/lib/squidGuard/db

src grownups {
ip 10.0.0.0/24 # range 10.0.0.0 - 10.0.0.255
# AND
user foo bar # ident foo or bar
}

src kids {
ip 10.0.0.0/22 # range 10.0.0.0 - 10.0.3.255
}dest blacklist {
domainlist blacklist/domains
urllist blacklist/urls
}

dest ads {
domainlist ads/domains
urllist ads/urls
}

dest adult {
domainlist adult/domains
urllist adult/urls
}

dest audio-video {
domainlist audio-video/domains
urllist audio-video/urls
}


acl {
default {
pass !blacklist !ads !adult !audio-video !chat !child
onlinegames !porn !sexuality !virusinfected all
redirect 302:http://example.com/
}



it was working fine before two days...
the site which i blocked now can open easily.. by any one.
i am not getting the issue please help me out.
 
Old 11-17-2011, 08:43 AM   #2
agentbuzz
Member
 
Registered: Oct 2010
Location: Texas
Distribution: Debian, Ubuntu, CentOS, RHEL
Posts: 131

Rep: Reputation: 25
squidguard

mascom,
Did you compile the blacklists and check the ownership of the files? From the squidguard site:
Code:
squidGuard -C all
chown -R <squiduser> /usr/local/squidGuard/db/*
You may have to do the recursive chown every time you drop in new blacklists and compile.
I have also had to stop both squid and squidguard and start them again to get it working.
You shouldn't have to; squidguard should just "see" the blacklists once they are compiled.
But I have had to do that.
 
  


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
iptables Question. ACCEPTing icmp isn't working Malaphus Linux - Security 6 10-06-2011 11:40 AM
howto create public blacklist for squid jasem200 Linux - Networking 2 05-28-2009 11:39 AM
Squid not accepting users from a VPN dial subnet ginda Linux - Server 3 05-24-2007 03:32 AM
nic working but not accepting incomming requests digitalgravy Linux - Networking 4 01-26-2004 06:42 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:42 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