Koozali.org: home of the SME Server
Obsolete Releases => SME 7.x Contribs => Topic started by: elgoth2003 on September 14, 2007, 08:33:07 PM
-
Hey all! I recently bought the downloads to www.urlblacklist.com (http://www.urlblacklist.com) but i was wondering how I would specify the cron job to update the dansguardian blacklists.
Thanks in advance!!
-
....I was wondering how I would specify the cron job to update the dansguardian blacklists
Refer to the old Dansguardian Howto at
http://distro.ibiblio.org/pub/linux/distributions/smeserver/contribs/rmitchell/smeserver/howto/deprecated/sme6/dansguardian%20instal%20&%20configure%20HOWTO%20for%20sme%20server.htm
which says:
Using squidguard blocking rules
If you wish to make dansguardian use squidguard blocking rules & have them updated weekly then ad the following to the /etc/cron.weekly/dansguardian file mentioned above
Please check the location of the blacklists is still current, if necessary search Google on "squidGuard blacklists" to find a current location.
cd /etc/dansguardian
rm -r blacklists.tar.gz
wget -qnv http://ftp.teledanmark.no/pub/www/proxy/squidGuard/contrib/blacklists.tar.gz -O blacklists.tar.gz
tar -zxf blacklists.tar.gz
chown -R root.root blacklists
chmod -R 640 blacklists
find blacklists -name new\* -exec rm {} \;
rm blacklists/README
chmod ug+x blacklists
chmod ug+x blacklists/*