2003-07-29 15:37:11 +00:00
|
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
|
|
|
|
|
|
|
|
|
|
<!--Converted with LaTeX2HTML 2K.1beta (1.48)
|
|
|
|
|
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-03-13 22:13:40 +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">
|
|
|
|
|
|
|
|
|
|
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
|
|
|
|
|
<META NAME="Generator" CONTENT="LaTeX2HTML v2K.1beta">
|
|
|
|
|
<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="node21.html">
|
2003-07-29 15:37:11 +00:00
|
|
|
<LINK REL="previous" HREF="node19.html">
|
2004-03-13 22:13:40 +00:00
|
|
|
<LINK REL="up" HREF="node17.html">
|
2003-07-29 15:37:11 +00:00
|
|
|
<LINK REL="next" HREF="node21.html">
|
|
|
|
|
</HEAD>
|
|
|
|
|
|
|
|
|
|
<BODY >
|
|
|
|
|
<!--Navigation Panel-->
|
2004-03-13 22:13:40 +00:00
|
|
|
<A NAME="tex2html520"
|
2003-07-29 15:37:11 +00:00
|
|
|
HREF="node21.html">
|
|
|
|
|
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next"
|
|
|
|
|
SRC="/usr/share/latex2html/icons/next.png"></A>
|
2004-03-13 22:13:40 +00:00
|
|
|
<A NAME="tex2html516"
|
|
|
|
|
HREF="node17.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-03-13 22:13:40 +00:00
|
|
|
<A NAME="tex2html510"
|
2003-07-29 15:37:11 +00:00
|
|
|
HREF="node19.html">
|
|
|
|
|
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous"
|
|
|
|
|
SRC="/usr/share/latex2html/icons/prev.png"></A>
|
2004-03-13 22:13:40 +00:00
|
|
|
<A NAME="tex2html518"
|
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-03-13 22:13:40 +00:00
|
|
|
<B> Next:</B> <A NAME="tex2html521"
|
|
|
|
|
HREF="node21.html">Archives and compressed files</A>
|
|
|
|
|
<B> Up:</B> <A NAME="tex2html517"
|
|
|
|
|
HREF="node17.html">Usage</A>
|
|
|
|
|
<B> Previous:</B> <A NAME="tex2html511"
|
|
|
|
|
HREF="node19.html">Clamdscan</A>
|
|
|
|
|
  <B> <A NAME="tex2html519"
|
2003-07-29 15:37:11 +00:00
|
|
|
HREF="node1.html">Contents</A></B>
|
|
|
|
|
<BR>
|
|
|
|
|
<BR>
|
|
|
|
|
<!--End of Navigation Panel-->
|
|
|
|
|
|
2004-03-13 22:13:40 +00:00
|
|
|
<H2><A NAME="SECTION00043000000000000000"></A><A NAME="clamuko"></A>
|
|
|
|
|
<BR>
|
|
|
|
|
Clamuko
|
2003-07-29 15:37:11 +00:00
|
|
|
</H2>
|
2004-03-13 22:13:40 +00:00
|
|
|
Clamuko is a special thread in <I>clamd</I> that performs on-access
|
|
|
|
|
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
|
|
|
|
|
the RELOAD command. <B>You must follow some important rules when
|
|
|
|
|
using clamuko:</B>
|
|
|
|
|
|
|
|
|
|
<UL>
|
|
|
|
|
<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.
|
|
|
|
|
</LI>
|
|
|
|
|
<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)
|
|
|
|
|
won't be able to detect a virus. <B>All infected mails will
|
|
|
|
|
be delivered.</B>
|
|
|
|
|
|
|
|
|
|
</LI>
|
|
|
|
|
</UL>
|
|
|
|
|
You need to enable clamuko in <I>clamav.conf</I>. To protect the /home
|
|
|
|
|
directory enable:
|
2003-07-29 15:37:11 +00:00
|
|
|
<PRE>
|
2004-03-13 22:13:40 +00:00
|
|
|
ClamukoIncludePath /home
|
2003-07-29 15:37:11 +00:00
|
|
|
</PRE>
|
2004-03-13 22:13:40 +00:00
|
|
|
To protect the whole system:
|
2003-07-29 15:37:11 +00:00
|
|
|
<PRE>
|
2004-03-13 22:13:40 +00:00
|
|
|
ClamukoIncludePath /
|
|
|
|
|
ClamukoExcludePath /proc
|
|
|
|
|
ClamukoExcludePath /temporary/dir/of/your/mail/scanning/software
|
2003-07-29 15:37:11 +00:00
|
|
|
</PRE>
|
2004-03-13 22:13:40 +00:00
|
|
|
You can use clamuko to protect files on Samba/Netatalk (but far
|
|
|
|
|
more better and safe idea is to use the <B>samba-vscan</B> module
|
|
|
|
|
<A HREF="node44.html#samba-vscan">5.17</A>. NFS is not supported (Dazuko doesn't intercept NFS
|
|
|
|
|
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-07-29 15:37:11 +00:00
|
|
|
|
|
|
|
|
<P>
|
|
|
|
|
<HR>
|
|
|
|
|
<!--Navigation Panel-->
|
2004-03-13 22:13:40 +00:00
|
|
|
<A NAME="tex2html520"
|
2003-07-29 15:37:11 +00:00
|
|
|
HREF="node21.html">
|
|
|
|
|
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next"
|
|
|
|
|
SRC="/usr/share/latex2html/icons/next.png"></A>
|
2004-03-13 22:13:40 +00:00
|
|
|
<A NAME="tex2html516"
|
|
|
|
|
HREF="node17.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-03-13 22:13:40 +00:00
|
|
|
<A NAME="tex2html510"
|
2003-07-29 15:37:11 +00:00
|
|
|
HREF="node19.html">
|
|
|
|
|
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous"
|
|
|
|
|
SRC="/usr/share/latex2html/icons/prev.png"></A>
|
2004-03-13 22:13:40 +00:00
|
|
|
<A NAME="tex2html518"
|
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-03-13 22:13:40 +00:00
|
|
|
<B> Next:</B> <A NAME="tex2html521"
|
|
|
|
|
HREF="node21.html">Archives and compressed files</A>
|
|
|
|
|
<B> Up:</B> <A NAME="tex2html517"
|
|
|
|
|
HREF="node17.html">Usage</A>
|
|
|
|
|
<B> Previous:</B> <A NAME="tex2html511"
|
|
|
|
|
HREF="node19.html">Clamdscan</A>
|
|
|
|
|
  <B> <A NAME="tex2html519"
|
2003-07-29 15:37:11 +00:00
|
|
|
HREF="node1.html">Contents</A></B>
|
|
|
|
|
<!--End of Navigation Panel-->
|
|
|
|
|
<ADDRESS>
|
|
|
|
|
Tomasz Kojm
|
2004-03-13 22:13:40 +00:00
|
|
|
2004-03-13
|
2003-07-29 15:37:11 +00:00
|
|
|
</ADDRESS>
|
|
|
|
|
</BODY>
|
|
|
|
|
</HTML>
|