LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Security (http://www.linuxquestions.org/questions/linux-security-4/)
-   -   squidguard (http://www.linuxquestions.org/questions/linux-security-4/squidguard-325200/)

metallica1973 05-19-2005 10:03 PM

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)

vijfita 05-21-2005 08:17 AM

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.

metallica1973 05-23-2005 10:55 AM

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?

ramram29 05-23-2005 04:33 PM

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.

vijfita 05-24-2005 12:57 AM

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.

metallica1973 05-24-2005 10:24 AM

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.


All times are GMT -5. The time now is 05:43 AM.