LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 05-19-2005, 09:03 PM   #1
metallica1973
Senior Member
 
Registered: Feb 2003
Location: Washington D.C
Posts: 2,190

Rep: Reputation: 60
squidguard


I run Suse 9.0. I have configured squid and it work fine. I have now setup squidguard. I went to website and downloaded the latest blacklist. My question is such:

I want to block all the websites from my kids except for the websites that I allow that are ok and for the all the adults allow all. I was reading the documentation and they have examples of how to block certain sites. I want to specifically block every website but only allow the websites that I think are ok. Can someone help. The squidguard website really needs to be updated. It seems a bit old! (just my thought)

Last edited by metallica1973; 05-19-2005 at 09:05 PM.
 
Old 05-21-2005, 07:17 AM   #2
vijfita
LQ Newbie
 
Registered: May 2005
Distribution: Redhat 9.0
Posts: 24

Rep: Reputation: 15
Hi,

You may have reasons to choose squidguard for filtering, but then I feel that squid by itself has some powerful features, and they can be put to use according to your needs .....


Try considering your decision between squidguard and squid, and if you think the latter is sufficient, you are just one or two lines away from achieving it ......you have all the help in commented form in the the config file itself (squid.conf).


Regards.
 
Old 05-23-2005, 09:55 AM   #3
metallica1973
Senior Member
 
Registered: Feb 2003
Location: Washington D.C
Posts: 2,190

Original Poster
Rep: Reputation: 60
thanks for the advice. From what I have been reading squidgaurd help as far as filtering certain type of websites but what I want is to block all wesites and allow only certain IP address the sites that I want them to go to. Can I accomplish this by using just squid and or squidguard?
 
Old 05-23-2005, 03:33 PM   #4
ramram29
Member
 
Registered: Jul 2003
Location: Miami, Florida, USA
Distribution: Debian
Posts: 848
Blog Entries: 1

Rep: Reputation: 47
Are you using Windows or Linux workstations?
-I would recommend to use static IP addresses for your kids' workstation.
-Give them usernames and password without Admin permission so that they can't change the IP address.
-Create an ACL in /etc/squid.conf for their IP address, as:
acl kids src 192.168.1.10/24
-Create the text file /etc/squid/kidsallow.txt and populate it with the addresses you want them to visit only. For example:
.disney.com
.nick.com

-Add the the following line in /etc/squid/squid.conf:
http_access allow kids kidsallow.txt
-Restart squid and test.

I'd rather prefer squidguard because with the above example you'll get an error if they try to visit any page not in the list; with squidguard you can redirect them to another page.
 
Old 05-23-2005, 11:57 PM   #5
vijfita
LQ Newbie
 
Registered: May 2005
Distribution: Redhat 9.0
Posts: 24

Rep: Reputation: 15
Hi,

Ramram made all the points ...go by it, add a few acl (access control lists)s and allow only certain sites ..

In addition, you can also do some regular expression filtering with squid ...that can be achieved from the "regex" keyword in the squid.conf file ....this can be an additonal measure ..

All the best !!

Regards.
 
Old 05-24-2005, 09:24 AM   #6
metallica1973
Senior Member
 
Registered: Feb 2003
Location: Washington D.C
Posts: 2,190

Original Poster
Rep: Reputation: 60
that super but I can I accomplish the samething with squidguard. WHat I mean by that is can I create a kidsallow.txt file for squidgaurd and have it redirect to my intranet site when they try and access a forbidden website? Please post an example entry for squidguard.
 
  


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 is not blocking anything vivekthemind Linux - Networking 2 12-05-2005 10:45 PM
Squidguard sanjibgupta Linux - Security 1 09-26-2005 01:47 AM
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 08:39 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