Linux - SecurityThis forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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).
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?
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.
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 ..
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.