28e73e95 |
<!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> |
66f082ad |
<TITLE>Clam daemon</TITLE>
<META NAME="description" CONTENT="Clam daemon"> |
28e73e95 |
<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">
<LINK REL="next" HREF="node20.html">
<LINK REL="previous" HREF="node18.html"> |
66f082ad |
<LINK REL="up" HREF="node18.html"> |
28e73e95 |
<LINK REL="next" HREF="node20.html">
</HEAD>
<BODY >
<!--Navigation Panel--> |
66f082ad |
<A NAME="tex2html575" |
28e73e95 |
HREF="node20.html">
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next"
SRC="/usr/share/latex2html/icons/next.png"></A> |
66f082ad |
<A NAME="tex2html571"
HREF="node18.html"> |
28e73e95 |
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up"
SRC="/usr/share/latex2html/icons/up.png"></A> |
66f082ad |
<A NAME="tex2html565" |
28e73e95 |
HREF="node18.html">
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous"
SRC="/usr/share/latex2html/icons/prev.png"></A> |
66f082ad |
<A NAME="tex2html573" |
28e73e95 |
HREF="node1.html">
<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents"
SRC="/usr/share/latex2html/icons/contents.png"></A>
<BR> |
66f082ad |
<B> Next:</B> <A NAME="tex2html576"
HREF="node20.html">Clamdscan</A>
<B> Up:</B> <A NAME="tex2html572"
HREF="node18.html">Usage</A>
<B> Previous:</B> <A NAME="tex2html566"
HREF="node18.html">Usage</A>
  <B> <A NAME="tex2html574" |
28e73e95 |
HREF="node1.html">Contents</A></B>
<BR>
<BR>
<!--End of Navigation Panel-->
|
66f082ad |
<H2><A NAME="SECTION00041000000000000000"></A><A NAME="clamd"></A>
<BR>
Clam daemon |
28e73e95 |
</H2> |
66f082ad |
<I>clamd</I> is a multi-threaded daemon and uses <I>libclamav</I>
to scan files against viruses. It may work in one of the two
following network modes, listening on a: |
13c03b49 |
<UL> |
66f082ad |
<LI>Unix (local) socket |
13c03b49 |
</LI> |
66f082ad |
<LI>TCP socket
|
13c03b49 |
</LI> |
66f082ad |
</UL>
The daemon is fully configurable via the <I>clamav.conf</I> file. You will
find a description for every directive in the <I>clamav.conf(5)</I>
manual. <I>clamd</I> recognizes the following commands:
<UL>
<LI><B>PING</B>
<BR>
Check a daemon state (should reply with "PONG").
</LI>
<LI><B>VERSION</B>
<BR>
Print version information.
</LI>
<LI><B>RELOAD</B>
<BR>
Reload databases. |
13c03b49 |
</LI> |
66f082ad |
<LI><B>SHUTDOWN</B>
<BR>
Perform a clean exit.
</LI>
<LI><B>SCAN file/directory</B>
Scan a file or directory (recursively) with archive support
enabled. A full path is required.
</LI>
<LI><B>RAWSCAN file/directory</B>
Scan a file or directory (recursively) with archive support
disabled. A full path is required.
</LI>
<LI><B>CONTSCAN file/directory</B>
Scan a file or directory (recursively) with archive support
enabled and don't stop even if virus is found.
</LI>
<LI><B>STREAM</B>
Scan stream - clamd will return a new port number you should
connect to and send a data to scan. <I>The protocol is
obsolete and there will be a new version soon (however this one
will still be supported).</I>
</LI>
<LI><B>SESSION, END</B>
Start/end a clamd session - you can do multiple commands per TCP
session (WARNING: due to the clamd implementation the
<B>RELOAD</B> command will break the session).
<P>
</LI>
</UL>
Clamd reacts on the three special signals:
<UL>
<LI><B>SIGTERM</B> - perform a clean exit
</LI>
<LI><B>SIGHUP</B> - reopen the log file
</LI>
<LI><B>SIGUSR2</B> - reload the database |
13c03b49 |
</LI>
</UL> |
28e73e95 |
<P> |
66f082ad |
<HR>
<!--Navigation Panel-->
<A NAME="tex2html575"
HREF="node20.html">
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next"
SRC="/usr/share/latex2html/icons/next.png"></A>
<A NAME="tex2html571"
HREF="node18.html">
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up"
SRC="/usr/share/latex2html/icons/up.png"></A>
<A NAME="tex2html565"
HREF="node18.html">
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous"
SRC="/usr/share/latex2html/icons/prev.png"></A>
<A NAME="tex2html573"
HREF="node1.html">
<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents"
SRC="/usr/share/latex2html/icons/contents.png"></A>
<BR>
<B> Next:</B> <A NAME="tex2html576"
HREF="node20.html">Clamdscan</A>
<B> Up:</B> <A NAME="tex2html572"
HREF="node18.html">Usage</A>
<B> Previous:</B> <A NAME="tex2html566"
HREF="node18.html">Usage</A>
  <B> <A NAME="tex2html574"
HREF="node1.html">Contents</A></B>
<!--End of Navigation Panel--> |
28e73e95 |
<ADDRESS>
Tomasz Kojm |
66f082ad |
2004-06-14 |
28e73e95 |
</ADDRESS>
</BODY>
</HTML> |