<!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> <TITLE>Clam daemon</TITLE> <META NAME="description" CONTENT="Clam daemon"> <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="node17.html"> <LINK REL="previous" HREF="node15.html"> <LINK REL="up" HREF="node15.html"> <LINK REL="next" HREF="node17.html"> </HEAD> <BODY > <!--Navigation Panel--> <A NAME="tex2html370" HREF="node17.html"> <IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="/usr/share/latex2html/icons/next.png"></A> <A NAME="tex2html366" HREF="node15.html"> <IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="/usr/share/latex2html/icons/up.png"></A> <A NAME="tex2html360" HREF="node15.html"> <IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="/usr/share/latex2html/icons/prev.png"></A> <A NAME="tex2html368" 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="tex2html371" HREF="node17.html">Clamuko</A> <B> Up:</B> <A NAME="tex2html367" HREF="node15.html">Usage</A> <B> Previous:</B> <A NAME="tex2html361" HREF="node15.html">Usage</A>   <B> <A NAME="tex2html369" HREF="node1.html">Contents</A></B> <BR> <BR> <!--End of Navigation Panel--> <H2><A NAME="SECTION00041000000000000000"></A><A NAME="clamd"></A> <BR> Clam daemon </H2> <I>clamd</I> is a multi-threaded daemon based on <I>libclamav</I>. It may work in one of the two following two modes, listening on: <UL> <LI>Unix (local) socket </LI> <LI>TCP socket </LI> </UL> The daemon is fully configurable via a <I>clamav.conf</I> file. You will find a description for every directive in the <B>clamav.conf(5)</B> 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. </LI> <LI><B>QUIT</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> </UL> Internal threads (except clamuko) ignore all external signals. The main thread handles <I>SIGTERM</I> and <I>SIGINT</I> signals and performs a clean exit. <P> <HR> <!--Navigation Panel--> <A NAME="tex2html370" HREF="node17.html"> <IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="/usr/share/latex2html/icons/next.png"></A> <A NAME="tex2html366" HREF="node15.html"> <IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="/usr/share/latex2html/icons/up.png"></A> <A NAME="tex2html360" HREF="node15.html"> <IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="/usr/share/latex2html/icons/prev.png"></A> <A NAME="tex2html368" 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="tex2html371" HREF="node17.html">Clamuko</A> <B> Up:</B> <A NAME="tex2html367" HREF="node15.html">Usage</A> <B> Previous:</B> <A NAME="tex2html361" HREF="node15.html">Usage</A>   <B> <A NAME="tex2html369" HREF="node1.html">Contents</A></B> <!--End of Navigation Panel--> <ADDRESS> Tomasz Kojm 2003-11-11 </ADDRESS> </BODY> </HTML>