21
21
<LINK REL="next" HREF="node31.html">
22
22
<LINK REL="previous" HREF="node29.html">
23
<LINK REL="up" HREF="node27.html">
23
<LINK REL="up" HREF="node28.html">
24
24
<LINK REL="next" HREF="node31.html">
29
29
<DIV CLASS="navigation"><!--Navigation Panel-->
31
31
HREF="node31.html">
32
32
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next.png"></A>
35
35
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up.png"></A>
37
37
HREF="node29.html">
38
38
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="prev.png"></A>
41
41
<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="contents.png"></A>
43
<B> Next:</B> <A NAME="tex2html591"
44
HREF="node31.html">Output format</A>
45
<B> Up:</B> <A NAME="tex2html587"
46
HREF="node27.html">Usage</A>
47
<B> Previous:</B> <A NAME="tex2html581"
48
HREF="node29.html">Clamdscan</A>
49
<B> <A NAME="tex2html589"
43
<B> Next:</B> <A NAME="tex2html608"
44
HREF="node31.html">On-access Scanning</A>
45
<B> Up:</B> <A NAME="tex2html604"
46
HREF="node28.html">Usage</A>
47
<B> Previous:</B> <A NAME="tex2html598"
48
HREF="node29.html">Clam daemon</A>
49
<B> <A NAME="tex2html606"
50
50
HREF="node1.html">Contents</A></B>
53
53
<!--End of Navigation Panel-->
55
<H2><A NAME="SECTION00063000000000000000"></A><A NAME="clamuko"></A>
55
<H2><A NAME="SECTION00062000000000000000">
56
Clam<SPAN CLASS="textbf">d</SPAN>scan</A>
59
Clamuko is a special thread in <code>clamd</code> that performs on-access
60
scanning under Linux and FreeBSD and shares internal virus database
61
with the daemon. <SPAN CLASS="textbf">You must follow some important rules when
58
<code>clamdscan</code> is a simple <code>clamd</code> client. In many cases you can
59
use it as a <code>clamscan</code> replacement however you must remember that:
65
<LI>Always stop the daemon cleanly - using the SHUTDOWN command or
68
SIGTERM signal. In other case you can lose access
69
to protected files until the system is restarted.
71
<LI>Never protect the directory your mail-scanner software
72
uses for attachment unpacking. Access to all infected
73
files will be automatically blocked and the scanner (including
74
<code>clamd</code>!) will not be able to detect any viruses. In the
75
result <SPAN CLASS="textbf">all infected mails may be delivered.</SPAN>
62
<LI>it only depends on <code>clamd</code>
64
<LI>although it accepts the same command line options as
65
<code>clamscan</code> most of them are ignored because they must be
66
enabled directly in <code>clamd</code>, i.e. <code>clamd.conf</code>
68
<LI>in TCP mode scanned files must be accessible for <code>clamd</code>,
69
if you enabled LocalSocket in clamd.conf then clamdscan will
70
try to workaround this limitation by using FILDES
79
For example, to protect the whole system add the following lines to
80
<code>clamd.conf</code>:
84
ClamukoExcludePath /proc
85
ClamukoExcludePath /temporary/dir/of/your/mail/scanning/software
87
You can also use clamuko to protect files on Samba/Netatalk but a far
88
more better and safe idea is to use the <SPAN CLASS="textbf">samba-vscan</SPAN> module.
89
NFS is not supported because Dazuko doesn't intercept NFS access calls.