Difference between revisions of "SquidGuard"

From SME Server
Jump to navigationJump to search
(jbennett squidguard package info added)
(added --enablerepo=dag to get dependencies)
Line 10: Line 10:
 
cd to the folder on your sme server where smeserver-squidguard is located and do
 
cd to the folder on your sme server where smeserver-squidguard is located and do
  
  yum localinstall smeserver-squidguard*.rpm
+
  yum localinstall smeserver-squidguard*.rpm --enablerepo=dag
  
That should install the correct package and any dependency rpms it requires.
+
That should install the correct package and any dependency rpms it requires. You must have the dag repository configured on your sme server (with status=disabled).
  
 
Then use the server manager panel to control it all. There is a DB command to configure the blacklist.
 
Then use the server manager panel to control it all. There is a DB command to configure the blacklist.
Line 40: Line 40:
  
 
http://forums.contribs.org/index.php?topic=36217.msg160088#msg160088
 
http://forums.contribs.org/index.php?topic=36217.msg160088#msg160088
 
 
  
 
====Previous version package information====
 
====Previous version package information====

Revision as of 14:38, 10 May 2008

SquidGuard

smeserver packaged version

J Bennett has packaged squidguard into a sme server compatible application.

Download smeserver-squidguard-1.0-22.noarch.rpm to a folder on your sme server

wget http://smemirror.fullnet.co.uk/contribs/jbennett/sme7/squidguard/RPMS/smeserver-squidguard-1.0-22.noarch.rpm 

cd to the folder on your sme server where smeserver-squidguard is located and do

yum localinstall smeserver-squidguard*.rpm --enablerepo=dag

That should install the correct package and any dependency rpms it requires. You must have the dag repository configured on your sme server (with status=disabled).

Then use the server manager panel to control it all. There is a DB command to configure the blacklist. The default blacklist location is ftp://ftp.teledanmark.no/pub/www/proxy/squidGuard/contrib/blacklists.tar.gz

If you wish to change the default blacklist to something else do (for example)

config show squidguard
config setprop squidguard Blacklist http://squidguard.shalla.de/Downloads/shallalist.tar.gz

The supdate script will convert the lists to *.db files which load a lot faster when stopping and starting squidguard.

Use the content filtering panel in server-manager, to add entries. You have trusted and untrusted (domains, urls, expressions). Add your entries, then restart squid with

/etc/rc7.d/S90squid stop
/etc/rc7.d/S90squid start

You will know when things are ready when you see this in the /var/log/squidguard/squidguard.log file:

2007-03-18 17:14:54 [3687] squidGuard 1.2.0 started (1174256093.054)

2007-03-18 17:14:54 [3687] squidGuard ready for requests (1174256094.968)


See advice of mrjhb3 here:

http://forums.contribs.org/index.php?topic=36217.msg160088#msg160088

Previous version package information

Information about a previous version of squidguard is here:

URL redirector used to use blacklists with the proxysoftware Squid.

Mini Howto: http://forums.contribs.org/index.php?topic=34337.msg151745#msg151745


References

Squidguard Homepage: http://www.squidguard.org/