I am having a problem with squid Guard updating it's database......After adding to the blacklists I usually re-start squid and then run squid Guard with the debugger: bin]# ./squid Guard -d -c ../etc/squid after this squid Guard is ready to serve requests, but one of my debug lines is: destblock local missing active content, set inactive could this be why the sites that I bann can still be accessed?? update-squidguard This script performs a database rebuild for any blacklists listed in the default Squidguard config file `/etc/squid/squid Guard.conf'.

updating squidguard blacklist-64

You should now be able to use the proxy server from your web browser.

You will not be able to get anything blocked just yet, but you should get pages served if everything was set up correctly.

Start by installing Squid Guard using apt-get: # # CONFIG FILE FOR SQUIDGUARD # dbhome /var/lib/squidguard/db/blacklists logdir /var/log/squid dest ads { domainlist ads/domains urllist ads/urls } dest aggressive { domainlist aggressive/domains urllist aggressive/urls } Among the last lines, there is a URL to a page that gets served whenever there is blocked content.

You should change the URL to your own block page (unless your happy with my extremely sparse one in Swedish) . This may take a while to complete: You can change the URL to whatever you’d like to test for access or denial.

The IP address is the address of the computer you want to simulate as surfing the net from.

If you encounter any problems with permissions, you may try the following: sudo chown proxy:proxy /etc/squid/squid sudo chown -R proxy:proxy /var/lib/squidguard/db sudo chown -R proxy:proxy /var/log/squid/ chmod 644 /etc/squid/squid chmod -R 640 /var/lib/squidguard/db chmod -R 644 /var/log/squid/ find /var/lib/squidguard/db -type d -exec chmod 755 \{\} \; -print chmod 755 /var/log/squid There are more detailed trouble shooting available in the reference section.When everything is up and running, you may want to automate the update procedure. Together with a simple cron job and a shell script, the database of blacklisted sites is kept up to date.This article describes the process step-by-step of how to get up and running.I will be setting up the solution on an Ubuntu 9 server which conveniently has the necessary software available in its repositories.The setup should be very similar for other Linux environments, but you might have to compile the software from scratch. I did this in a previous post when I was looking at configuring a whitelist proxy.