Changes

From SME Server
Jump to navigationJump to search
901 bytes added ,  21:01, 24 April 2018
no edit summary
Line 1: Line 1: −
[[Category:Contrib]]
+
{{Level|Easy}}
 +
 
 +
=== Version ===
 +
{{ #smeversion: smeserver-dansguardian-stats}}
 +
 
    
==Maintainer==
 
==Maintainer==
This contrib has been developed by [[User:Knuddi|Jesper Knudsen]]  
+
This contrib has been developed by [[User:Knuddi|Jesper Knudsen]] from [http://smeoptimizer.swerts-knudsen.dk SME Optimizer]
    
==Description==
 
==Description==
Line 20: Line 24:  
==Installation==
 
==Installation==
   −
  wget http://distro.ibiblio.org/pub/linux/distributions/smeserver/contribs/swerts-knudsen/SME7/Dansguardian-stats/smeserver-dansguardian-stats-1.0.2-1.noarch.rpm
+
  yum install --enablerepo=smecontribs smeserver-dansguardian smeserver-dansguardian-stats
  yum localinstall smeserver-dansguardian-stats-1.0.2-1.noarch.rpm
+
  signal-event dansguardian-save
 +
 
   −
====De-installation or de-activation====
+
When installed, the web interface is is accessible form ( you need to wait for cron script to run):
You can simply remove the package again with the usual rpm command.
     −
rpm –e smeserver-dansguardian-stats-1.0.2-1
+
http://your.domain.com/dansguardian
   −
or disable the functionality with (default: yes):
+
====Upgrade====
 +
yum upgrade --enablerepo=smecontribs smeserver-dansguardian smeserver-dansguardian-stats
 +
signal-event dansguardian-save
 +
 
 +
 
 +
====Uninstall====
 +
You can simply remove the package again with the usual yum command.
 +
 
 +
yum remove smeserver-dansguardian-stats
   −
/sbin/e-smith/db configuration setprop dansguardian webstats no
   
==Configuration==
 
==Configuration==
The package requires that the logfileformat for dansguardian is set to format 4 (in /etc/dansguardian/dansguardian.conf).  
+
 
 +
====Dansguardian Log file Format====
 +
The package requires that the logfileformat for dansguardian is set to format 4 (in /etc/dansguardian/dansguardian.conf). You have to edit the file. If you have smeserver-dansguardian-panel installed, you can set this in the server-manager.
    
  # Log File Format
 
  # Log File Format
Line 47: Line 60:  
  /etc/init.d/dansguardian start
 
  /etc/init.d/dansguardian start
   −
When installed, the web interface is is accessible form:
+
====Dansguardian Anti-virus filtering====
 +
For the scanned and infected graph to display you will have to activate dansguardian clamscan plugin, see https://wiki.contribs.org/Dansguardian#ClamAV_support
 +
 
 +
 
 +
====Unofficial ClamAV signatures====
 +
I would also recommend to install the script that downloads all the unofficial ClamAV signatures as these detects not only virus but equally importantly various kinds of malware and spam.
 +
 
 +
Follow the guide on [[Virus:Additional Signatures]] to do that.
   −
http://your.domain.com/dansguardian
     −
This dansguardian statistics web page can, by default, only be seen from the local network (IP ranges defined in Local Network in the server-manager) but if you want this to be accessible from remote networks (public access) this can be done via (default: yes):
+
====db configuration====
   −
  /sbin/e-smith/db configuration setprop dansguardian LocalOnly <no|yes>
+
  config setprop dansguardian \
  expand-template /etc/httpd/conf/httpd.conf
+
# webstats <YES|NO> # by default (YES), gather and display webstat
/etc/rc.d/init.d/httpd-e-smith restart
+
# localonly <YES|NO> # by default (YES), only be seen from the local network (IP ranges defined in Local Network in the server-manager) , set to NO to see from outside
 +
# statsclient <disabled|enabled> # default is enabled. See [[Dansguardian-stats#External Statistics]]
   −
====Unofficial ClamAV signatures====
+
then
I would also recommend to install the script that downloads all the unofficial ClamAV signatures as these detects not only virus but equally importantly various kinds of malware and spam.
+
signal event dansguardian-save
   −
Follow the guide on http://wiki.contribs.org/Email#Anti_Virus to do that.
     −
==Statistics==
+
==External Statistics==
    
An additional feature of the Dansguardian statistics is to send the collected statistics to a central statistics central at http://central.swerts-knudsen.dk. The gathering of data is not stressful for the server and the data sent is not sensitive (well in my opinion) and consists of:
 
An additional feature of the Dansguardian statistics is to send the collected statistics to a central statistics central at http://central.swerts-knudsen.dk. The gathering of data is not stressful for the server and the data sent is not sensitive (well in my opinion) and consists of:
Line 76: Line 95:  
  /sbin/e-smith/db configuration setprop dansguardian statsclient <disabled|enabled>
 
  /sbin/e-smith/db configuration setprop dansguardian statsclient <disabled|enabled>
   −
==How do I report a problem or a suggestion?==
+
==Bugs==
This contrib has not yet been created in the bugtracker so just send an email to mailto:contribs@swerts-knudsen.dk. Please make sure to be ready to provide your dansguardian log file (/var/log/dansguardian/access.log)
+
This contrib has been created in the bugtracker so just raise a bug by following {{BugzillaFileBug|product=SME%20Contribs|component=smeserver-dansguardian-stats|title=this link}}. Please make sure to be ready to provide your dansguardian log file (/var/log/dansguardian/access.log)
 +
 
 +
{{#bugzilla:columns=id,product,version,status,summary |sort=id |order=desc |disablecache=1 |component=smeserver-dansguardian-stats|noresultsmessage="No open bugs found."}}
 +
 
 +
===Changelog===
 +
Only versions released in smecontrib are listed here.
 +
 
 +
{{ #smechangelog: smeserver-dansguardian-stats}}
 +
 
 +
----
 +
[[Category:Contrib]]
 +
[[Category:Administration:Monitoring]]
 +
[[Category:Administration:Content Spam Virus Blocking]]
 +
[[Category:Contrib:webfiltering]]
Super Admin, Wiki & Docs Team, Bureaucrats, Interface administrators, Administrators
3,239

edits

Navigation menu