File: node23.html

package info (click to toggle)
clamav 0.90.1dfsg-4etch19
  • links: PTS
  • area: main
  • in suites: etch
  • size: 20,320 kB
  • ctags: 4,181
  • sloc: ansic: 55,745; sh: 13,556; makefile: 647; python: 78; perl: 17
file content (165 lines) | stat: -rw-r--r-- 4,788 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">

<!--Converted with LaTeX2HTML 99.2beta8 (1.46)
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 v99.2beta8">
<META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css">

<LINK REL="STYLESHEET" HREF="clamdoc.css">

<LINK REL="next" HREF="node24.html">
<LINK REL="previous" HREF="node22.html">
<LINK REL="up" HREF="node22.html">
<LINK REL="next" HREF="node24.html">
</HEAD>

<BODY >
<!--Navigation Panel-->
<A NAME="tex2html485"
  HREF="node24.html">
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next.png"></A> 
<A NAME="tex2html481"
  HREF="node22.html">
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up.png"></A> 
<A NAME="tex2html475"
  HREF="node22.html">
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="prev.png"></A> 
<A NAME="tex2html483"
  HREF="node1.html">
<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="contents.png"></A>  
<BR>
<B> Next:</B> <A NAME="tex2html486"
  HREF="node24.html">Clamdscan</A>
<B> Up:</B> <A NAME="tex2html482"
  HREF="node22.html">Usage</A>
<B> Previous:</B> <A NAME="tex2html476"
  HREF="node22.html">Usage</A>
 &nbsp <B>  <A NAME="tex2html484"
  HREF="node1.html">Contents</A></B> 
<BR>
<BR>
<!--End of Navigation Panel-->

<H2><A NAME="SECTION00061000000000000000"></A><A NAME="clamd"></A>
<BR>
Clam daemon
</H2>
    <code>clamd</code> is a multi-threaded daemon that uses <I>libclamav</I>
    to scan files for viruses. It may work in one or both modes listening on:
    
<UL>
<LI>Unix (local) socket
</LI>
<LI>TCP socket
    
</LI>
</UL>
    The daemon is fully configurable via the <code>clamd.conf</code> file
    <A NAME="tex2html13"
  HREF="footnode.html#foot210"><SUP>5</SUP></A>. <code>clamd</code> recognizes the following commands:
    
<UL>
<LI><B>PING</B>
<BR>
Check the daemon's state (should reply with "PONG").
</LI>
<LI><B>VERSION</B>
<BR>
Print program and database versions.
</LI>
<LI><B>RELOAD</B>
<BR>
Reload the databases.
</LI>
<LI><B>SHUTDOWN</B>
<BR>
Perform a clean exit.
</LI>
<LI><B>SCAN file/directory</B>
<BR>
Scan file or directory (recursively) with archive support
	    enabled (a full path is required).
</LI>
<LI><B>RAWSCAN file/directory</B>
<BR>
Scan file or directory (recursively) with archive and special file
	    support disabled (a full path is required).
</LI>
<LI><B>CONTSCAN file/directory</B>
<BR>
Scan file or directory (recursively) with archive support
	    enabled and don't stop the scanning when a virus is found.
</LI>
<LI><B>MULTISCAN file/directory</B>
<BR>
Scan file in a standard way or scan directory (recursively) using
	    multiple threads (to make the scanning faster on SMP machines).
</LI>
<LI><B>STREAM</B>
<BR>
Scan stream: <code>clamd</code> will return a new port number you should
	    connect to and send data to scan.
</LI>
<LI><B>SESSION, END</B>
<BR>
Start/end a <code>clamd</code> session - you can do multiple commands
	    per TCP session (WARNING: due to the <code>clamd</code> implementation the
	    <B>RELOAD</B> command will break the session).
    
</LI>
</UL>
    and reacts on the 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
    
</LI>
</UL>

<P>
<HR>
<!--Navigation Panel-->
<A NAME="tex2html485"
  HREF="node24.html">
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next.png"></A> 
<A NAME="tex2html481"
  HREF="node22.html">
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up.png"></A> 
<A NAME="tex2html475"
  HREF="node22.html">
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="prev.png"></A> 
<A NAME="tex2html483"
  HREF="node1.html">
<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="contents.png"></A>  
<BR>
<B> Next:</B> <A NAME="tex2html486"
  HREF="node24.html">Clamdscan</A>
<B> Up:</B> <A NAME="tex2html482"
  HREF="node22.html">Usage</A>
<B> Previous:</B> <A NAME="tex2html476"
  HREF="node22.html">Usage</A>
 &nbsp <B>  <A NAME="tex2html484"
  HREF="node1.html">Contents</A></B> 
<!--End of Navigation Panel-->
<ADDRESS>
Tomasz Kojm
2007-03-01
</ADDRESS>
</BODY>
</HTML>