Feb 082011

Dansguardian With the article regarding Doudou Linux i’ve discovered this software to filter content of Web Pages: Dans Guardian.

Doudou linux uses it to filter “naughty content” for childrens, but the potential of this software are many, for example it can remove advertising or check for viruses.

From their Wikipedia page:

DansGuardian, written by SmoothWall Ltd and others, is content-control software: software designed to control which websites users can access. It also includes virus filtering and usage monitoring features.


Virus filtering
DansGuardian can use ClamAV to scan for, and block, viruses, in the files that users download.

Usage monitoring
DansGuardian saves log files showing who has visited which webpage. These files can be reviewed manually or with the help of log analysis software.

Open source
DansGuardian is one of the few widely used content control systems that makes its source code available, thus avoiding some of the criticisms associated with content control system proxies being “black box” systems.

For a complete list of all the features check the official site

Setup in 90 seconds

Quick guide to setup DansGuardin with standard options for Ubuntu & Debian (tested on my Ubuntu 10.10):

sudo aptitude install squid dansguardian
sudo vi /etc/dansguardian/dansguardian.conf

Comment or remove line 5: UNCONFIGURED – Please remove this line after configuration

sudo /etc/init.d/dansguardian start

In your browser set proxy for http and https to IP and port 8080.

You are done, try to browse some site or youtube, you should see some difference, just remember that this is a quick and dirty setup probably you’ll get also some valid content blocked as Spam or pornographic.

Antivirus in 15 second

On Ubuntu, clamav is also installed as a dependency to activate the check of virus edit the file /etc/dansguardian/dansguardian.conf and uncomment the line:

#contentscanner = '/etc/dansguardian/contentscanners/clamav.conf'

And give a restart to DansGuardian to activate it

sudo /etc/init.d/dansguardian start

DansGuardian Official site
DansGuardian Content Filtering with AD Integration
Transparent Proxy as Adblock using Tinyproxy and Dansguardian

Popular Posts:

Flattr this!

  One Response to “DansGuardian OS content-control”

  1. Chiunque tu sia… ti amo!!! è un filtro fantastico, proprio quello che cercavo!!!
    Funziona veramente bene!

 Leave a Reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>