clamav/clamav-devel/docs/html/node21.html

138 lines
4.8 KiB
HTML
Raw Normal View History

2004-07-22 19:29:34 +00:00
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
2003-07-29 15:37:11 +00:00
2004-07-22 19:29:34 +00:00
<!--Converted with LaTeX2HTML 2002-2-1 (1.70)
2003-07-29 15:37:11 +00:00
original version by: Nikos Drakos, CBLU, University of Leeds
* revised and updated by: Marcus Hennecke, Ross Moore, Herb Swan
* with significant contributions from:
Jens Lippmann, Marek Rouchal, Martin Wilck and others -->
<HTML>
<HEAD>
2004-06-14 15:45:22 +00:00
<TITLE>Clamuko</TITLE>
<META NAME="description" CONTENT="Clamuko">
2003-07-29 15:37:11 +00:00
<META NAME="keywords" CONTENT="clamdoc">
<META NAME="resource-type" CONTENT="document">
<META NAME="distribution" CONTENT="global">
2004-07-22 19:29:34 +00:00
<META NAME="Generator" CONTENT="LaTeX2HTML v2002-2-1">
2003-07-29 15:37:11 +00:00
<META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css">
<LINK REL="STYLESHEET" HREF="clamdoc.css">
2004-03-13 22:13:40 +00:00
<LINK REL="next" HREF="node22.html">
<LINK REL="previous" HREF="node20.html">
2004-06-14 15:45:22 +00:00
<LINK REL="up" HREF="node18.html">
2003-07-29 15:37:11 +00:00
<LINK REL="next" HREF="node22.html">
</HEAD>
<BODY >
2004-07-22 19:29:34 +00:00
<DIV CLASS="navigation"><!--Navigation Panel-->
<A NAME="tex2html620"
2003-07-29 15:37:11 +00:00
HREF="node22.html">
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next"
SRC="/usr/share/latex2html/icons/next.png"></A>
2004-07-22 19:29:34 +00:00
<A NAME="tex2html616"
2004-06-14 15:45:22 +00:00
HREF="node18.html">
2003-07-29 15:37:11 +00:00
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up"
SRC="/usr/share/latex2html/icons/up.png"></A>
2004-07-22 19:29:34 +00:00
<A NAME="tex2html610"
2003-07-29 15:37:11 +00:00
HREF="node20.html">
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous"
SRC="/usr/share/latex2html/icons/prev.png"></A>
2004-07-22 19:29:34 +00:00
<A NAME="tex2html618"
2003-07-29 15:37:11 +00:00
HREF="node1.html">
<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents"
SRC="/usr/share/latex2html/icons/contents.png"></A>
<BR>
2004-07-22 19:29:34 +00:00
<B> Next:</B> <A NAME="tex2html621"
2004-06-14 15:45:22 +00:00
HREF="node22.html">Archives and compressed files</A>
2004-07-22 19:29:34 +00:00
<B> Up:</B> <A NAME="tex2html617"
2004-06-14 15:45:22 +00:00
HREF="node18.html">Usage</A>
2004-07-22 19:29:34 +00:00
<B> Previous:</B> <A NAME="tex2html611"
2004-06-14 15:45:22 +00:00
HREF="node20.html">Clamdscan</A>
2004-07-22 19:29:34 +00:00
&nbsp; <B> <A NAME="tex2html619"
2003-07-29 15:37:11 +00:00
HREF="node1.html">Contents</A></B>
<BR>
2004-07-22 19:29:34 +00:00
<BR></DIV>
2003-07-29 15:37:11 +00:00
<!--End of Navigation Panel-->
2004-06-14 15:45:22 +00:00
<H2><A NAME="SECTION00043000000000000000"></A><A NAME="clamuko"></A>
<BR>
Clamuko
2004-03-13 22:13:40 +00:00
</H2>
2004-07-22 19:29:34 +00:00
Clamuko is a special thread in <SPAN CLASS="textit">clamd</SPAN> that performs on-access
2004-06-14 15:45:22 +00:00
scanning under Linux and FreeBSD. It is implemented as a thread in clamd
and cannot work as a clamd client because of the Dazuko implementation.
There are however some benefits of the current implementation - clamuko
is sharing the internal virus database with clamd and it's updated with
2004-07-22 19:29:34 +00:00
the RELOAD command. <SPAN CLASS="textbf">You must follow some important rules when
using clamuko:</SPAN>
2004-03-13 22:13:40 +00:00
<UL>
2004-06-14 15:45:22 +00:00
<LI>Always stop the daemon cleanly - using the QUIT command or
the SIGTERM signal. In other case you can lose your access
to protected files until the system is restarted.
2004-03-13 22:13:40 +00:00
</LI>
2004-06-14 15:45:22 +00:00
<LI>Never protect a directory your mail-scanner software
uses for attachment unpacking. Access to all infected
files will be automatically blocked and the scanner (even clamd)
2004-07-22 19:29:34 +00:00
won't be able to detect a virus. <SPAN CLASS="textbf">All infected mails will
be delivered.</SPAN>
2004-03-13 22:13:40 +00:00
</LI>
</UL>
2004-07-22 19:29:34 +00:00
You need to enable clamuko in <SPAN CLASS="textit">clamav.conf</SPAN>. To protect the /home
2004-06-14 15:45:22 +00:00
directory enable:
2004-03-13 22:13:40 +00:00
<PRE>
2004-06-14 15:45:22 +00:00
ClamukoIncludePath /home
2004-03-13 22:13:40 +00:00
</PRE>
2004-06-14 15:45:22 +00:00
To protect the whole system:
<PRE>
ClamukoIncludePath /
ClamukoExcludePath /proc
ClamukoExcludePath /temporary/dir/of/your/mail/scanning/software
</PRE>
You can use clamuko to protect files on Samba/Netatalk (but far
2004-07-22 19:29:34 +00:00
more better and safe idea is to use the <SPAN CLASS="textbf">samba-vscan</SPAN> module
<A HREF="node45.html#samba-vscan">5.17</A>. NFS is not supported (Dazuko doesn't intercept NFS
2004-06-14 15:45:22 +00:00
access calls). Yet another idea - you may build a database that contains
signatures for popular exploits and setup clamd to protect your server
from script-kiddies.
2003-11-11 22:10:27 +00:00
2004-03-13 22:13:40 +00:00
<P>
2004-07-22 19:29:34 +00:00
<DIV CLASS="navigation"><HR>
2004-03-13 22:13:40 +00:00
<!--Navigation Panel-->
2004-07-22 19:29:34 +00:00
<A NAME="tex2html620"
2004-03-13 22:13:40 +00:00
HREF="node22.html">
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next"
SRC="/usr/share/latex2html/icons/next.png"></A>
2004-07-22 19:29:34 +00:00
<A NAME="tex2html616"
2004-06-14 15:45:22 +00:00
HREF="node18.html">
2004-03-13 22:13:40 +00:00
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up"
SRC="/usr/share/latex2html/icons/up.png"></A>
2004-07-22 19:29:34 +00:00
<A NAME="tex2html610"
2004-03-13 22:13:40 +00:00
HREF="node20.html">
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous"
SRC="/usr/share/latex2html/icons/prev.png"></A>
2004-07-22 19:29:34 +00:00
<A NAME="tex2html618"
2004-03-13 22:13:40 +00:00
HREF="node1.html">
<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents"
SRC="/usr/share/latex2html/icons/contents.png"></A>
<BR>
2004-07-22 19:29:34 +00:00
<B> Next:</B> <A NAME="tex2html621"
2004-06-14 15:45:22 +00:00
HREF="node22.html">Archives and compressed files</A>
2004-07-22 19:29:34 +00:00
<B> Up:</B> <A NAME="tex2html617"
2004-06-14 15:45:22 +00:00
HREF="node18.html">Usage</A>
2004-07-22 19:29:34 +00:00
<B> Previous:</B> <A NAME="tex2html611"
2004-06-14 15:45:22 +00:00
HREF="node20.html">Clamdscan</A>
2004-07-22 19:29:34 +00:00
&nbsp; <B> <A NAME="tex2html619"
HREF="node1.html">Contents</A></B> </DIV>
2004-03-13 22:13:40 +00:00
<!--End of Navigation Panel-->
2003-07-29 15:37:11 +00:00
<ADDRESS>
Tomasz Kojm
2004-07-22 19:29:34 +00:00
2004-07-22
2003-07-29 15:37:11 +00:00
</ADDRESS>
</BODY>
</HTML>