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 224: |
Line 231: |
| You may also want to tailor the html template for the error message displayed when Dansguardian blocks a site, see | | You may also want to tailor the html template for the error message displayed when Dansguardian blocks a site, see |
| /etc/dansguardian/languages/(languagename)/template.html | | /etc/dansguardian/languages/(languagename)/template.html |
− | eg
| + | or in some newer versions |
| + | /usr/share/dansguardian/languages/(languagename)/template.html |
| + | |
| + | e.g. |
| pico -w /etc/dansguardian/languages/ukenglish/template.html | | pico -w /etc/dansguardian/languages/ukenglish/template.html |
| After you make any changes to the template.html you will need to run the command, | | After you make any changes to the template.html you will need to run the command, |
Line 433: |
Line 443: |
| | | |
| DansGuardian should block the download! | | DansGuardian should block the download! |
| + | |
| + | =====ClamAV & Dansguardian on SME 9+===== |
| + | The path to clamd.socket changed with SME 9, and [https://forums.contribs.org/index.php/topic,52519.msg269937.html#msg269937 users report] file access rights issues between dansguardian and clamav. |
| + | |
| + | After installing DansGuardian and completing the clamav setup instructions above, there are 3 extra steps to take on SME9: |
| + | |
| + | 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: |
| + | clamdudsfile = '/var/clamav/clamd.socket' |
| + | |
| + | 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> |
| + | ** uncomment 'daemonuser' and 'daemongroup' |
| + | ** set 'daemonuser' to 'clamav': |
| + | daemonuser = 'clamav' |
| + | daemongroup = 'dansguardian |
| + | |
| + | 3. Correct the ownership on existing files and folders that belong to the original dansguardian user account. |
| + | * Execute the commands below |
| + | chown clamav /var/log/dansguardian/access.log |
| + | 'rm' -rf /tmp/.dguardianipc |
| + | 'rm' -rf /tmp/.dguardianurlipc |
| + | |
| + | |
| + | Restart dansguardian and test |
| + | /etc/init.d/dansguardian restart |
| | | |
| ====Other Dansguardian Config Files==== | | ====Other Dansguardian Config Files==== |
Line 513: |
Line 549: |
| === Bugs === | | === Bugs === |
| Please raise bugs under the SME-Contribs section in {{BugzillaFileBug|product=|component=|title=bugzilla}}and select the smeserver-dansguardian component or use {{BugzillaFileBug|product=SME%20Contribs|component=smeserver-dansguardian|title=this link}}. | | Please raise bugs under the SME-Contribs section in {{BugzillaFileBug|product=|component=|title=bugzilla}}and select the smeserver-dansguardian component or use {{BugzillaFileBug|product=SME%20Contribs|component=smeserver-dansguardian|title=this link}}. |
| + | |
| + | {{#bugzilla:columns=id,product,version,status,summary |sort=id |order=desc |component=smeserver-dansguardian|noresultsmessage="No open bugs found."}} |
| + | |
| + | |
| + | ===Changelog=== |
| + | Only versions released in smecontrib are listed here. |
| + | |
| + | {{ #smechangelog: smeserver-dansguardian}} |
| + | |
| | | |
| | | |
Line 520: |
Line 565: |
| [[Category:Administration:Content Spam Virus Blocking]] | | [[Category:Administration:Content Spam Virus Blocking]] |
| [[Category:Security]] | | [[Category:Security]] |
| + | [[Category:Contrib:webfiltering]] |