[K12OSN] Enabling Dansguardian on Beta 5

Eric Harrison eharrison at mail.mesd.k12.or.us
Sun May 7 17:19:07 UTC 2006


On Sun, 7 May 2006, Eric Harrison wrote:

> On Sun, 7 May 2006 dackerman at apnts.org wrote:
>
>> In addition to my earlier question about bandwidth, I have been searching 
>> the
>> internet for hours with no clear answers about the following.  How can I 
>> enable
>> Dansguardian and Squidguard on 5.0 beta 5?

Keep in mind this is all in beta, it may not work as advertised ;-)

I added a new DansGuardian package to the 5.0 beta repositories, you
can install it with:

 	yum install DansGuardian


Once installed, make sure you have squid and dansguardian turned on and
running:

 	/sbin/service squid restart
     /sbin/service dansguardian restart
     /sbin/chkconfig squid on
     /sbin/chkconfig dansguardian on

There is a new service, transparent-proxying-dg, that does the transparent
proxying magic for Dans Guardian:

 	/sbin/serivce transparent-proxying-dg start
     /sbin/chkconfig transparent-proxying-dg on

This version of DansGuardian also uses the squidGuard blacklists and 
automatically updates itself from the K12LTSP blacklists every night.

The blacklists for DansGuardian are in /var/blacklists/ This is 
kept seperate from the squidGuard blacklists (/var/squidGuard/blacklists)
because DansGuardian needs the lists to be randomly sorted. You can add
sites to block/unblock by editing /var/blacklists/local-block/* and
/var/blacklists/local-ok/* and running /etc/cron.daily/dansguardian

If you run into difficulties, especially getting transparent proxying
to work, be sure to read the K12LTSP wiki page on integrating a web
filter into your network:

http://www.k12ltsp.org/phpwiki/index.php/WebFiltering%3AIntegration

-Eric




More information about the K12OSN mailing list