Revision of DansGuardian from Fri, 04/09/2010 - 12:41

Revisions allow you to track differences between multiple versions of your content, and revert back to older versions.

DansGuardian is an award winning Open Source web content filter which currently runs on Linux, FreeBSD, OpenBSD, NetBSD, Mac OS X, HP-UX, and Solaris. It filters the actual content of pages based on many methods including phrase matching, PICS filtering and URL filtering.

Installation
Install the necessary PCRE libraries:

yum install pcre-devel

Download the latest version of DansGuardian:

cd /extra/src
wget http://usmirror.dansguardian.org/downloads/2/Stable/dansguardian-2.10.1.1.tar.gz
tar zxf dansguardian-2.10.1.1.tar.gz
cd dansguardian-2.10.1.1

Configure it:

./configure
make
make install

Change the ownership on the log file directory:

chown nobody:nobody /usr/local/var/log/dansguardian

To test it out, you can run it directly from the shell:

dansguardian

Redirect your web traffic to port 8080 of the Squid/Dansguardian machine and watch /usr/local/var/log/dansguardian/access.log for activity.

Blacklists

cd /usr/local/etc/dansguardian/lists/blacklists

Blacklist files can be downloaded from a variety of sources:

  • Malware Patrol
  • URLBlacklist.com
  • Shalla's Blacklists
    cd /extra/src
    wget http://www.shallalist.de/Downloads/shallalist.tar.gz
    tar zxf shallalist.tar.gz
    cd BL

    Copy which blacklists you want from /extra/src/BL to /usr/local/etc/dansguardian/lists/blacklists

Edit /usr/local/etc/dansguardian/lists/bannedurllist and /usr/local/etc/dansguardian/lists/bannedsitelist to add the lists you want used. There are examples in those files.
Restart DansGuardian:

dansguardian -g

Automatic Startup

Recent Updates

  • 1 year 2 weeks ago
    1.27.2 update
  • 1 year 1 month ago
    Drupal 10/11 config
  • 1 year 1 month ago
  • PHP
    1 year 1 month ago
    PHP 8.3.11 and AlmaLinux
  • 1 year 1 month ago
    New version of Pound
Error | Production Monkeys

Error

The website encountered an unexpected error. Please try again later.