nald
> However i got confuse on how to place the update of "squidguard blacklists".
What bit don't you understand (from the HOWTO) ?
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/*
Enabling logrotation
To enable the weekly rotation of dansguardian logs, do the following.
cd /etc/cron.weekly
more dansguardian
Add the following lines
# logrotation script for dansguardian
exec /etc/dansguardian/logrotation
Ctrl o
To save
Ctrl x
To exit