~ubuntu-branches/ubuntu/natty/clamav/natty-updates

« back to all changes in this revision

Viewing changes to docs/html/node19.html

  • Committer: Bazaar Package Importer
  • Author(s): Stephen Gran
  • Date: 2004-06-21 22:26:45 UTC
  • Revision ID: james.westby@ubuntu.com-20040621222645-jvaxzuttrjz6kh8t
Tags: upstream-0.73
ImportĀ upstreamĀ versionĀ 0.73

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
 
2
 
 
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 -->
 
8
<HTML>
 
9
<HEAD>
 
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">
 
15
 
 
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">
 
19
 
 
20
<LINK REL="STYLESHEET" HREF="clamdoc.css">
 
21
 
 
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">
 
26
</HEAD>
 
27
 
 
28
<BODY >
 
29
<!--Navigation Panel-->
 
30
<A NAME="tex2html575"
 
31
  HREF="node20.html">
 
32
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next"
 
33
 SRC="/usr/share/latex2html/icons/next.png"></A> 
 
34
<A NAME="tex2html571"
 
35
  HREF="node18.html">
 
36
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up"
 
37
 SRC="/usr/share/latex2html/icons/up.png"></A> 
 
38
<A NAME="tex2html565"
 
39
  HREF="node18.html">
 
40
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous"
 
41
 SRC="/usr/share/latex2html/icons/prev.png"></A> 
 
42
<A NAME="tex2html573"
 
43
  HREF="node1.html">
 
44
<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents"
 
45
 SRC="/usr/share/latex2html/icons/contents.png"></A>  
 
46
<BR>
 
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
 &nbsp <B>  <A NAME="tex2html574"
 
54
  HREF="node1.html">Contents</A></B> 
 
55
<BR>
 
56
<BR>
 
57
<!--End of Navigation Panel-->
 
58
 
 
59
<H2><A NAME="SECTION00041000000000000000"></A><A NAME="clamd"></A>
 
60
<BR>
 
61
Clam daemon
 
62
</H2>
 
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:
 
66
    
 
67
<UL>
 
68
<LI>Unix (local) socket
 
69
</LI>
 
70
<LI>TCP socket
 
71
    
 
72
</LI>
 
73
</UL>
 
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:
 
77
    
 
78
<UL>
 
79
<LI><B>PING</B>
 
80
<BR>
 
81
Check a daemon state (should reply with "PONG").
 
82
</LI>
 
83
<LI><B>VERSION</B>
 
84
<BR>
 
85
Print version information.
 
86
</LI>
 
87
<LI><B>RELOAD</B>
 
88
<BR>
 
89
Reload databases.
 
90
</LI>
 
91
<LI><B>SHUTDOWN</B>
 
92
<BR>
 
93
Perform a clean exit.
 
94
</LI>
 
95
<LI><B>SCAN file/directory</B>
 
96
            Scan a file or directory (recursively) with archive support
 
97
            enabled. A full path is required.
 
98
</LI>
 
99
<LI><B>RAWSCAN file/directory</B>
 
100
            Scan a file or directory (recursively) with archive support
 
101
            disabled. A full path is required.
 
102
</LI>
 
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.
 
106
</LI>
 
107
<LI><B>STREAM</B>
 
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>
 
112
</LI>
 
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).
 
117
 
 
118
<P>
 
119
</LI>
 
120
</UL>
 
121
    Clamd reacts on the three special signals:
 
122
    
 
123
<UL>
 
124
<LI><B>SIGTERM</B> - perform a clean exit
 
125
</LI>
 
126
<LI><B>SIGHUP</B> - reopen the log file
 
127
</LI>
 
128
<LI><B>SIGUSR2</B> - reload the database
 
129
    
 
130
</LI>
 
131
</UL>
 
132
 
 
133
<P>
 
134
<HR>
 
135
<!--Navigation Panel-->
 
136
<A NAME="tex2html575"
 
137
  HREF="node20.html">
 
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"
 
141
  HREF="node18.html">
 
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"
 
145
  HREF="node18.html">
 
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"
 
149
  HREF="node1.html">
 
150
<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents"
 
151
 SRC="/usr/share/latex2html/icons/contents.png"></A>  
 
152
<BR>
 
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
 &nbsp <B>  <A NAME="tex2html574"
 
160
  HREF="node1.html">Contents</A></B> 
 
161
<!--End of Navigation Panel-->
 
162
<ADDRESS>
 
163
Tomasz Kojm
 
164
2004-06-14
 
165
</ADDRESS>
 
166
</BODY>
 
167
</HTML>