Sonora Communications, Inc.

  • Increase font size
  • Default font size
  • Decrease font size

DansGuardian Content Filter for SME 7 - BETA

E-mail Print PDF

Rather than a complete reference, this is a quick installation guide.  See the reference section for more info.

Reference

There is a more thorough howto here where most of this info came from. 

http://dansguardian.org/

http://contribs.org/viewtopic.php?t=34269

Installation

Add the Dungog repository, if not already enabled:

db yum_repositories set dungog repository \
 BaseURL http://sme.dungog.net/packages/smeserver/7.0/i386/dungog/ \
 EnableGroups yes \
 GPGCheck no \
 Name 'SME Server 7 - dungog' \
 Visible yes \
 status disabled

then: 

/sbin/e-smith/expand-template /etc/yum.conf

Install and start the software:

yum --enablerepo=dungog install dansguardian smeserver-dansguardian

/etc/init.d/dansguardian start

Configuring

You'll need to edit at least these two configuration files:

  • /etc/dansguardian/dansguardian.conf
  • /etc/dansguardian/dansguardianf1.conf

In dansguardian.conf, change at least:

accessdeniedaddress = 'http://YOURSERVER.YOURDOMAIN/cgi-bin/dansguardian.pl'

In dansguardianf1.conf, you may want to change at least:

naughtynesslimit = 160

Client Setup

Dansguardian uses port 8080 for web proxy requests. If your browser does not use port 8080 then Dansguardian filtering will be bypassed and therefore ineffective.

Manually configuring your browser to use port 8080

Go to your workstation and open your browser (eg. Internet Explorer).  Change the settings for Connections/LAN to use the server IP 192.168.1.2 (or whatever yours is).  Use a port of 8080 instead of the default 3128.

Make sure you disable Auto detect as this will allow the browser to bypass Dansguardian.

Users can easily change the setting in the browser to bypass Dansguardian filtering and gain access to blocked sites and inappropriate content. To overcome this possibility you need to change the SME Server proxy port as follows.

Configuring your sme server to use Proxy port 8080

By default the proxy server is on port 3128 To change this setting to port 8080 permanently, do the following:

To change the default Transparent proxy port on SME  Server 7:

db configuration setprop squid TransparentPort 8080

signal-event post-upgrade

signal-event reboot

Then configure your browser to either automatically detect the port or to use port 8080.

Last Updated on Sunday, 06 July 2008 18:27  

Your external IP

You are connecting to this site from: 38.107.179.242

Secure Client Login

Email Address:

Password: