Changes

Jump to navigation Jump to search
354 bytes added ,  10:46, 19 September 2023
no edit summary
Line 2: Line 2:  
== Dansguardian web content filtering ==
 
== Dansguardian web content filtering ==
 
{{Level|Medium}}
 
{{Level|Medium}}
 +
 +
{{Warning box| Dansguardian is deprecated and not available on Koozali SME v10.
 +
There is a fork called e2guardian http://e2guardian.org/cms/index.php and https://github.com/e2guardian }}
    
=== Version ===
 
=== Version ===
 
{{ #smeversion: dansguardian}}
 
{{ #smeversion: dansguardian}}
 
{{ #smeversion: smeserver-dansguardian}}
 
{{ #smeversion: smeserver-dansguardian}}
 +
 +
Also see:
 +
https://wiki.koozali.org/index.php?title=Dansguardian-panel
 +
{{ #smeversion: smeserver-dansguardian-panel}}
    
=== Description ===
 
=== Description ===
Line 442: Line 449:  
After installing DansGuardian and completing the clamav setup instructions above, there are 3 extra steps to take on SME9:
 
After installing DansGuardian and completing the clamav setup instructions above, there are 3 extra steps to take on SME9:
   −
The path to clamd.socket must match the path given in /etc/clamd.conf
+
1. The path to clamd.socket must match the path given in /etc/clamd.conf
 
* edit <span style="color:blue;">/etc/dansguardian/contentscanners/clamdscan.conf</span> and set clamdudsfile to:
 
* edit <span style="color:blue;">/etc/dansguardian/contentscanners/clamdscan.conf</span> and set clamdudsfile to:
 
   clamdudsfile = '/var/clamav/clamd.socket'
 
   clamdudsfile = '/var/clamav/clamd.socket'
   −
Dansguardian and Clamav must run as the same user for clamav scanning to work.  Set Dansguardian to run as 'clamav' as follows:
+
2. Dansguardian and Clamav must run as the same user for clamav scanning to work.  Set Dansguardian to run as 'clamav' as follows:
 
* edit <span style="color:blue;">/etc/dansguardian/dansguardian.conf</span>
 
* edit <span style="color:blue;">/etc/dansguardian/dansguardian.conf</span>
 
** uncomment 'daemonuser' and 'daemongroup'
 
** uncomment 'daemonuser' and 'daemongroup'
Line 453: Line 460:  
   daemongroup = 'dansguardian
 
   daemongroup = 'dansguardian
   −
Correct the ownership on existing files and folders that belong to the original dansguardian user account.
+
3. Correct the ownership on existing files and folders that belong to the original dansguardian user account.
 
* Execute the commands below
 
* Execute the commands below
 
   chown clamav /var/log/dansguardian/access.log
 
   chown clamav /var/log/dansguardian/access.log
 
   'rm' -rf /tmp/.dguardianipc
 
   'rm' -rf /tmp/.dguardianipc
   'rm' -rf /dguardianurlipc
+
   'rm' -rf /tmp/.dguardianurlipc
      Line 558: Line 565:  
[[Category:Administration:Content Spam Virus Blocking]]
 
[[Category:Administration:Content Spam Virus Blocking]]
 
[[Category:Security]]
 
[[Category:Security]]
 +
[[Category:Contrib:webfiltering]]

Navigation menu