Koozali.org: home of the SME Server

blacklist updates for dansguardian

Offline elgoth2003

  • **
  • 23
  • +0/-0
    • Lafayette Data Systems, LLC.
blacklist updates for dansguardian
« on: September 14, 2007, 08:33:07 PM »
Hey all! I recently bought the downloads to www.urlblacklist.com but i was wondering how I would specify the cron job to update the dansguardian blacklists.
Thanks in advance!!

Offline raem

  • *
  • 3,972
  • +4/-0
Re: blacklist updates for dansguardian
« Reply #1 on: September 15, 2007, 09:03:21 AM »
....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/*
...