1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
3
<!--Converted with LaTeX2HTML 2K.1beta (1.48)
4
original version by: Nikos Drakos, CBLU, University of Leeds
5
* revised and updated by: Marcus Hennecke, Ross Moore, Herb Swan
6
* with significant contributions from:
7
Jens Lippmann, Marek Rouchal, Martin Wilck and others -->
10
<TITLE>Clam daemon</TITLE>
11
<META NAME="description" CONTENT="Clam daemon">
12
<META NAME="keywords" CONTENT="clamdoc">
13
<META NAME="resource-type" CONTENT="document">
14
<META NAME="distribution" CONTENT="global">
16
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
17
<META NAME="Generator" CONTENT="LaTeX2HTML v2K.1beta">
18
<META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css">
20
<LINK REL="STYLESHEET" HREF="clamdoc.css">
22
<LINK REL="next" HREF="node20.html">
23
<LINK REL="previous" HREF="node18.html">
24
<LINK REL="up" HREF="node18.html">
25
<LINK REL="next" HREF="node20.html">
29
<!--Navigation Panel-->
32
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next"
33
SRC="/usr/share/latex2html/icons/next.png"></A>
36
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up"
37
SRC="/usr/share/latex2html/icons/up.png"></A>
40
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous"
41
SRC="/usr/share/latex2html/icons/prev.png"></A>
44
<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents"
45
SRC="/usr/share/latex2html/icons/contents.png"></A>
47
<B> Next:</B> <A NAME="tex2html576"
48
HREF="node20.html">Clamdscan</A>
49
<B> Up:</B> <A NAME="tex2html572"
50
HREF="node18.html">Usage</A>
51
<B> Previous:</B> <A NAME="tex2html566"
52
HREF="node18.html">Usage</A>
53
  <B> <A NAME="tex2html574"
54
HREF="node1.html">Contents</A></B>
57
<!--End of Navigation Panel-->
59
<H2><A NAME="SECTION00041000000000000000"></A><A NAME="clamd"></A>
63
<I>clamd</I> is a multi-threaded daemon and uses <I>libclamav</I>
64
to scan files against viruses. It may work in one of the two
65
following network modes, listening on a:
68
<LI>Unix (local) socket
74
The daemon is fully configurable via the <I>clamav.conf</I> file. You will
75
find a description for every directive in the <I>clamav.conf(5)</I>
76
manual. <I>clamd</I> recognizes the following commands:
81
Check a daemon state (should reply with "PONG").
85
Print version information.
95
<LI><B>SCAN file/directory</B>
96
Scan a file or directory (recursively) with archive support
97
enabled. A full path is required.
99
<LI><B>RAWSCAN file/directory</B>
100
Scan a file or directory (recursively) with archive support
101
disabled. A full path is required.
103
<LI><B>CONTSCAN file/directory</B>
104
Scan a file or directory (recursively) with archive support
105
enabled and don't stop even if virus is found.
108
Scan stream - clamd will return a new port number you should
109
connect to and send a data to scan. <I>The protocol is
110
obsolete and there will be a new version soon (however this one
111
will still be supported).</I>
113
<LI><B>SESSION, END</B>
114
Start/end a clamd session - you can do multiple commands per TCP
115
session (WARNING: due to the clamd implementation the
116
<B>RELOAD</B> command will break the session).
121
Clamd reacts on the three special signals:
124
<LI><B>SIGTERM</B> - perform a clean exit
126
<LI><B>SIGHUP</B> - reopen the log file
128
<LI><B>SIGUSR2</B> - reload the database
135
<!--Navigation Panel-->
136
<A NAME="tex2html575"
138
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next"
139
SRC="/usr/share/latex2html/icons/next.png"></A>
140
<A NAME="tex2html571"
142
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up"
143
SRC="/usr/share/latex2html/icons/up.png"></A>
144
<A NAME="tex2html565"
146
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous"
147
SRC="/usr/share/latex2html/icons/prev.png"></A>
148
<A NAME="tex2html573"
150
<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents"
151
SRC="/usr/share/latex2html/icons/contents.png"></A>
153
<B> Next:</B> <A NAME="tex2html576"
154
HREF="node20.html">Clamdscan</A>
155
<B> Up:</B> <A NAME="tex2html572"
156
HREF="node18.html">Usage</A>
157
<B> Previous:</B> <A NAME="tex2html566"
158
HREF="node18.html">Usage</A>
159
  <B> <A NAME="tex2html574"
160
HREF="node1.html">Contents</A></B>
161
<!--End of Navigation Panel-->