Line 9
Link Here
|
9 |
Gentoo Samba3/CUPS/Clam AV HOWTO</title> |
9 |
Gentoo Samba3/CUPS/ClamAV HOWTO</title> |
10 |
-- |
|
|
Line 18
Link Here
|
18 |
<br><h1>Gentoo Samba3/CUPS/Clam AV HOWTO</h1> |
18 |
<br><h1>Gentoo Samba3/CUPS/ClamAV HOWTO</h1> |
19 |
-- |
|
|
Line 103
Link Here
|
103 |
<li>Install and configure CLAM-AV</li> |
103 |
<li>Install and configure ClamAV</li> |
104 |
-- |
|
|
Line 163
Link Here
|
163 |
kerberos mysql xml acl cups ldap pam readline python oav |
163 |
kerberos mysql xml acl cups ldap pam readline python oav libclamav |
164 |
-- |
|
|
Line 262
Link Here
|
|
|
262 |
<tr> |
263 |
<td class="infohead" bgcolor="#7a5ada"><b><b>libclamav</b></b></td> |
264 |
<td class="tableinfo" bgcolor="#ddddff"> |
265 |
Enable ClamAV as virus scanner. |
266 |
</td> |
267 |
</tr> |
Line 308
Link Here
|
|
|
314 |
<li>libclamav</li> |
Line 319
Link Here
|
319 |
# <span class="input">USE="oav readline cups pam -python -ldap -kerberos -xml -acl -mysql" emerge net-fs/samba</span> |
326 |
# <span class="input">USE="oav readline cups pam -python -ldap -kerberos -xml -acl -mysql libclamav" emerge net-fs/samba</span> |
320 |
-- |
|
|
Line 332
Link Here
|
332 |
<p class="secthead"><a name="doc_chap3_sect2">Emerging Clam AV</a></p> |
339 |
<p class="secthead"><a name="doc_chap3_sect2">Emerging ClamAV</a></p> |
333 |
-- |
|
|
Line 337
Link Here
|
337 |
used in this HOWTO is Clam AV. |
344 |
used in this HOWTO is ClamAV. |
338 |
-- |
|
|
Line 422
Link Here
|
422 |
<span class="comment"># For Samba 3.x</span> |
429 |
<span class="comment"># For Samba 3.x. This enables ClamAV on access scanning.</span> |
423 |
-- |
|
|
Lines 424-428
Link Here
|
424 |
vscan-clamav: config-file = /etc/samba/vscan-clamav.conf |
431 |
vscan-clamav: config-file = /etc/samba/vscan-oav.conf |
425 |
|
|
|
426 |
<span class="comment"># For Samba 2.2.x</span> |
427 |
vfs object = /usr/lib/samba/vfs/vscan-clamav.so |
428 |
vfs options = config-file = /etc/samba/vscan-clamav.conf |
429 |
-- |
Line 480
Link Here
|
|
|
483 |
<table class="ncontent" border="0" cellpadding="0" cellspacing="0" width="100%"><tbody><tr><td bgcolor="#ffbbbb"><p class="note"><b>Warning: </b> |
484 |
Turning on ClamAV on access scanning in the <span class="code">[global]</span> section will slow down |
485 |
the performance of your Samba Server dramatically. |
486 |
</p></td></tr></tbody></table> |
487 |
|
Line 541
Link Here
|
541 |
<p class="secthead"><a name="doc_chap4_sect2">Configuring Clam AV</a></p> |
549 |
<p class="secthead"><a name="doc_chap4_sect2">Configuring ClamAV</a></p> |
542 |
-- |
|
|
Line 608
Link Here
|
608 |
clamd socket name = /var/run/clamd |
616 |
clamd socket name = /tmp/clamd |
609 |
-- |
617 |
|
|
|
618 |
<span class="comment">; port number ScannerDaemon listens on</span> |
619 |
oav port = 8127 |
Line 614
Link Here
|
614 |
it to the <span class="emphasis">default</span> runlevel and then start the <span class="code">clamd</span> service immediately. |
625 |
it to the <span class="emphasis">default</span> runlevel and then start the <span class="code">clamd</span> service immediately. The service has two processes: freshclam keeps the virus definition database up to date and clamd which is the anti-virus daemon. Fist you may want to set the paths of the logfiles so that it fits your needs. |
615 |
-- |
|
|
Line 620
Link Here
|
|
|
631 |
# <span class="input">vim /etc/clamd.conf</span> # check the line "LogFile /var/log/clamd.log" |
632 |
# <span class="input">vim /etc/freshclam.conf</span> # check the line "UpdateLogFile /var/log/freshclam.log" |
633 |
# <span class="input">vim /etc/conf.d/clamd</span> # set "START_CLAMD=yes" and "START_FRESHCLAM=yes" |