Online Learning Academy - LearnAcad.com

... Sharing Knowledge

  • Increase font size
  • Default font size
  • Decrease font size
Home
Content Filtering


How to install SquidGuard on CentOS

E-mail Print PDF

 How to install squidguard in centoss 5.5

first make it sure that your squid is running smooth and check the status of squid running

yum install squidguard

if you cant install squidguard then get that installer from dag rapo rpmforge.

This below is the link thruogh which we can add a dag repository.  

 

 

 

 then we are able to install the squidguard

 

then download shalla db that is BL

 

information  

shalla's Blacklists is a collection of URL lists grouped into several categories intended for the usage with URL filters like 

shallalist.tar.gz 

 

 

 

http://www.shallalist.de/

when you download the tar file of shalla.tar then you have to make a folder of squidguard in following location.

/var/lib/...............

here use the following command

mkdir squindguard

/var/lib/squidguard/....

 

tar –xvzf shallalist.tar.gz /var/lib/squidguard

 

after unzip you will see there is sub folder of BL and in BL there is aslo many thing to explore.

/var/lib/squidguard/BL/......

before make changing in squidguard.conf file we have to make a path where the logs are generated like

in

/var/log / .......

make the folder of squidguard like mkdir squidguard  

in /var/log/squindguard/ 

this above is the path where logs are generated.

squidguard.conf file.i am running squindguard with very simple configuration let look into.

**********************************************************************************

CONFIG FILE FOR SQUIDGUARD

 

#

dbhome /var/lib/squidguard/BL

 

logdir /var/log/squidguard/ 

 

 

 

 

dest porn {

domainlist /var/lib/squidguard/BL/porn/domains

urllist /var/lib/squidguard/BL/porn/urls

log /var/log/squidguard/porn.log

}

 

 

 

 

acl {

default {

pass !porn all

redirect http://mysitekashif/blocked.html

}

}

**********************************************

 

Compile that dbs following command is used 

squidguard -C all 

give permissions ie read.write execute

 

Chmod 750 -R /var/lib/squidguard/BL/
Chown squid. -R /var/liv/squidguard/BL/

 

give also permission to /var/log/squidguard

after that now make changes in squid.conf file.

This is my SQUID.conf file

#********important command************

redirect_program /usr/bin/squidGuard -c /etc/squid/squidguard.conf

acl our_networks src 203.175.75.0/24

http_access allow our_networks

**************************************************

 

run the script from this command

/usr/bin/squidguard

check squindguard is working or not .

tail -f /var/log/squidguard/squidGuard.log

2011-03-24 14:18:04 [5381] squidGuard ready for requests (1300958284.468) 

Note

after make changing in squid must restart the squid.

Now when ever some one access the porn sites it will be blocked and you can check the log in your log folder.

/var/log/squidguard/ there we enter the following command and get the result of log.

tail-f porn.log

 

 

one problem that i have faced that my squid is not redirect with my squidguard in that troubleshoot take many days and last by the help of my senior i get out from this problem that was in system,administration,security level and firewall there is SELinux setting is enforcing i disable that and

then my squind is rediret to my squindguard.

 

Thanks.for any help or any suggustion mail me

This e-mail address is being protected from spambots. You need JavaScript enabled to view it

Kashif shah

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

http://adityo.blog.binusian.org/?tag=add-rpmforge-and-dag-repository-on-centos

 

Last Updated on Saturday, 16 April 2011 09:12 Read more...
 

Howto install SquidGuard?

E-mail Print PDF

I assume you have installed Squid and is running smothly.

Yum install squidguard

cd /var/lib/squidguard/

wget http://www.shallalist.de/Downloads/shallalist.tar.gz

tar –xvzf shallalist.tar.gz

vi /etc/squid/squidguard.conf

and change it as under

Last Updated on Friday, 28 January 2011 13:14 Read more...
 

SquidGuard, My Favorite Content Filter

E-mail Print PDF

squidGuardIntroduction

squidGuard is a combined filter, redirector and access controller plugin for Squid. It is

  • free (GPLv2)
  • very flexible 
  • extremely fast *)
  • easily installed
  • portable
squidGuard can be used to
  • limit the web access for some users to a list of accepted/well known web servers and/or URLs only.
  • block access to some listed or blacklisted web servers and/or URLs for some users. **)
  • block access to URLs matching a list of regular expressions or words for some users. **)
  • enforce the use of domainnames/prohibit the use of IP address in URLs. **)
  • redirect blocked URLs to an "intelligent" CGI based info page. **)
  • redirect unregistered user to a registration form.
  • redirect popular downloads like Netscape, MSIE etc. to local copies.
  • redirect banners to an empty GIF. **)
Read more...
 

Protect Your Kids Online Using Open DNS

E-mail Print PDF

opendns_logo1

This week I have been covering tools to use within Windows Vista to help keep your kids safe using the PC and while being online.  This article will apply will show how to use Open DNS with any Operating System to help filter undesirable web content.  Simply put DNS (Domain Name System) translates IP address to an easy to remember hostname.  For example if you were to type “216.239.51.99” without the quotes into your web browser you will be directed to google.com.

I wrote up an article previously that basically introduces you to Open DNS and how to add it to your router.  Here we will look a bit deeper into it and show you how to best use it to your advantage.  There is a lot of web content filtering possibilities which include specific sites, specific content, and adult website filtering.

Last Updated on Thursday, 16 December 2010 16:52 Read more...
 


Follow us on Twitter

Main Menu

Linux

Islam

Windows

Interview Questions

Database

Internet

Cisco

Entertainment

Networking

Graduate Courses

Psychology

Feed Burner

Subscribe to Welcome to Online Learning Academy by Email

Enter your email address:

Delivered by FeedBurner


Google Groups
Subscribe to LearnAcad
Email:
Visit this group

Login Form