Browse code

Big update

git-svn: trunk@109

Tomasz Kojm authored on 2003/11/12 07:10:27
Showing 85 changed files
... ...
@@ -1,3 +1,15 @@
1
+Tue Nov 11 22:47:37 CET 2003 (tk)
2
+---------------------------------
3
+  * sigtool: CVD builder: now date contains a numeric timezone (suggested
4
+    by Tomasz Papszun)
5
+  * freshclam: fixed update message with --http-proxy (problem reported by
6
+	       Nigel and Kristof Petr). Proxy support must be enhanced in the
7
+	       next version.
8
+  * docs/manpages: updated
9
+  * docs/clamdoc.pdf: rewritten
10
+  * docs/Turkish: included Turish clamdoc.pdf translation by yavuz kaya and
11

                
12
+
1 13
 Tue Nov 11 13:51:23 IST 2003 (njh)
2 14
 ----------------------------------
3 15
   * clamav-milter: Fixed handling of % characters in e-mail addresses
... ...
@@ -8,7 +8,7 @@ here may not be available in a binary packages.
8 8
 ----
9 9
 
10 10
 -) clamd:
11
-    + fixed a race condition in database reloading code (random hangs
11
+    + fixed a race condition in database reloading code (random crashes
12 12
       under high load)
13 13
     + fixed PidFile permissions (Magnus Ekdahl, bug reported by Tomasz Papszun)
14 14
     + fixed LogFile permissions (Magnus Ekdahl)
... ...
@@ -41,13 +41,13 @@ here may not be available in a binary packages.
41 41
 
42 42
 
43 43
 New list of compatible software (see clamdoc.pdf for details):
44
-    + IVS Milter
44
+    + cgpav
45 45
     + smtp-vilter
46
+    + IVS Milter
46 47
     + scanexi
47 48
     + Mail::ClamAV
48 49
     + OpenAntiVirus samba-vscan
49
-    
50
-
50
+    + nclamd
51 51
 
52 52
 
53 53
 
... ...
@@ -25,7 +25,7 @@ clamav_milter_SOURCES = clamav-milter.c
25 25
 
26 26
 clamav_milter_LDADD = ../clamd/cfgfile.o ../clamd/others.o ../clamscan/getopt.o
27 27
 
28
-man_MANS = ../docs/clamav-milter.1
28
+man_MANS = ../docs/clamav-milter.8
29 29
 
30 30
 endif
31 31
 endif
... ...
@@ -122,7 +122,7 @@ install_sh = @install_sh@
122 122
 
123 123
 @BUILD_CLAMD_TRUE@@HAVE_MILTER_TRUE@clamav_milter_LDADD = ../clamd/cfgfile.o ../clamd/others.o ../clamscan/getopt.o
124 124
 
125
-@BUILD_CLAMD_TRUE@@HAVE_MILTER_TRUE@man_MANS = ../docs/clamav-milter.1
125
+@BUILD_CLAMD_TRUE@@HAVE_MILTER_TRUE@man_MANS = ../docs/clamav-milter.8
126 126
 
127 127
 DEFS = @DEFS@
128 128
 # CLAMD_LIBS is used, because clamav-milter requires the same libraries as clamd
... ...
@@ -251,15 +251,15 @@ distclean-libtool:
251 251
 	-rm -f libtool
252 252
 uninstall-info-am:
253 253
 
254
-man1dir = $(mandir)/man1
255
-install-man1: $(man1_MANS) $(man_MANS)
254
+man8dir = $(mandir)/man8
255
+install-man8: $(man8_MANS) $(man_MANS)
256 256
 	@$(NORMAL_INSTALL)
257
-	$(mkinstalldirs) $(DESTDIR)$(man1dir)
258
-	@list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \
257
+	$(mkinstalldirs) $(DESTDIR)$(man8dir)
258
+	@list='$(man8_MANS) $(dist_man8_MANS) $(nodist_man8_MANS)'; \
259 259
 	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
260 260
 	for i in $$l2; do \
261 261
 	  case "$$i" in \
262
-	    *.1*) list="$$list $$i" ;; \
262
+	    *.8*) list="$$list $$i" ;; \
263 263
 	  esac; \
264 264
 	done; \
265 265
 	for i in $$list; do \
... ...
@@ -269,16 +269,16 @@ install-man1: $(man1_MANS) $(man_MANS)
269 269
 	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
270 270
 	  inst=`echo $$inst | sed -e 's/^.*\///'`; \
271 271
 	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
272
-	  echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst"; \
273
-	  $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst; \
272
+	  echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man8dir)/$$inst"; \
273
+	  $(INSTALL_DATA) $$file $(DESTDIR)$(man8dir)/$$inst; \
274 274
 	done
275
-uninstall-man1:
275
+uninstall-man8:
276 276
 	@$(NORMAL_UNINSTALL)
277
-	@list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \
277
+	@list='$(man8_MANS) $(dist_man8_MANS) $(nodist_man8_MANS)'; \
278 278
 	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
279 279
 	for i in $$l2; do \
280 280
 	  case "$$i" in \
281
-	    *.1*) list="$$list $$i" ;; \
281
+	    *.8*) list="$$list $$i" ;; \
282 282
 	  esac; \
283 283
 	done; \
284 284
 	for i in $$list; do \
... ...
@@ -286,8 +286,8 @@ uninstall-man1:
286 286
 	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
287 287
 	  inst=`echo $$inst | sed -e 's/^.*\///'`; \
288 288
 	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \
289
-	  echo " rm -f $(DESTDIR)$(man1dir)/$$inst"; \
290
-	  rm -f $(DESTDIR)$(man1dir)/$$inst; \
289
+	  echo " rm -f $(DESTDIR)$(man8dir)/$$inst"; \
290
+	  rm -f $(DESTDIR)$(man8dir)/$$inst; \
291 291
 	done
292 292
 
293 293
 ETAGS = etags
... ...
@@ -356,7 +356,7 @@ check: check-am
356 356
 all-am: Makefile $(PROGRAMS) $(MANS)
357 357
 
358 358
 installdirs:
359
-	$(mkinstalldirs) $(DESTDIR)$(sbindir) $(DESTDIR)$(man1dir)
359
+	$(mkinstalldirs) $(DESTDIR)$(sbindir) $(DESTDIR)$(man8dir)
360 360
 
361 361
 install: install-am
362 362
 install-exec: install-exec-am
... ...
@@ -405,7 +405,7 @@ install-exec-am: install-sbinPROGRAMS
405 405
 
406 406
 install-info: install-info-am
407 407
 
408
-install-man: install-man1
408
+install-man: install-man8
409 409
 
410 410
 installcheck-am:
411 411
 
... ...
@@ -420,7 +420,7 @@ mostlyclean-am: mostlyclean-compile mostlyclean-generic \
420 420
 
421 421
 uninstall-am: uninstall-info-am uninstall-man uninstall-sbinPROGRAMS
422 422
 
423
-uninstall-man: uninstall-man1
423
+uninstall-man: uninstall-man8
424 424
 
425 425
 .PHONY: GTAGS all all-am check check-am clean clean-generic \
426 426
 	clean-libtool clean-sbinPROGRAMS distclean distclean-compile \
... ...
@@ -428,11 +428,11 @@ uninstall-man: uninstall-man1
428 428
 	distclean-tags distdir dvi dvi-am info info-am install \
429 429
 	install-am install-data install-data-am install-exec \
430 430
 	install-exec-am install-info install-info-am install-man \
431
-	install-man1 install-sbinPROGRAMS install-strip installcheck \
431
+	install-man8 install-sbinPROGRAMS install-strip installcheck \
432 432
 	installcheck-am installdirs maintainer-clean \
433 433
 	maintainer-clean-generic mostlyclean mostlyclean-compile \
434 434
 	mostlyclean-generic mostlyclean-libtool tags uninstall \
435
-	uninstall-am uninstall-info-am uninstall-man uninstall-man1 \
435
+	uninstall-am uninstall-info-am uninstall-man uninstall-man8 \
436 436
 	uninstall-sbinPROGRAMS
437 437
 
438 438
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
... ...
@@ -208,12 +208,12 @@ void help(void)
208 208
 {
209 209
 
210 210
     printf("\n");
211
-    printf("		   Clam AntiVirus Daemon, "VERSION"\n");
212
-    printf("		   (c) 2002 Tomasz Kojm <zolw@konarski.edu.pl>\n");
213
-    printf("	  \n");
214
-    printf("    --help		    -h		Show help.\n");
215
-    printf("    --version		    -V		Show version number.\n");
216
-    printf("    --config-file=FILE	    -c FILE	Read configuration from FILE.\n\n");
211
+    printf("                           Clam AntiVirus Daemon "VERSION"\n");
212
+    printf("                 (c) 2002, 2003 Tomasz Kojm <tkojm@clamav.net>\n\n");
213
+
214
+    printf("    --help                   -h             Show this help.\n");
215
+    printf("    --version                -V             Show version number.\n");
216
+    printf("    --config-file=FILE       -c FILE        Read configuration from FILE.\n\n");
217 217
 
218 218
     exit(0);
219 219
 }
... ...
@@ -20,14 +20,12 @@ if BUILD_CLAMD
20 20
 bin_PROGRAMS = clamdscan
21 21
 
22 22
 clamdscan_SOURCES = \
23
-    options.c \
24
-    options.h \
25 23
     clamdscan.c \
26 24
     client.c \
27 25
     client.h \
28 26
     defaults.h
29 27
 
30
-clamdscan_LDADD = ../clamscan/getopt.o ../clamscan/others.o ../clamd/cfgfile.o
28
+clamdscan_LDADD = ../clamscan/getopt.o ../clamscan/options.o ../clamscan/others.o ../clamd/cfgfile.o
31 29
 
32 30
 endif
33 31
 
... ...
@@ -117,15 +117,13 @@ install_sh = @install_sh@
117 117
 @BUILD_CLAMD_TRUE@bin_PROGRAMS = clamdscan
118 118
 
119 119
 @BUILD_CLAMD_TRUE@clamdscan_SOURCES = \
120
-@BUILD_CLAMD_TRUE@    options.c \
121
-@BUILD_CLAMD_TRUE@    options.h \
122 120
 @BUILD_CLAMD_TRUE@    clamdscan.c \
123 121
 @BUILD_CLAMD_TRUE@    client.c \
124 122
 @BUILD_CLAMD_TRUE@    client.h \
125 123
 @BUILD_CLAMD_TRUE@    defaults.h
126 124
 
127 125
 
128
-@BUILD_CLAMD_TRUE@clamdscan_LDADD = ../clamscan/getopt.o ../clamscan/others.o ../clamd/cfgfile.o
126
+@BUILD_CLAMD_TRUE@clamdscan_LDADD = ../clamscan/getopt.o ../clamscan/options.o ../clamscan/others.o ../clamd/cfgfile.o
129 127
 
130 128
 INCLUDES = -I../clamscan -I../clamd -I../libclamav
131 129
 LIBS = -L../libclamav -lclamav @FRESHCLAM_LIBS@
... ...
@@ -136,11 +134,12 @@ CONFIG_CLEAN_FILES =
136 136
 @BUILD_CLAMD_FALSE@bin_PROGRAMS =
137 137
 PROGRAMS = $(bin_PROGRAMS)
138 138
 
139
-@BUILD_CLAMD_TRUE@am_clamdscan_OBJECTS = options.$(OBJEXT) \
140
-@BUILD_CLAMD_TRUE@	clamdscan.$(OBJEXT) client.$(OBJEXT)
139
+@BUILD_CLAMD_TRUE@am_clamdscan_OBJECTS = clamdscan.$(OBJEXT) \
140
+@BUILD_CLAMD_TRUE@	client.$(OBJEXT)
141 141
 clamdscan_OBJECTS = $(am_clamdscan_OBJECTS)
142 142
 @BUILD_CLAMD_TRUE@clamdscan_DEPENDENCIES = ../clamscan/getopt.o \
143
-@BUILD_CLAMD_TRUE@	../clamscan/others.o ../clamd/cfgfile.o
143
+@BUILD_CLAMD_TRUE@	../clamscan/options.o ../clamscan/others.o \
144
+@BUILD_CLAMD_TRUE@	../clamd/cfgfile.o
144 145
 @BUILD_CLAMD_FALSE@clamdscan_DEPENDENCIES =
145 146
 clamdscan_LDFLAGS =
146 147
 
... ...
@@ -150,8 +149,7 @@ CPPFLAGS = @CPPFLAGS@
150 150
 LDFLAGS = @LDFLAGS@
151 151
 depcomp = $(SHELL) $(top_srcdir)/depcomp
152 152
 am__depfiles_maybe = depfiles
153
-@AMDEP_TRUE@DEP_FILES = ./$(DEPDIR)/clamdscan.Po ./$(DEPDIR)/client.Po \
154
-@AMDEP_TRUE@	./$(DEPDIR)/options.Po
153
+@AMDEP_TRUE@DEP_FILES = ./$(DEPDIR)/clamdscan.Po ./$(DEPDIR)/client.Po
155 154
 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
156 155
 	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
157 156
 LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
... ...
@@ -212,7 +210,6 @@ distclean-compile:
212 212
 
213 213
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/clamdscan.Po@am__quote@
214 214
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/client.Po@am__quote@
215
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/options.Po@am__quote@
216 215
 
217 216
 distclean-depend:
218 217
 	-rm -rf ./$(DEPDIR)
... ...
@@ -38,7 +38,7 @@ void help(void);
38 38
 */
39 39
 #define mexit(i)    exit(i)
40 40
 
41
-void clamdscan(struct optstruct *opt)
41
+void clamscan(struct optstruct *opt)
42 42
 {
43 43
 	int ds, dms, ret;
44 44
 	struct timeval t1, t2;
... ...
@@ -120,19 +120,20 @@ void help(void)
120 120
     mprintf_stdout = 1;
121 121
 
122 122
     mprintf("\n");
123
-    mprintf("		   ClamAV Daemon Client "VERSION"\n");
124
-    mprintf("		   (c) 2002 Tomasz Kojm <zolw@konarski.edu.pl>\n");
125
-    mprintf("	  \n");
126
-    mprintf("    --help		    -h		Show help\n");
127
-    mprintf("    --version		    -V		Print version number and exit\n");
128
-    mprintf("    --verbose		    -v		Be verbose\n");
129
-    mprintf("    --quiet				Be quiet, only output error messages\n");
130
-    mprintf("    --stdout				Write to stdout instead of stderr\n");
131
-    mprintf("					(this help is always written to stdout)\n");
132
-    mprintf("    --log=FILE		    -l FILE	Save scan report in FILE\n");
133
-    mprintf("    --log-verbose			Save additional informations\n");
134
-    mprintf("    --config-file=FILE			Read configuration from FILE.\n");
135
-    mprintf("    --disable-summary			Disable summary at end of scanning\n");
123
+    mprintf("                          ClamAV Daemon Client "VERSION"\n");
124
+    mprintf("                (c) 2002, 2003 Tomasz Kojm <tkojm@clamav.net>\n\n");
125
+
126
+    mprintf("    --help              -h             Show help\n");
127
+    mprintf("    --version           -V             Print version number and exit\n");
128
+    mprintf("    --verbose           -v             Be verbose\n");
129
+    mprintf("    --quiet                            Be quiet, only output error messages\n");
130
+    mprintf("    --stdout                           Write to stdout instead of stderr\n");
131
+    mprintf("                                       (this help is always written to stdout)\n");
132
+    mprintf("    --log=FILE          -l FILE        Save scan report in FILE\n");
133
+    mprintf("    --log-verbose                      Log additional messages\n");
134
+    mprintf("    --config-file=FILE                 Read configuration from FILE.\n");
135
+    mprintf("    --disable-summary                  Disable summary at end of scanning\n");
136
+    mprintf("\n");
136 137
 
137 138
     exit(0);
138 139
 }
139 140
deleted file mode 100644
... ...
@@ -1,354 +0,0 @@
1
-/*
2
- *  Copyright (C) 2001-2002 Tomasz Kojm <zolw@konarski.edu.pl>
3
- *
4
- *  This program is free software; you can redistribute it and/or modify
5
- *  it under the terms of the GNU General Public License as published by
6
- *  the Free Software Foundation; either version 2 of the License, or
7
- *  (at your option) any later version.
8
- *
9
- *  This program is distributed in the hope that it will be useful,
10
- *  but WITHOUT ANY WARRANTY; without even the implied warranty of
11
- *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12
- *  GNU General Public License for more details.
13
- *
14
- *  You should have received a copy of the GNU General Public License
15
- *  along with this program; if not, write to the Free Software
16
- *  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
17
- *
18
- * Sat Sep 14 22:18:20 CEST 2002: included getfirst*(), getnext*() functions
19
- *			from Alejandro Dubrovsky <s328940@student.uq.edu.au>
20
- */
21
-
22
-#include <stdio.h>
23
-#include <stdlib.h>
24
-#include <string.h>
25
-#include <clamav.h>
26
-#define _GNU_SOURCE
27
-#include "getopt.h"
28
-
29
-#if defined(C_LINUX) && defined(CL_DEBUG)
30
-#include <sys/resource.h>
31
-#endif
32
-
33
-#include "options.h"
34
-#include "others.h"
35
-#include "shared.h"
36
-
37
-void clamdscan(struct optstruct *opt);
38
-
39
-int main(int argc, char **argv)
40
-{
41
-	int ret, opt_index, i, len;
42
-	struct optstruct *opt;
43
-
44
-	const char *getopt_parameters = "hvd:wriVl:m";
45
-
46
-	static struct option long_options[] = {
47
-	    {"help", 0, 0, 'h'},
48
-	    {"quiet", 0, 0, 0},
49
-	    {"verbose", 0, 0, 'v'},
50
-	    {"version", 0, 0, 'V'},
51
-	    {"config-file", 1, 0, 0},
52
-	    {"tempdir", 1, 0, 0},
53
-	    {"database", 1, 0, 'd'},
54
-	    {"whole-file", 0, 0, 'w'}, /* not used */
55
-	    {"force", 0, 0, 0},
56
-	    {"recursive", 0, 0, 'r'},
57
-	    {"disable-summary", 0, 0, 0},
58
-	    {"infected", 0, 0, 'i'},
59
-	    {"log", 1, 0, 'l'},
60
-	    {"log-verbose", 0, 0, 0},
61
-	    {"threads", 1, 0, 0},
62
-	    {"one-virus", 0, 0, 0}, /* not used */
63
-
64
-	    {"remove", 0, 0, 0},
65
-	    {"exclude", 1, 0, 0},
66
-	    {"include", 1, 0, 0},
67
-	    {"max-files", 1, 0, 0},
68
-	    {"max-space", 1, 0, 0},
69
-	    {"max-recursion", 1, 0, 0},
70
-	    {"disable-archive", 0, 0, 0},
71
-
72
-	    {"mbox", 0, 0, 'm'},
73
-	    {"stdout", 0, 0, 0},
74
-	    {"unzip", 2, 0, 0},
75
-	    {"unrar", 2, 0, 0},
76
-	    {"unace", 2, 0, 0},
77
-	    {"unarj", 2, 0, 0}, /* not used */
78
-	    {"arj", 2, 0, 0},
79
-	    {"zoo", 2, 0, 0}, /* not used */
80
-	    {"unzoo", 2, 0, 0},
81
-	    {"lha", 2, 0, 0},
82
-	    {"jar", 2, 0, 0},
83
-	    {"tar", 2, 0, 0},
84
-	    {"tgz", 2, 0, 0},
85
-	    {"deb", 2, 0, 0},
86
-	    {0, 0, 0, 0}
87
-    	};
88
-
89
-#if defined(C_LINUX) && defined(CL_DEBUG)
90
-	/* njh@bandsman.co.uk: create a dump if needed */
91
-	struct rlimit rlim;
92
-
93
-    rlim.rlim_cur = rlim.rlim_max = RLIM_INFINITY;
94
-    if(setrlimit(RLIMIT_CORE, &rlim) < 0)
95
-	perror("setrlimit");
96
-#endif
97
-
98
-    opt=(struct optstruct*) mmalloc(sizeof(struct optstruct));
99
-    opt->optlist = NULL;
100
-
101
-    while(1) {
102
-
103
-	opt_index=0;
104
-	ret=getopt_long(argc, argv, getopt_parameters, long_options, &opt_index);
105
-
106
-	if (ret == -1)
107
-	    break;
108
-
109
-	switch (ret) {
110
-	    case 0:
111
-		register_long_option(opt, long_options[opt_index].name);
112
-		break;
113
-
114
-    	    default:
115
-		if(strchr(getopt_parameters, ret))
116
-		    register_char_option(opt, ret);
117
-		else {
118
-		    mprintf("!Unknown option passed.\n");
119
-		    free_opt(opt);
120
-		    exit(40);
121
-		}
122
-        }
123
-    }
124
-
125
-    if (optind < argc) {
126
-
127
-        len=0;
128
-
129
-	/* count length of non-option arguments */
130
-
131
-	for(i=optind; i<argc; i++)
132
-	    len+=strlen(argv[i]);
133
-
134
-	len=len+argc-optind-1; /* add spaces between arguments */
135
-	opt->filename=(char*)mcalloc(len + 256, sizeof(char));
136
-
137
-        for(i=optind; i<argc; i++) {
138
-	    strncat(opt->filename, argv[i], strlen(argv[i]));
139
-	    if(i != argc-1)
140
-		strncat(opt->filename, " ", 1);
141
-	}
142
-
143
-    } else
144
-	/* FIXME !!! Without this, we have segfault */
145
-	opt->filename=(char*)mcalloc(1, sizeof(char));
146
-
147
-
148
-    clamdscan(opt);
149
-
150
-    return(0);
151
-}
152
-
153
-void register_char_option(struct optstruct *opt, char ch)
154
-{
155
-	struct optnode *newnode;
156
-
157
-    newnode = (struct optnode *) mmalloc(sizeof(struct optnode));
158
-    newnode->optchar = ch;
159
-    if(optarg != NULL) {
160
-	newnode->optarg = (char *) mcalloc(strlen(optarg) + 1, sizeof(char));
161
-	strcpy(newnode->optarg, optarg);
162
-    } else newnode->optarg = NULL;
163
-
164
-    newnode->optname = NULL;
165
-    newnode->next = opt->optlist;
166
-    opt->optlist = newnode;
167
-}
168
-
169
-void register_long_option(struct optstruct *opt, const char *optname)
170
-{
171
-	struct optnode *newnode;
172
-
173
-    newnode = (struct optnode *) mmalloc(sizeof(struct optnode));
174
-    newnode->optchar = 0;
175
-    if(optarg != NULL) {
176
-	newnode->optarg = (char *) mcalloc(strlen(optarg) + 1, sizeof(char));
177
-	strcpy(newnode->optarg, optarg);
178
-    } else newnode->optarg = NULL;
179
-
180
-    newnode->optname = (char *) mcalloc(strlen(optname) + 1, sizeof(char));
181
-    strcpy(newnode->optname, optname);
182
-    newnode->next = opt->optlist;
183
-    opt->optlist = newnode;
184
-}
185
-
186
-int optc(const struct optstruct *opt, char ch)
187
-{
188
-	struct optnode *handler;
189
-
190
-    handler = opt->optlist;
191
-
192
-    while(1) {
193
-	if(handler) {
194
-	    if(handler->optchar == ch) return 1;
195
-	} else break;
196
-	handler = handler->next;
197
-    }
198
-
199
-    return(0);
200
-}
201
-
202
-int optl(const struct optstruct *opt, const char *optname)
203
-{
204
-	struct optnode *handler;
205
-
206
-    handler = opt->optlist;
207
-
208
-    while(1) {
209
-	if(handler) {
210
-	    if(handler->optname)
211
-		if(!strcmp(handler->optname, optname)) return 1;
212
-	} else break;
213
-	handler = handler->next;
214
-    }
215
-
216
-    return(0);
217
-}
218
-
219
-char *getargc(const struct optstruct *opt, char ch)
220
-{
221
-	struct optnode *handler;
222
-
223
-    handler = opt->optlist;
224
-
225
-    while(1) {
226
-	if(handler) {
227
-	    if(handler->optchar == ch) return handler->optarg;
228
-	} else break;
229
-	handler = handler->next;
230
-    }
231
-
232
-    return(NULL);
233
-}
234
-
235
-char *getfirstargc(const struct optstruct *opt, char ch, struct optnode **optnode)
236
-{
237
-	struct optnode *handler;
238
-
239
-    handler = opt->optlist;
240
-
241
-    while(1) {
242
-	if(handler) {
243
-	    if(handler->optchar == ch) {
244
-	    	*optnode = handler;
245
-	    	return handler->optarg;
246
-	    }
247
-	} else break;
248
-	handler = handler->next;
249
-    }
250
-    *optnode = NULL;
251
-    return(NULL);
252
-}
253
-
254
-char *getnextargc(struct optnode **optnode, char ch)
255
-{
256
-	struct optnode *handler;
257
-
258
-    handler = (*optnode)->next;
259
-
260
-    while(1) {
261
-	if(handler) {
262
-	    if(handler->optchar == ch) {
263
-	    	*optnode = handler;
264
-	    	return handler->optarg;
265
-	    }
266
-	} else break;
267
-	handler = handler->next;
268
-    }
269
-    *optnode = NULL;
270
-    return(NULL);
271
-}
272
-
273
-char *getargl(const struct optstruct *opt, const char *optname)
274
-{
275
-	struct optnode *handler;
276
-
277
-    handler = opt->optlist;
278
-
279
-    while(1) {
280
-	if(handler) {
281
-	    if(handler->optname)
282
-		if(!strcmp(handler->optname, optname)) return handler->optarg;
283
-	} else break;
284
-	handler = handler->next;
285
-    }
286
-
287
-    return(NULL);
288
-}
289
-
290
-char *getfirstargl(const struct optstruct *opt, const char *optname, struct optnode **optnode)
291
-{
292
-	struct optnode *handler;
293
-
294
-    handler = opt->optlist;
295
-
296
-    while(1) {
297
-	if(handler) {
298
-	    if(handler->optname)
299
-		if(!strcmp(handler->optname, optname)) {
300
-			*optnode = handler;
301
-			return handler->optarg;
302
-		}
303
-	} else break;
304
-	handler = handler->next;
305
-    }
306
-    
307
-    *optnode = NULL;
308
-    return(NULL);
309
-}
310
-
311
-char *getnextargl(struct optnode **optnode, const char *optname)
312
-{
313
-	struct optnode *handler;
314
-
315
-    handler = (*optnode)->next;
316
-
317
-    while(1) {
318
-	if(handler) {
319
-	    if(handler->optname)
320
-		if(!strcmp(handler->optname, optname)) {
321
-			*optnode = handler;
322
-			return handler->optarg;
323
-		}
324
-	} else break;
325
-	handler = handler->next;
326
-    }
327
-    
328
-    *optnode = NULL;
329
-    return(NULL);
330
-}
331
-
332
-void free_opt(struct optstruct *opt)
333
-{
334
-	struct optnode *handler, *prev;
335
-
336
-    if(!opt || !opt->optlist)
337
-	return;
338
-
339
-    mprintf("*Freeing option list... ");
340
-    handler = opt->optlist;
341
-
342
-    while(handler != NULL) {
343
-	handler->optchar = 0;
344
-	if(handler->optarg) free(handler->optarg);
345
-	if(handler->optname) free(handler->optname);
346
-	prev = handler;
347
-	handler = handler->next;
348
-	free(prev);
349
-    }
350
-
351
-    free(opt->filename);
352
-    free(opt);
353
-    mprintf("*done\n");
354
-}
355 1
deleted file mode 100644
... ...
@@ -1,46 +0,0 @@
1
-/*
2
- *  Copyright (C) 2002 Tomasz Kojm <zolw@konarski.edu.pl>
3
- *
4
- *  This program is free software; you can redistribute it and/or modify
5
- *  it under the terms of the GNU General Public License as published by
6
- *  the Free Software Foundation; either version 2 of the License, or
7
- *  (at your option) any later version.
8
- *
9
- *  This program is distributed in the hope that it will be useful,
10
- *  but WITHOUT ANY WARRANTY; without even the implied warranty of
11
- *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12
- *  GNU General Public License for more details.
13
- *
14
- *  You should have received a copy of the GNU General Public License
15
- *  along with this program; if not, write to the Free Software
16
- *  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
17
- */
18
-
19
-#ifndef __OPTIONS_H
20
-#define __OPTIONS_H
21
-
22
-struct optnode {
23
-    char optchar;
24
-    char *optarg;
25
-    char *optname;
26
-    struct optnode *next;
27
-};
28
-
29
-struct optstruct {
30
-    struct optnode *optlist;
31
-    char *filename;
32
-};
33
-
34
-int optc(const struct optstruct *opt, char ch);
35
-int optl(const struct optstruct *opt, const char *optname);
36
-void register_char_option(struct optstruct *opt, char ch);
37
-void register_long_option(struct optstruct *opt, const char *optname);
38
-char *getargc(const struct optstruct *opt, char ch);
39
-char *getfirstargc(const struct optstruct *opt, char ch, struct optnode **optnode);
40
-char *getnextargc(struct optnode **optnode, char ch);
41
-char *getargl(const struct optstruct *opt, const char *optname);
42
-char *getfirstargl(const struct optstruct *opt, const char *optname, struct optnode **optnode);
43
-char *getnextargl(struct optnode **optnode, const char *optname);
44
-void free_opt(struct optstruct *opt);
45
-
46
-#endif
... ...
@@ -183,48 +183,47 @@ void help(void)
183 183
     mprintf_stdout = 1;
184 184
 
185 185
     mprintf("\n");
186
-    mprintf("		   Clam AntiVirus Scanner "VERSION"\n");
187
-    mprintf("	    (c) 2002, 2003 Tomasz Kojm <zolw@konarski.edu.pl>\n");
188
-    mprintf("	  \n");
189
-    mprintf("    --help		    -h		Show help\n");
190
-    mprintf("    --version		    -V		Print version number and exit\n");
191
-    mprintf("    --verbose		    -v		Be verbose\n");
192
-    mprintf("    --debug				Enable debug messages\n");
193
-    mprintf("    --quiet				Be quiet, output only error messages\n");
194
-    mprintf("    --stdout				Write to stdout instead of stderr\n");
195
-    mprintf("					(this help is always written to stdout)\n");
196
-    mprintf("    --force				Try to ignore some errors\n");
186
+    mprintf("                          Clam AntiVirus Scanner "VERSION"\n");
187
+    mprintf("                (c) 2002, 2003 Tomasz Kojm <tkojm@clamav.net>\n\n");
188
+
189
+    mprintf("    --help                -h             Show help\n");
190
+    mprintf("    --version             -V             Print version number and exit\n");
191
+    mprintf("    --verbose             -v             Be verbose\n");
192
+    mprintf("    --debug                              Enable debug messages\n");
193
+    mprintf("    --quiet                              Be quiet - only output error messages\n");
194
+    mprintf("    --stdout                             Write to stdout instead of stderr\n");
195
+    mprintf("                                         (this help is always written to stdout)\n");
197 196
     mprintf("\n");
198
-    mprintf("    --tempdir=DIRECTORY			create temporary files in DIRECTORY\n");
199
-    mprintf("    --database=FILE/DIR    -d FILE/DIR	Load virus database from FILE or load\n");
200
-    mprintf("					all .db and .db2 files from DIR\n");
201
-    mprintf("    --log=FILE		    -l FILE	Save scan report in FILE\n");
202
-    mprintf("    --log-verbose			Save additional informations\n");
203
-    mprintf("    --recursive    	    -r	    	Scan directories recursively\n");
204
-    mprintf("    --infected		    -i		Print infected files only\n");
205
-    mprintf("    --remove				Remove infected files. Be careful.\n");
206
-    mprintf("    --move=DIRECTORY			Move infected files into DIRECTORY\n");
207
-    mprintf("    --exclude=PATT			Don't scan file names containing PATT\n");
208
-    mprintf("    --include=PATT			Only scan file names containing PATT\n");
209
-    mprintf("    --disable-summary			Disable summary at end of scanning\n");
210
-    mprintf("    --mbox		    -m		Treat stdin as a mailbox\n");
197
+    mprintf("    --tempdir=DIRECTORY                  create temporary files in DIRECTORY\n");
198
+    mprintf("    --database=FILE/DIR   -d FILE/DIR    Load virus database from FILE or load\n");
199
+    mprintf("                                         all .db and .db2 files from DIR\n");
200
+    mprintf("    --log=FILE            -l FILE        Save scan report in FILE\n");
201
+    mprintf("    --log-verbose                        Save additional informations\n");
202
+    mprintf("    --recursive           -r             Scan directories recursively\n");
203
+    mprintf("    --infected            -i             Print infected files only\n");
204
+    mprintf("    --remove                             Remove infected files. Be careful.\n");
205
+    mprintf("    --move=DIRECTORY                     Move infected files into DIRECTORY\n");
206
+    mprintf("    --exclude=PATT                       Don't scan file names containing PATT\n");
207
+    mprintf("    --include=PATT                       Only scan file names containing PATT\n");
208
+    mprintf("    --disable-summary                    Disable summary at end of scanning\n");
209
+    mprintf("    --mbox                -m             Treat stdin as a mailbox\n");
211 210
     mprintf("\n");
212
-    mprintf("    --disable-archive			Disable libclamav archive support\n");
213
-    mprintf("    --max-space=#n			Extract first #n kilobytes only\n");
214
-    mprintf("    --max-files=#n			Extract first #n files only\n");
215
-    mprintf("    --max-recursion=#n			Maximal recursion level\n");
216
-    mprintf("    --unzip[=FULLPATH]			Enable support for .zip files\n");
217
-    mprintf("    --unrar[=FULLPATH]			Enable support for .rar files\n");
218
-    mprintf("    --unace[=FULLPATH]			Enable support for .ace files\n");
219
-    mprintf("    --arj[=FULLPATH]			Enable support for .arj files\n");
220
-    mprintf("    --unzoo[=FULLPATH]			Enable support for .zoo files\n");
221
-    mprintf("    --lha[=FULLPATH]			Enable support for .lha files\n");
222
-    mprintf("    --jar[=FULLPATH]			Enable support for .jar files\n");
223
-    mprintf("    --tar[=FULLPATH]			Enable support for .tar files\n");
224
-    mprintf("    --deb[=FULLPATH to ar]    		Enable support for .deb files,\n");
225
-    mprintf("					implies --tgz , but doesn't conflict\n");
226
-    mprintf("					with --tgz=FULLPATH.\n");
227
-    mprintf("    --tgz[=FULLPATH]			enable support for .tar.gz, .tgz files\n\n");
211
+    mprintf("    --disable-archive                    Disable libclamav archive support\n");
212
+    mprintf("    --max-space=#n                       Extract first #n kilobytes only\n");
213
+    mprintf("    --max-files=#n                       Extract first #n files only\n");
214
+    mprintf("    --max-recursion=#n                   Maximal recursion level\n");
215
+    mprintf("    --unzip[=FULLPATH]                   Enable support for .zip files\n");
216
+    mprintf("    --unrar[=FULLPATH]                   Enable support for .rar files\n");
217
+    mprintf("    --unace[=FULLPATH]                   Enable support for .ace files\n");
218
+    mprintf("    --arj[=FULLPATH]                     Enable support for .arj files\n");
219
+    mprintf("    --unzoo[=FULLPATH]                   Enable support for .zoo files\n");
220
+    mprintf("    --lha[=FULLPATH]                     Enable support for .lha files\n");
221
+    mprintf("    --jar[=FULLPATH]                     Enable support for .jar files\n");
222
+    mprintf("    --tar[=FULLPATH]                     Enable support for .tar files\n");
223
+    mprintf("    --deb[=FULLPATH to ar]               Enable support for .deb files,\n");
224
+    mprintf("                                         implies --tgz , but doesn't conflict\n");
225
+    mprintf("                                         with --tgz=FULLPATH.\n");
226
+    mprintf("    --tgz[=FULLPATH]                     enable support for .tar.gz, .tgz files\n\n");
228 227
 
229 228
     exit(0);
230 229
 }
... ...
@@ -47,6 +47,7 @@ int main(int argc, char **argv)
47 47
 	    {"debug", 0, 0, 0},
48 48
 	    {"version", 0, 0, 'V'},
49 49
 	    {"tempdir", 1, 0, 0},
50
+	    {"config-file", 1, 0, 0}, /* clamdscan */
50 51
 	    {"database", 1, 0, 'd'},
51 52
 	    {"whole-file", 0, 0, 'w'}, /* not used */
52 53
 	    {"force", 0, 0, 0},
... ...
@@ -15,5 +15,5 @@
15 15
 #  along with this program; if not, write to the Free Software
16 16
 #  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
17 17
 
18
-EXTRA_DIST = clamscan.1 freshclam.1 sigtool.1 clamd.8 clamdscan.1 clamav.conf.5 clamav-milter.1 clamdoc.tex clamdoc.pdf DMS Spanish Japanese html FreeBSD-HowTo Portugese
19
-man_MANS = clamscan.1 freshclam.1 sigtool.1 clamd.8 clamav.conf.5 clamdscan.1 clamav-milter.1
18
+EXTRA_DIST = clamscan.1 freshclam.1 sigtool.1 clamd.8 clamdscan.1 clamav.conf.5 clamav-milter.8 clamdoc.pdf DMS Spanish Japanese html FreeBSD-HowTo Portugese Turkish
19
+man_MANS = clamscan.1 freshclam.1 sigtool.1 clamd.8 clamav.conf.5 clamdscan.1 clamav-milter.8
... ...
@@ -114,8 +114,8 @@ am__include = @am__include@
114 114
 am__quote = @am__quote@
115 115
 install_sh = @install_sh@
116 116
 
117
-EXTRA_DIST = clamscan.1 freshclam.1 sigtool.1 clamd.8 clamdscan.1 clamav.conf.5 clamav-milter.1 clamdoc.tex clamdoc.pdf DMS Spanish Japanese html FreeBSD-HowTo Portugese
118
-man_MANS = clamscan.1 freshclam.1 sigtool.1 clamd.8 clamav.conf.5 clamdscan.1 clamav-milter.1
117
+EXTRA_DIST = clamscan.1 freshclam.1 sigtool.1 clamd.8 clamdscan.1 clamav.conf.5 clamav-milter.8 clamdoc.pdf DMS Spanish Japanese html FreeBSD-HowTo Portugese Turkish
118
+man_MANS = clamscan.1 freshclam.1 sigtool.1 clamd.8 clamav.conf.5 clamdscan.1 clamav-milter.8
119 119
 subdir = docs
120 120
 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
121 121
 CONFIG_CLEAN_FILES =
122 122
deleted file mode 100644
... ...
@@ -1,49 +0,0 @@
1
-.TH "clamav-milter" "1" "June 21, 2003" "" "Clam AntiVirus"
2
-.SH "NAME"
3
-.LP 
4
-clamav\-milter \- milter compatible mail scanner
5
-.SH "SYNOPSIS"
6
-.LP 
7
-clamscan [options] socket_address
8
-.SH "DESCRIPTION"
9
-.LP 
10
-clamav\-milter is a filter for sendmail mail server. It uses a mail scanning engine built into clamd.
11
-.SH "OPTIONS"
12
-.LP 
13
-
14
-.TP 
15
-\fB\-h, \-\-help\fR
16
-Output the help information and exit.
17
-.TP 
18
-\fB\-V, \-\-version\fR
19
-Print the version number and exit.
20
-.TP 
21
-\fB\-c FILE, \-\-config\-file=FILE\fR
22
-By default clamav\-milter uses a default configuration file, this option allows you to specify another one.
23
-.TP 
24
-\fB\-x n, \-\-debug\-level=n\fR
25
-Set the debug level to n (where n from [0..9]).
26
-.TP 
27
-\fB\-b, \-\-bounce\fR
28
-Send a failure message to the sender.
29
-.TP 
30
-\fB\-l, \-\-local\fR
31
-Also scan messages sent from LAN.
32
-.TP 
33
-\fB\-o, \-\-outgoing\fR
34
-Scan outgoing messages from this machine.
35
-.TP 
36
-\fB\-\-server=ADDRESS, \-s ADDRESS\fR
37
-IP address of server running clamd (when using TCPsocket).
38
-.TP 
39
-\fB\-\-max\-children=n, \-m n\fR
40
-Maximum number of children.
41
-.SH "EXAMPLES"
42
-.LP 
43
-clamav\-milter \-\-max\-children=2 \-obl local:/var/run/clmilter.sock
44
-.SH "AUTHOR"
45
-.LP 
46
-clamav\-milter was written by Nigel Horne <njh@bandsman.co.uk>, the manual page was created by Tomasz Kojm <zolw@konarski.edu.pl>.
47
-.SH "SEE ALSO"
48
-.LP 
49
-clamd(8), clamscan(1), freshclam(1), sigtool(1), clamav.conf(5)
... ...
@@ -1,48 +1,48 @@
1
-.\" Manual page created by Tomasz Kojm, 1.10.2002.
2
-.TH "clamav.conf" "5" "June 6, 2003" "Tomasz Kojm" "Clam AntiVirus"
1
+.\" Manual page created by Tomasz Kojm, 20021001.
2
+.TH "clamav.conf" "5" "November 11, 2003" "Tomasz Kojm" "Clam AntiVirus"
3 3
 .SH "NAME"
4 4
 .LP 
5
-\fBclamav.conf\fR \- Configuration file for Clam AntiVirus Daemon
5
+\fBclamav.conf\fR \- a configuration file for Clam AntiVirus Daemon
6 6
 .SH "DESCRIPTION"
7 7
 .LP 
8
-The clamav.conf configures the Clam AntiVirus daemon, clamd(8).
8
+clamav.conf configures the Clam AntiVirus daemon, clamd(8).
9 9
 .SH "FILE FORMAT"
10
-The file consists of comments and options with arguments. Each line that starts with a hash (\fB#\fR) symbol is ignored. Everything is case sensitive. Options are of the form \fBOption Argument\fR, some options don't use arguments. There are few types of the arguments:
10
+The file consists of comments and options with optional arguments. Each line that starts with a hash (\fB#\fR) symbol is ignored. Option names are case sensitive and of the form \fBOption Argument\fR. There are a few types of arguments:
11 11
 .TP 
12 12
 \fBSTRING\fR
13
-String without a blank characters.
13
+String without blank characters.
14 14
 .TP 
15 15
 \fBSIZE\fR
16
-Size in bytes. You can use a 'M' or 'm' modifiers for megabytes and a 'K' or 'k' for kilobytes.
16
+Size in bytes. You can use the 'M' or 'm' modifiers for megabytes and 'K' or 'k' for kilobytes.
17 17
 .TP 
18 18
 \fBNUMBER\fR
19 19
 Unsigned integer.
20 20
 .SH "DIRECTIVES"
21 21
 .LP 
22
-When some option is not used (hashed or doesn't exist in the configuration file), clamd takes a default action.
22
+If some option is not used (hashed or doesn't exist in the configuration file), clamd takes a default action.
23 23
 .TP 
24 24
 \fBExample\fR
25
-When this option is set, clamd will stop and ask you to modify the configuration file.
25
+If this option is set clamd will not run.
26 26
 .TP 
27 27
 \fBLogFile STRING\fR
28
-Enable logging to a specified file.
28
+Enable logging to selected file.
29 29
 .br 
30 30
 Default: disabled.
31 31
 .TP 
32 32
 \fBLogFileUnlock\fR
33
-Disable the lock, that protects against running clamd with the same configuration multiple times. Enabling this option is not recommended.
33
+Disable a system lock that protects against running clamd with a same configuration multiple times.
34 34
 .br 
35 35
 Default: disabled.
36 36
 .TP 
37 37
 \fBLogFileMaxSize SIZE\fR
38
-Limit the size of the log file. When SIZE is reached, the logger is automatically disabled. Value of 0 disables the limit.
38
+Limit a size of a log file. The logger will be automatically disabled  if the file is greater than SIZE. Value of 0 disables the limit.
39 39
 .br 
40 40
 Default: 1M
41 41
 .TP 
42 42
 \fBLogTime\fR
43
-Log time information with each message.
43
+Log time with each message.
44 44
 .br 
45
-Default: disabled.
45
+Defayult: disabled.
46 46
 .TP 
47 47
 \fBLogSyslog\fR
48 48
 Use system logger (can work together with LogFile).
... ...
@@ -50,17 +50,22 @@ Use system logger (can work together with LogFile).
50 50
 Default: disabled.
51 51
 .TP 
52 52
 \fBPidFile STRING\fR
53
-Save the process identifier of the listening daemon (main thread) to a specified file.
53
+Save a process identifier of a listening daemon (main thread) to a specified file.
54 54
 .br 
55 55
 Default: disabled.
56 56
 .TP 
57 57
 \fBDataDirectory STRING\fR
58
-Path to the directory containing database files.
58
+Path to a directory containing database files.
59 59
 .br 
60 60
 Default: hardcoded directory.
61 61
 .TP 
62 62
 \fBLocalSocket STRING\fR
63
-Path to the local (Unix) socket the daemon will listen on.
63
+Path to a local (Unix) socket the daemon will listen on.
64
+.br 
65
+Default: disabled.
66
+.TP 
67
+\fBFixStaleSocket\fR
68
+Remove stale socket after unclean shutdown.
64 69
 .br 
65 70
 Default: disabled.
66 71
 .TP 
... ...
@@ -69,13 +74,18 @@ TCP port number the daemon will listen on.
69 69
 .br 
70 70
 Default: disabled.
71 71
 .TP 
72
+\fBTCPAddr STRING\fR
73
+TCP address to bind to. By default clamd binds to INADDR_ANY.
74
+.br 
75
+Default: disabled.
76
+.TP 
72 77
 \fBMaxConnectionQueueLength NUMBER\fR
73 78
 Maximum length the queue of pending connections may grow to.
74 79
 .br 
75 80
 Default: 15
76 81
 .TP 
77 82
 \fBMaxThreads NUMBER\fR
78
-Maximal number of a threads running at the same time.
83
+Maximal number of threads running at the same time.
79 84
 .br 
80 85
 Default: 5.
81 86
 .TP 
... ...
@@ -85,7 +95,7 @@ Stop thread\-scanner after specified time (in seconds). Value of 0 disables the
85 85
 Default: 180
86 86
 .TP 
87 87
 \fBMaxDirectoryRecursion NUMBER\fR
88
-Maximal depth the directories are scanned at.
88
+Maximal depth a directories are scanned at.
89 89
 .br 
90 90
 Default: disabled.
91 91
 .TP 
... ...
@@ -95,24 +105,24 @@ Follow a directory symlinks. You should have enabled directory recursion limit t
95 95
 Default: disabled.
96 96
 .TP 
97 97
 \fBFollowFileSymlinks\fR
98
-Follow a regular file symlinks.
98
+Follow regular file symlinks.
99 99
 .br 
100 100
 Default: disabled.
101 101
 .TP 
102 102
 \fBSelfCheck NUMBER\fR
103
-Do internal checks every NUMBER seconds. In some cases it's able to fix a problem (eg. rebuild a broken graph).
103
+Do internal checks every NUMBER seconds.
104 104
 .br 
105 105
 Default: 3600
106 106
 .TP 
107 107
 \fBVirusEvent COMMAND\fR
108
-Execute COMMAND when virus is found. In the command string %v and %f will be replaced by the virus name and the infected file name respectively.
109
-\fBSECURITY WARNING: Make sure the virus event command cannot be exploited, eg. by using some special file name when %f is used. Always use a full path to the command. Never delete/move files with this directive !
108
+Execute the COMMAND when virus is found. In the command string %v and %f will be replaced by a virus name and an infected file name respectively.
109
+\fBSECURITY WARNING: Make sure the virus event command cannot be exploited eg. by using some special file name when %f is in use. Always use a full path to the command. Never delete/move files with this directive !
110 110
 \fR
111 111
 .br 
112 112
 Default: disabled.
113 113
 .TP 
114 114
 \fBUser STRING\fR
115
-When started by root, drop priviledges to a specified user.
115
+Drop priviledges to a selected user.
116 116
 .br 
117 117
 Default: disabled.
118 118
 .TP 
... ...
@@ -126,17 +136,21 @@ Don't fork into background. Useful in debugging.
126 126
 .br 
127 127
 Default: disabled.
128 128
 .TP 
129
+\fBDebug\fR
130
+Enable debug messages from libclamav. You need to enable the \fBForeground\fR option to see them.
131
+.TP 
129 132
 \fBStreamSaveToDisk\fR
130
-When activated, input stream (see STREAM command) will be saved to disk before scanning \- this allows scanning within archives.
133
+When activated the input stream (see STREAM command) will be saved to disk before scanning \- this allows scanning within archives.
131 134
 .br 
132 135
 Default: disabled.
133 136
 .TP 
134 137
 \fBStreamMaxLength SIZE\fR
135
-Close the connection if this limit is exceeded
138
+Close the connection when this limit is exceeded.
136 139
 .br 
137 140
 Default: disabled.
141
+.TP 
138 142
 \fBScanMail\fR
139
-Enable scanning of mail files.
143
+Enable scanning of Mbox, Maildir and raw mail files.
140 144
 .br 
141 145
 Default: disabled.
142 146
 .TP 
... ...
@@ -145,6 +159,11 @@ Enable archive scanning.
145 145
 .br 
146 146
 Default: disabled.
147 147
 .TP 
148
+\fBScanRAR\fR
149
+The built\-in RAR unpacker is disabled by default because the code leaks.
150
+.br 
151
+Default: disabled.
152
+.TP 
148 153
 \fBArchiveMaxFileSize SIZE\fR
149 154
 Files in archives larger than this limit won't be scanned. Value of 0 disables the limit.
150 155
 .br 
... ...
@@ -186,7 +205,7 @@ Scan a file on execute.
186 186
 Default: disabled.
187 187
 .TP 
188 188
 \fBClamukoIncludePath STRING\fR
189
-Set the include paths (all files and directories in them will be scanned). You can have multiple ClamukoIncludePath options, but each directory must be added in a seperate option.
189
+Set the include paths (all files and directories in them will be scanned). You can have multiple ClamukoIncludePath options but each directory must be added with a seperate option.
190 190
 .br 
191 191
 Default: disabled. Required.
192 192
 .TP 
... ...
@@ -211,7 +230,7 @@ Default: disabled.
211 211
 /usr/local/etc/clamav.conf
212 212
 .SH "AUTHOR"
213 213
 .LP 
214
-Tomasz Kojm <zolw@konarski.edu.pl>
214
+Tomasz Kojm <tkojm@clamav.net>
215 215
 .SH "SEE ALSO"
216 216
 .LP 
217
-clamd(8), clamdscan(1), clamscan(1), freshclam(1), sigtool(1)
217
+clamd(8), clamdscan(1), clamscan(1), freshclam(1), sigtool(1), clamav\-milter(8)
... ...
@@ -1,5 +1,5 @@
1
-.\" Manual page created by Tomasz Kojm, 29.09.2002
2
-.TH "Clam Daemon" "8" "June 21, 2003" "Tomasz Kojm" "Clam AntiVirus"
1
+.\" Manual page created by Tomasz Kojm, 20020929
2
+.TH "Clam Daemon" "8" "November 11, 2003" "Tomasz Kojm" "Clam AntiVirus"
3 3
 .SH "NAME"
4 4
 .LP 
5 5
 clamd \- an anti\-virus daemon
... ...
@@ -17,10 +17,10 @@ clamd recognizes the following commands:
17 17
 Check the server's state. It should reply with "PONG".
18 18
 .TP 
19 19
 \fBVERSION\fR
20
-Print the version information.
20
+Print a version information.
21 21
 .TP 
22 22
 \fBRELOAD\fR
23
-Reload the databases.
23
+Reload the virus databases.
24 24
 .TP 
25 25
 \fBQUIT\fR
26 26
 Perform a clean exit.
... ...
@@ -32,7 +32,7 @@ Scan a file or directory (recursively) with archive support enabled (if not disa
32 32
 Scan a file or directory (recursively) with archive support disabled. A full path is required.
33 33
 .TP 
34 34
 \fBCONTSCAN file/directory\fR
35
-Scan a file or directory (recursively) with archive support enabled and continue scanning even when virus was found. A full path is required.
35
+Scan a file or directory (recursively) with archive support enabled and continue scanning even when virus is found. A full path is required.
36 36
 .TP 
37 37
 \fBSTREAM\fR
38 38
 Scan stream \- on this command clamd will return "PORT number" and you can connect to that port and send a data to scan.
... ...
@@ -47,12 +47,12 @@ Output help information and exit.
47 47
 Print the version number and exit.
48 48
 .TP 
49 49
 \fB\-c FILE, \-\-config\-file=FILE\fR
50
-Read the configuration from FILE.
50
+Read configuration from FILE.
51 51
 .SH "CREDITS"
52 52
 Please check the full documentation for credits.
53 53
 .SH "AUTHOR"
54 54
 .LP 
55
-Tomasz Kojm <zolw@konarski.edu.pl>
55
+Tomasz Kojm <tkojm@clamav.net>
56 56
 .SH "SEE ALSO"
57 57
 .LP 
58
-clamdscan(1), clamscan(1), freshclam(1), sigtool(1), clamav.conf(5)
58
+clamdscan(1), clamscan(1), freshclam(1), sigtool(1), clamav.conf(5), clamav\-milter(8)
59 59
Binary files a/clamav-devel/docs/clamdoc.pdf and b/clamav-devel/docs/clamdoc.pdf differ
60 60
deleted file mode 100644
... ...
@@ -1,1121 +0,0 @@
1
-% Clam AntiVirus: User Manual
2
-% (c) 2002, 2003 Tomasz Kojm <zolw@konarski.edu.pl>
3
-% Version 0.2x corrected by Dennis Leeuw <dleeuw@made-it.com>
4
-\documentclass[a4paper,titlepage,12pt]{article}
5
-\usepackage{amssymb}
6
-\usepackage{pslatex}
7
-\usepackage[dvips]{graphicx}
8
-\usepackage{wrapfig}
9
-\usepackage{url}
10
-%\usepackage{fancyhdr}
11
-\usepackage{fancybox}
12
-\usepackage{titlesec}
13
-\cornersize{.4}
14
-%\fancyhf{}
15
-\headheight 14pt
16
-
17
-\usepackage{color}
18
-\definecolor{grey1}{gray}{0.8}
19
-\definecolor{grey2}{gray}{0.3}
20
-
21
-% Based on Antonina Liedtke's article in Linux+ 6/2003
22
-\def\greyp{%
23
-    \unitlength=1mm%
24
-    \begin{picture}(0,0)
25
-	\put(0,-1.5){\textcolor{grey1}{\rule{12.9cm}{5.3mm}}\textcolor{grey2}%
26
-	{\rule{9mm}{5.3mm}}\hss}
27
-    \end{picture}
28
-}
29
-
30
-\usepackage{fancyhdr}
31
-\pagestyle{fancy}
32
-\fancyhead{}
33
-\fancyfoot{}
34
-\renewcommand{\headrulewidth}{0pt}
35
-\fancyhead[RO]{\textbf{\sffamily{{\textcolor{white}{\thepage}}~}}}
36
-\fancyhead[RE]{\footnotesize{\nouppercase{\rightmark~}}}
37
-\fancyhead[LO]{\footnotesize{\greyp{\nouppercase{\leftmark}}}}
38
-
39
-
40
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%
41
-
42
-
43
-%\fancyhead[L,RO]{\small\bfseries\thepage}
44
-%\fancyhead[LO]{\small\bfseries{CLAM ANTIVIRUS: USER MANUAL}}
45
-\date{}
46
-
47
-\newcommand{\pl}{\vspace{.3cm}}
48
-\newcommand{\rc}[2]{\textbf{#1: } #2\\[4pt]}
49
-\newcommand{\up}[2]{\textbf{--#1: } #2\\[4pt]}
50
-\newcommand{\email}[1]{\texttt{#1}}
51
-\newcommand{\cons}[1]{\vspace{2mm} \noindent \ovalbox {\sffamily #1}
52
-		      \vspace{2mm}}
53
-
54
-\begin{document}
55
-    \setcounter{page}{0}
56
-
57
-    \pagestyle{empty}
58
-    %\includegraphics[width=350pt]{clam.eps}
59
-    \begin{center}
60
-	\huge Clam AntiVirus: User Manual \\
61
-	\vspace{1cm}
62
-	\LARGE version 0.60 \\
63
-	\vspace{5cm}
64
-	\LARGE Tomasz Kojm
65
-    \end{center}
66
-
67
-    \newpage
68
-    \pagestyle{fancy}
69
-    \tableofcontents
70
-    \newpage
71
-
72
-
73
-    \section{Introduction}
74
-
75
-
76
-    Clam AntiVirus is an anti-virus toolkit for UNIX. The main purpose of this
77
-    software is the integration with mail servers (attachment scanning).
78
-    The package provides a flexible and scalable multi-threaded daemon, a
79
-    command line scanner, and a tool for automatic updating via Internet. The
80
-    programs are based on a shared library distributed with the Clam AntiVirus
81
-    package, which you can use with your own software. The virus database
82
-    is based on the virus database from OpenAntiVirus.org, but contains
83
-    additional signatures (including signatures for popular polymorphic viruses,
84
-    too) and is \textbf{kept up to date}.
85
-
86
-    \subsection{Features}
87
-
88
-    \begin{itemize}
89
-	\item{GNU GPL v2 license}
90
-	\item{POSIX compliant, portable}
91
-	\item{Secure}
92
-	\item{Very fast}
93
-	\item{Multi-threaded}
94
-	\item{User friendly}
95
-	\item{On-access scanning (Linux only)}
96
-	\item{Detects over 7000 viruses, worms and trojans}
97
-	\item{Supports compressed files and archives}
98
-	\item{Built-in support for RAR (2.0), Zip, Gzip, Bzip2}
99
-    \end{itemize}
100
-
101
-    \subsection{Mailing lists}
102
-    There are four mailing lists available:
103
-    \begin{itemize}
104
-    \item \textbf{announce@clamav.elektrapro.com} - info about new versions\\
105
-    (including debian package releases), moderated\footnote{That means, the
106
-    subscribers are not allowed to write into the mailing list}.
107
-    \item \textbf{users@clamav.elektrapro.com} - user questions
108
-    \item \textbf{devel@clamav.elektrapro.com} - developement
109
-    \item \textbf{virusdb@clamav.elektrapro.com} - database update information
110
-    \end{itemize}
111
-
112
-    \noindent You can subscribe by sending an empty email to\\
113
-    listname-subscribe@clamav.elektrapro.com, or via www at\\
114
-    \indent \url{http://clamav.elektrapro.com/ml}\\
115
-    After subscribing you must reply to a special message sent at your address.
116
-
117
-    \noindent Mailing lists are archived at: \\
118
-    \indent \url{http://archive.elektrapro.com/clamav.elektrapro.com/users/}\\
119
-    \indent \url{http://archive.elektrapro.com/clamav.elektrapro.com/devel/}\\
120
-
121
-
122
-    \subsection{Virus submitting}
123
-    If you have a virus that is not detected by ClamAV with the latest database,
124
-    please send it (as a normal attachment) to:
125
-    \begin{center}
126
-	\email{virus@clamav.elektrapro.com}
127
-    \end{center}
128
-    If your system doesn't allow you to send infected files, please
129
-    archive the virus sample into a zip archive with password: \emph{virus}
130
-
131
-
132
-
133
-    \section{Installation}
134
-
135
-    \subsection{Requirements}
136
-    You will need the \emph{zlib} and \emph{zlib-devel} packages and the
137
-    \emph{gcc} compiler (both 2.9x and 3.x are supported). You can install
138
-    the \emph{bzip2} library (and its development files) to get bzip2
139
-    support, but this is not required.
140
-
141
-    \subsection{Supported platforms}
142
-    Clam AntiVirus is prepared for the installation on the following
143
-    operating systems / architectures (tested platforms in brackets):
144
-    \begin{itemize}
145
-	\item{GNU/Linux 2.2/2.4 (All flavours, Intel/SPARC/Alpha/zSeries/S/390)}
146
-	\item{Solaris 2.6/7/8/9 (Intel/SPARC)}
147
-	\item{FreeBSD 4.5/6/7 5.0 (Intel/Alpha)}
148
-	\item{OpenBSD 3.0/1/2 (Intel)}
149
-	\item{AIX 4.1/4.2/4.3/5.1 (RISC 6000)}
150
-	\item{HPUX 11.0}
151
-	\item{SCO UNIX}
152
-	\item{Mac OS X}
153
-	\item{BeOS}
154
-	\item{Cobalt MIPS boxes (RAQ1, RAQ2, QUBE2)}
155
-	\item{Windows/Cygwin}
156
-    \end{itemize}
157
-
158
-    Some features may not be available with your operating system. If you have
159
-    run Clam AntiVirus on the system not listed above, please let us know.
160
-
161
-    \subsection{Actual versions}
162
-    Clam AntiVirus can be obtained from: \\[4pt]
163
-    \begin{center}
164
-	\url{http://clamav.elektrapro.com}\pl
165
-    \end{center}
166
-
167
-    \noindent The site is sponsored by ElektraPro.com
168
-
169
-    \subsection{Binary packages}
170
-    There are high quality \emph{deb} and \emph{rpm} packages available
171
-    for Linux. The Debian package is maintained by Magnus Ekdahl and you will
172
-    find it on debian mirrors, \url{http://www.debian.org}.
173
-    The RPM package is maintained by Arkadiusz Miskiewicz and is distributed
174
-    with Polish(ed) Linux Distribution (\url{ftp://ftp.pld.org.pl}). There is
175
-    also the RPM package for Mandrake available, it's maintained by Oden
176
-    Eriksson and can be found on Mandrake mirrors.
177
-    The binary packages for AIX are available in AIX PDSLIB, UCLA
178
-    \url{http://aixpdslib.seas.ucla.edu/packages/clamav.html}. The official
179
-    FreeBSD port is maintained by Masahiro Teramoto. The unofficial port
180
-    for OpenBSD (maintained by Flinn Mueller) is available at:\\
181
-    \url{http://www.activeintra.net/openbsd/article.php?id=5}.
182
-
183
-
184
-
185
-    \subsection{Installation}
186
-
187
-    \noindent
188
-    Please read the README file in the current version, because it probably
189
-    contains some important release notes.
190
-    If you are installing Clam AV for the first time, you have to add a new user
191
-    and group to your system - \emph{clamav}: \footnote{Cygwin note:
192
-    If you don't have /etc/passwd, you don't need the \emph{clamav} user/group.}
193
-
194
-    \begin{verbatim}
195
-	# groupadd clamav
196
-	# useradd -g clamav -s /bin/false -c "Clam AntiVirus" clamav
197
-    \end{verbatim}
198
-
199
-    The above method works on Linux and Solaris, if you don't have
200
-    \emph{groupadd, useradd} please consult your system manual - the section
201
-    about creating new users and groups.
202
-    If you are not a system administrator or won't be using \textbf{clamscan}
203
-    in superuser mode, you may omit this step with the option
204
-    \emph{--disable-clamav} passed to the \emph{configure} script:
205
-    \begin{verbatim}
206
-	$ ./configure --disable-clamav 
207
-    \end{verbatim}
208
-    This disables test for the \emph{clamav} user and group. \textbf{clamscan}
209
-    still requires \emph{clamav} for superuser mode. Please don't set a password
210
-    on this account, just assure it's locked with "\textbf{!}" in
211
-    \emph{/etc/passwd} or \emph{/etc/shadow}. It must be a normal, unprivileged
212
-    user. Don't add it to any supplementary groups.\pl
213
-
214
-    \noindent
215
-    After you have created the clamav user/group, extract the archive:
216
-    \begin{verbatim}
217
-	$ zcat clamav-x.yz.tar.gz | tar xvf -
218
-	$ cd clamav-x.yz
219
-    \end{verbatim}
220
-    Assuming you want the configuration file installed in /etc, configure
221
-    the package as follows:
222
-    \begin{verbatim}
223
-	$ ./configure --sysconfdir=/etc
224
-    \end{verbatim}
225
-    Currently \emph{gcc} is required for the compilation. Support for other
226
-    compilers will be added in a near future.
227
-    \begin{verbatim}
228
-	$ make
229
-	$ su -c "make install"
230
-    \end{verbatim}
231
-    In the last step the software is installed in the /usr/local directory
232
-    and the config file in /etc.
233
-    \textbf{WARNING: Never set SUID/SGID bit on Clam AntiVirus programs.}
234
-
235
-    \subsection{Configuration}
236
-    If you are going to use the daemon, you need to configure it.
237
-
238
-    \begin{verbatim}
239
-	$ clamd
240
-	ERROR: Please edit the example config file
241
-	       /etc/clamav.conf.
242
-    \end{verbatim}
243
-
244
-    Now you know, where the configuration file is located ;). The format and
245
-    options of this file are fully described in the \emph{clamav.conf(5)}
246
-    manual. clamd configuration is rather easy, the config file is well
247
-    commented. Remember, you must remove the "Example" directive.
248
-
249
-    Another feature of clamd is on-access scanning based on the Dazuko module,
250
-    available from \url{http://dazuko.org}. \textbf{This is not required to
251
-    run clamd, furthermore you shouldn't run Dazuko on production systems}.
252
-    A special thread in clamd responsible for the communication with Dazuko
253
-    is called "Clamuko" (it's due to the funny name of Dazuko - I don't know
254
-    what Clamuko means). Clamuko is supported on Linux 2.2 and 2.4 only.
255
-    Dazuko instalation:
256
-
257
-
258
-    \begin{verbatim}
259
-	$ tar zxpvf dazuko-a.b.c.tar.gz
260
-	$ cd dazuko-a.b.c
261
-	$ make dazuko
262
-	or
263
-	$ make dazuko-smp (for smp kernels)
264
-	$ su
265
-	# insmod dazuko.o
266
-	# cp dazuko.o /lib/modules/`uname -r`/misc
267
-	# depmod -a
268
-    \end{verbatim}
269
-
270
-    Depending on your Linux distribution you have to add "dazuko" entry to\\
271
-    \emph{/etc/modules} or the following line:
272
-    \begin{verbatim}
273
-	modprobe dazuko
274
-    \end{verbatim}
275
-    to some startup file to load dazuko at the boot time. You must also create
276
-    the \emph{/dev/dazuko} device:
277
-    \begin{verbatim}
278
-	$ cat /proc/devices | grep dazuko
279
-	254 dazuko
280
-	$ su -c "mknod -m 600 /dev/dazuko c 254 0"
281
-    \end{verbatim}
282
-    Now you must configure Clamuko in \emph{clamav.conf}. Please check
283
-    \ref{clamuko} section.
284
-
285
-
286
-    \subsection{Testing}
287
-
288
-    OK. Let's do some tests. Try to scan the source directory recursively:
289
-    \begin{verbatim}
290
-	$ clamscan -r -l scan.txt clamav-x.yz
291
-    \end{verbatim}
292
-    It should find the viruses in the clamav-x.yz/test directory. You may
293
-    check it in the created log - scan.txt. \textbf{You will find more about
294
-    clamscan options in the clamscan(1) manual. \footnote{Please run \emph{man
295
-    clamscan}}}
296
-    To test clamd first start it and then use clamdscan (you can also connect
297
-    directly to clamd and run the SCAN command):
298
-    \begin{verbatim}
299
-	$ clamdscan -l scan.txt clamav-x.yz
300
-    \end{verbatim}
301
-
302
-    \subsection{FreshClam: Setting up auto-updating}
303
-    The \emph{freshclam} utility is the default database updater for Clam
304
-    AntiVirus. It works in two modes:
305
-    \begin{itemize}
306
-	\item interactive - from command line
307
-	\item as a daemon - works alone, silently
308
-    \end{itemize}
309
-    When started by the superuser it drops the privileges, by default it works
310
-    as \emph{clamav}. \emph{freshclam} downloads the database from the Clam
311
-    AntiVirus homepage and checks its consistency using MD5 sum.
312
-    process for Clam AntiVirus.
313
-    \textbf{Run \emph{freshclam} (as root) without any parameters to check
314
-    is it working correctly}. If everything is OK, create the log file in
315
-    /var/log owned by \emph{clamav}:
316
-    \begin{verbatim}
317
-	# touch /var/log/clam-update.log
318
-	# chmod 600 /var/log/clam-update.log
319
-	# chown clamav /var/log/clam-update.log
320
-    \end{verbatim}
321
-    Now you can run \emph{freshclam} as a daemon:
322
-    \begin{verbatim}
323
-	# freshclam -d -c 2 -l /var/log/clam-update.log
324
-    \end{verbatim}
325
-    It will check for a new database 2 times a day. Please add the above line
326
-    to your startup scripts. The other way is to use the \emph{cron} daemon.
327
-    You have to add a similar line to the crontab of \textbf{root} or
328
-    \textbf{clamav}:
329
-    {\small
330
-    \begin{verbatim}
331
-0 8	* * *	/usr/local/bin/freshclam --quiet -l /var/log/clam-update.log
332
-    \end{verbatim}}
333
-    \noindent It will check for a new database daily at 8 am. You may need
334
-    to setup the proxy support on your system. You should set the environment
335
-    variable \emph{\$http\_proxy}, eg.
336
-    \begin{verbatim}
337
-	export http_proxy="my.proxy.server:8080"
338
-    \end{verbatim}
339
-    There is also \emph{--http-proxy} and \emph{--proxy-user} option available.
340
-
341
-    \subsection{FreshClam: Mirrors and mirrors.txt}
342
-    The main server is \url{clamav.elektrapro.com} and there are the following
343
-    mirrors available:
344
-    \begin{itemize}
345
-	\item \url{clamav.ozforces.com} - database mirror updated manually
346
-	\item \url{clamav.essentkabel.com} - full mirror of the main site
347
-	      updated automatically
348
-	\item \url{clamav.linux-sxs.org} - database mirror (rsync from ozforces)
349
-    \end{itemize}
350
-    In the database directory you will find \emph{mirror.txt} file, which
351
-    freshclam reads each time it tries to download the new database. It
352
-    uses the first server from the file and switches to another one (and
353
-    remembers that position for some time) when the previous is not available.
354
-    You can modify that file if you will find some mirror faster, however
355
-    this is not recommended.
356
-
357
-
358
-    \section{Usage}
359
-
360
-    \subsection{Clam daemon}\label{clamd}
361
-    \emph{clamd} is a fully multi-threaded daemon, based on \emph{libclamav}.
362
-    It's able to work in one of the two modes, using:
363
-    \begin{itemize}
364
-	\item Unix (local) sockets
365
-	\item TCP sockets
366
-    \end{itemize}
367
-    The daemon is configured by the \emph{clamav.conf} file. You will find
368
-    a description of all the options in the \textbf{clamav.conf(5)} manual.
369
-    \emph{clamd} recognizes the following commands:
370
-    \begin{itemize}
371
-	\item \textbf{PING}\\
372
-	    Check server's state. It should reply with "PONG".
373
-	\item \textbf{VERSION}\\
374
-	    Print the version information.
375
-	\item \textbf{RELOAD}\\
376
-	    Reload the databases.
377
-	\item \textbf{QUIT}\\
378
-	    Perform a clean exit.
379
-	\item \textbf{SCAN file/directory}
380
-	    Scan a file or directory (recursively) with archive support. A
381
-	    full path is required.
382
-	\item \textbf{RAWSCAN file/directory}
383
-	    Scan a file or directory (recursively) with archive support
384
-	    disabled. A full path is required.
385
-	\item \textbf{CONTSCAN file/directory}
386
-	    Scan a file or directory (recursively) with archive
387
-	    support enabled and  continue  scanning  even  when
388
-	    virus was found. A full path is required.
389
-	\item \textbf{STREAM}
390
-	    Scan stream - on this command clamd will return "PORT number"
391
-	    and you can connect to that port and send a data to scan.
392
-
393
-    \end{itemize}
394
-    Internal threads (except clamuko) are ignoring all external signals.
395
-    The main thread handles \emph{SIGTERM} and \emph{SIGINT} signals
396
-    and performs a proper exit when one of them is caught.
397
-
398
-    \subsection{Clamuko}\label{clamuko}
399
-    Clamuko is a special thread in \emph{clamd}, that performs on-access
400
-    scanning under Linux. It was implemented as a thread in clamd because
401
-    of Dazuko implementation. Client (clamuko) - server (clamd) model is
402
-    currently not supported by Dazuko. There are some benefits from
403
-    current implementation - clamuko is sharing the database with clamd,
404
-    and it's updated with the RELOAD command. \textbf{You must obey the
405
-    following principles when using clamuko:}
406
-    \begin{itemize}
407
-	\item Always stop the daemon cleanly, with QUIT command or
408
-	      SIGTERM signal. In other case, you can lose an access
409
-	      to the protected files until the system is restarted.
410
-	\item Never protect the directory your mail-scanner software
411
-	      uses for attachments unpacking. Access to all infected
412
-	      files will be blocked, and the scanner (even clamd)
413
-	      won't be able to detect a virus. Infected mail will be
414
-	      delivered.
415
-    \end{itemize}
416
-    You need to enable clamuko in \emph{clamav.conf}. To protect directory
417
-    /home, please use the option:
418
-    \begin{verbatim}
419
-	ClamukoIncludePath /home
420
-    \end{verbatim}
421
-    To protect the whole system:
422
-    \begin{verbatim}
423
-	ClamukoIncludePath /
424
-	ClamukoExcludePath /proc
425
-	ClamukoExcludePath /tempdir/of/mail/scanner
426
-    \end{verbatim}
427
-    You can use clamuko to protect file access on Samba/Netatalk. NFS
428
-    is not supported (Dazuko doesn't intercept NFS access calls). Another
429
-    idea - you can build a database containing a signatures of the popular
430
-    exploits, it will protect you against script-kiddies.
431
-
432
-    \subsection{Archives and compressed files}
433
-    Clam AntiVirus depends on LibClamAV. It has built-in support for the
434
-    following formats:
435
-    \begin{itemize}
436
-	\item Zip
437
-	\item Gzip
438
-	\item RAR (2.0 only)
439
-    \end{itemize}
440
-    Archive files are detected by checking a magic strings.\footnote{Just like
441
-    the file(1) command.}
442
-    You need the zlib library for the Zip/Gzip support. Zip archives are
443
-    accessed with the zziplib library by Guido Draheim and Tomi Ollila.
444
-    RAR support is based on the UniquE RAR File Library by Christian Scheurer
445
-    and Johannes Winkelmann. Both of them are included and slightly modified
446
-    in the clamav sources. Unrarlib supports RAR 2.0 archives only and
447
-    according to Christian the new format (introduced in WinRAR 3.0) won't
448
-    be supported. 
449
-
450
-    The daemon scans archives supported by libclamav only. Clamscan tries
451
-    to scan an archive with built-in code, but when it fails it's able
452
-    to switch to the external unpacker:
453
-    \begin{verbatim}
454
-	$ clamscan --unrar rarfail.rar
455
-	/home/zolw/Clam/test/rarfail.rar: RAR module failure.
456
-
457
-	UNRAR 3.00 freeware      Copyright (c) 1993-2002 Eugene Roshal
458
-
459
-
460
-	Extracting from /home/zolw/Clam/test/rarfail.rar
461
-
462
-	Extracting  test1                                           OK 
463
-	All OK
464
-	/tmp/44694f5b2665d2f4/test1: ClamAV-Test-Signature FOUND
465
-	/home/zolw/Clam/test/rarfail.rar: Infected Archive FOUND
466
-    \end{verbatim}
467
-
468
-    clamscan supports many popular compressors - it uses external programs
469
-    for each format. \textbf{If the scanner runs with superuser privileges
470
-    unpackers are executed with \emph{clamav} privileges, which makes the
471
-    process far more secure.} It also makes sure, that \emph{clamav} user
472
-    has read access to all scanned compressed files.  \textbf{You should have
473
-    enabled recursive scanning with the \emph{-r} option (\emph{--recursive}),
474
-    if you want to scan the whole content of the archive (with subdirectories)},
475
-    also all archives in archives will be recursively scanned - just everything.    If files in archives are virus free the archive itself is scanned - just
476
-    for prevention (it may not be an archive). Please look at the options
477
-    below, each option has an optional argument - the absolute path to unpacker.
478
-    If it can't be found in \emph{\$PATH} please supply it. \emph{Because Clam
479
-    AntiVirus uses the standard GNU options format, the long options with
480
-    optional arguments, you \textbf{must} remember about the $=$ between option
481
-    and argument.  So the proper way to supply the optional arguments is for
482
-    example --unzip=/path/to/unzip.} \\[5pt]
483
-
484
-    \noindent
485
-    \up{unzip}{You probably don't need this option, because Zip is supported
486
-	       by libclamav. But if libclamav will fail to unzip some file,
487
-	       it may be useful.
488
-	       clamscan was tested with \emph{UnZip 5.41 of 16 April 2000,
489
-	       by Info-ZIP}.}
490
-    \up{unrar}{Tested with \emph{UNRAR 3.00 freeware}.}
491
-    \up{unace}{It uses options supported by \emph{UNACE v1.2 public version},
492
-	       not tested, but should work.}
493
-    \up{arj}{Tested with \emph{arj 3.10b}.}
494
-    \up{zoo}{Tested with \emph{zoo 2.1}.}
495
-    \up{lha}{Tested with \emph{LHa for Unix V 1.14e}.}
496
-    \up{jar}{CA uses \emph{unzip} for .jar files. Tested with \emph{UnZip 5.41
497
-	     of 16 April 2000, by Info-ZIP}.}
498
-    \up{tar}{This option supports non-compressed archives. Tested with
499
-	     \emph{GNU tar 1.13.17}.}
500
-    \up{deb}{This option supports debian binary packages. Tested with
501
-	     \emph{GNU ar\\ 2.12.90.0.14}. Implies --tgz , but doesn't conflict
502
-	     with --tgz=FULLPATH.}
503
-    \up{tgz}{This option supports .tar.gz and .tgz files. You need \emph{GNU
504
-	     tar}, on non-Linux system you probably have it as \emph{gtar}
505
-	     and if this is in \emph{\$PATH} just use \emph{--tgz=gtar} or
506
-	     supply the full path to this command as an argument.}
507
-
508
-
509
-    \subsection{Output format}
510
-    \emph{clamd} uses clamscan compatible (see below) output format.
511
-    \begin{verbatim}
512
-	zolw@Wierszokleta:~$ telnet localhost 3310
513
-	Trying 127.0.0.1...
514
-	Connected to localhost.
515
-	Escape character is '^]'.
516
-	SCAN /home/zolw/infected
517
-	/home/zolw/infected/sobre.com: W32/Magistr.B FOUND
518
-	Connection closed by foreign host.
519
-    \end{verbatim}
520
-    In \textbf{SCAN} mode it closes the connection when first virus is found.
521
-    In the case of archives, the output is exactly the same as with normal
522
-    files:
523
-    \begin{verbatim}
524
-	SCAN /home/zolw/Clam/test/test2.zip
525
-	/home/zolw/Clam/test/test2.zip: ClamAV-Test-Signature FOUND
526
-    \end{verbatim}
527
-    \textbf{CONTSCAN} displays all infected files found.\\
528
-    Error messages are printed in the following format:
529
-    \begin{verbatim}
530
-	SCAN /no/such/file
531
-	/no/such/file: Can't stat() the file ERROR
532
-    \end{verbatim}
533
-    and they can be easily parsed.
534
-
535
-    \emph{clamscan} writes all messages (only help is written to \textbf{stdout}    by default) to \textbf{stderr}. In some situations
536
-    you may want to redirect it to \textbf{stdout} with \emph{--stdout}.
537
-    \emph{stdout} in contrast to \emph{stderr} is buffered, that's why
538
-    \emph{clamscan} flushes this buffer after each message, to prevent
539
-    the creation of trashes on the output. During scanning it writes something
540
-    like this:
541
-    \begin{verbatim}
542
-	/TEST/test: OK
543
-	/TEST/Makefile: OK
544
-	/TEST/getopt.c: OK
545
-	/TEST/virfile: Phantom #1 FOUND
546
-    \end{verbatim}
547
-    When a virus is found, its name is printed between \emph{filename:} and
548
-    \emph{FOUND}.
549
-    If a virus is found in an archive scanned with an external unpacker
550
-    it's noticed with \emph{Infected Archive}. "Infected Archives" are not
551
-    counted as infected files - just files in them are. Please note the
552
-    difference between an internal unarchiving - because it's realized
553
-    transparently by the libclamav, clamscan doesn't even know the file is
554
-    an archive.
555
-
556
-    \subsection{Signature Tool}
557
-    \emph{sigtool} automates signature creation. If you have an infected file,
558
-    which isn't detected by ClamAV, but it is by another anti-virus scanner
559
-    working in the console, you can create the signature easily.
560
-    \emph{Example of usage:}
561
-    Create a random file and put the \textbf{test1} file content into it. We
562
-    will use \emph{clamscan} to generate the signature, it's just an example.
563
-    Scan it with \emph{clamscan --stdout testfile}, the output is
564
-    \begin{verbatim}
565
-	testfile: ClamAV-Test-Signature FOUND
566
-
567
-	----------- SCAN SUMMARY -----------
568
-	Known viruses: 7734
569
-	Scanned directories: 0
570
-	Scanned files: 1
571
-	Data scanned: 0.95 MB
572
-	Infected files: 1
573
-	I/O buffer size: 131072 bytes
574
-	Time: 0.245 sec (0 m 0 s)
575
-    \end{verbatim}
576
-    The unique string in this output is "ClamAV-Test-Signature". Run
577
-    \emph{sigtool} with the following parameters:
578
-    \begin{verbatim}
579
-	$ sigtool -c "clamscan --stdout" -f testfile -s "ClamAV-Test"
580
-    \end{verbatim}
581
-    The program will concatenate arguments for \emph{-c (--command)} and
582
-    \emph{-f (--file)}, that's why the scanner's options must be given in the
583
-    proper order. At the end it will generate a file \emph{testfile.sig},
584
-    which should contain 100 bytes in our example. It contains the proper
585
-    signature.
586
-    \begin{verbatim}
587
-	...
588
-	...
589
-	Detected at 12103, moving backward.
590
-	Detected at 11983, moving backward.
591
-	Detected at 11923, moving backward.
592
-	Not detected, increasing pos 11893 -> 11923
593
-	Detected at 11923, moving backward.
594
-	Not detected, increasing pos 11908 -> 11923
595
-	Detected at 11923, moving backward.
596
-	Not detected, increasing pos 11915 -> 11923
597
-	Detected at 11923, moving backward.
598
-	Detected at 11919, moving backward.
599
-	Detected at 11917, moving backward.
600
-	Detected at 11916, moving backward.
601
-	Starting precise loop
602
-	 *** Found signature end at 11916
603
-
604
-	The scanner was executed 46 times.
605
-	Signature length is 50, so length of hex string should be 100
606
-	Saving signature in testfile.sig file.
607
-    \end{verbatim}
608
-
609
-    \section{Compatible software}
610
-    The following software supports ClamAV. It's specified which elements
611
-    are supported, please note that if the program doesn't
612
-    support clamd you can use clamdscan instead of clamscan.
613
-
614
-    \subsection{clamav-milter}
615
-    \textbf{Location:} included in clamav package\\
616
-    \textbf{Supports:} clamd\\[4pt]
617
-    clamav-milter by Nigel Horne is a very fast email scanner designed for
618
-    sendmail. It's entirely written in C and uses ClamAV's internal mail
619
-    scanner (also written by Nigel).\\[4pt]
620
-    \textbf{Installation:}\\
621
-    You need libmilter development files. Configure ClamAV with
622
-    \begin{verbatim}
623
-    $ ./configure --enable-milter
624
-    \end{verbatim}
625
-    and recompile. The program will be installed in
626
-    /usr/local/sbin/clamav-milter. The following instructions were adopted
627
-    from Nigel's INSTALL file: add to /etc/mail/sendmail.mc:
628
-    \begin{verbatim}
629
-INPUT_MAIL_FILTER(`clmilter',`S=local:/var/run/clmilter.sock,
630
-F=, T=S:4m;R:4m')dnl
631
-define(`confINPUT_MAIL_FILTERS', `clmilter')
632
-    \end{verbatim}
633
-    Check entries in clamav.conf of the form:
634
-    \begin{verbatim}
635
-	LocalSocket /var/run/clamd.sock
636
-	ScanMail
637
-	StreamSaveToDisk
638
-    \end{verbatim}
639
-    Start clamav-milter:
640
-    \begin{verbatim}
641
-	/usr/local/sbin/clamav-milter -blo /var/run/clmilter.sock
642
-    \end{verbatim}
643
-    and restart sendmail.
644
-
645
-    \subsection{mod\_clamav}
646
-    \textbf{Location:} \url{http://software.othello.ch/mod\_clamav}\\
647
-    \textbf{Supports:} libclamav, clamd\\[4pt]
648
-    mod\_clamav is an Apache virus scanning filter. It was written
649

                
650
-    documented and the installation is quite easy.
651
-
652
-    \subsection{TrashScan}
653
-    \textbf{Location:} clamav-sources/support/trashscan\\
654
-    \textbf{Supports:} clamscan\\[4pt]
655
-
656
-    This is a procmail based scanner from Trashware and it's extremely
657
-    easy to setup, however this is for single users only and not as
658
-    efficient as MTA based scanners.
659
-
660
-    \subsection{AMaViS - "Next Generation"}
661
-    \textbf{Location:} \url{http://sourceforge.net/projects/amavis}\\
662
-    \textbf{Supports:} clamscan\\[4pt]
663
-    AMaViS-ng is a rewritten, more modular version of amavis-perl/amavisd,
664
-    developed by Hilko Bengen. Home site:\\[4pt]
665
-    \textbf{Installation:}\\
666
-
667
-    \noindent Please download the newest version (at least 0.1.4).
668
-    After installation (which is quite easy), please uncomment the following
669
-    line in amavis.conf:
670
-    \begin{verbatim}
671
-	virus-scanner = CLAM
672
-    \end{verbatim}
673
-    and eventually change the path to clamscan in the \emph{[CLAM]} section:
674
-    \begin{verbatim}
675
-	[CLAM]
676
-
677
-	clamscan = /usr/local/bin/clamscan
678
-    \end{verbatim}
679
-
680
-    \subsection{amavisd-new}
681
-    \textbf{Location:} \url{http://www.ijs.si/software/amavisd}\\
682
-    \textbf{Supports:} clamd, clamscan\\[4pt]
683
-    amavisd-new is a rewritten version of amavis maintained by
684
-    Mark Martinec.\\[4pt]
685
-    \textbf{Installation:}\\
686
-    clamscan is enabled automatically if clamscan binary is found
687
-    at amavisd-new starup time. clamd is activated by uncommenting
688
-    its entry in the @av\_scanners list, file /etc/amavisd.conf.
689
-
690
-    \subsection{Qmail-Scanner}
691
-    \textbf{Location:} \url{http://qmail-scanner.sf.net}\\
692
-    \textbf{Supports:} clamscan\\[4pt]
693
-    You must increase softlimit value or wait for a daemon support.
694
-
695
-    \subsection{Sagator}
696
-    \textbf{Location:} \url{http://www.salstar.sk/sagator}\\
697
-    \textbf{Supports:} clamscan, clamd, libclamav\\[4pt]
698
-    This program is an email antivirus/antispam gateway. It is an interface
699
-    to the postfix (or any other smtpd), which runs antivirus
700
-    and/or spamchecker. Its modular architecture can use any
701
-    combination of antivirus/spamchecker according to configuration.
702
-
703
-    \subsection{ClamdMail}
704
-    \textbf{Location:} \url{http://clamdmail.sf.net}\\
705
-    \textbf{Supports:} clamd\\[4pt]
706
-    A mail processing client for ClamAV. Small, fast and easy to install.
707
-
708
-    \subsection{BlackHole}
709
-    \textbf{Location:} \url{http://www.groovy.org/blackhole.shtml}\\
710
-    \textbf{Supports:} clamscan, clamd\\[4pt]
711
-    BlackHole is an advanced spam / virus filter for Qmail, Postfix, Sendmail,
712
-    Exim and Courier written by Chris Kennedy. This tool is for advanced
713
-    administrators (installation is hard).
714
-
715
-    \subsection{MailScanner}
716
-    \textbf{Location:} \url{http://www.mailscanner.info}\\
717
-    \textbf{Supports:} clamscan\\[4pt]
718
-    MailScanner scans all e-mail for viruses, spam and attacks against
719
-    security vulnerabilities. It is not tied to any particular virus
720
-    scanner, but can be used with any combination of 14 different virus
721
-    scanners, allowing sites to choose the "best of breed" virus scanner.
722
-
723
-    \subsection{MIMEDefang}
724
-    \textbf{Location:} \url{http://www.roaringpenguin.com/mimedefang}\\
725
-    \textbf{Supports:} clamscan, clamd\\[4pt]
726
-    This is an efficient mail scanner for Sendmail/milter.
727
-
728
-    \subsection{Exiscan}
729
-    \textbf{Location:} \url{http://duncanthrax.net/exiscan}\\
730
-    \textbf{Supports:} clamscan, clamd\\[4pt]
731
-    exiscan is a patch against exim version 4, providing support for content
732
-    scanning in email messages received by exim. Four different scanning
733
-    facilities are supported: antivirus, antispam, regular expressions, and
734
-    file extensions.
735
-
736
-    \section{LibClamAV}
737
-    libclamav may be used to add a virus protection into your software.
738
-    The library is thread-safe, automatically recognizes and scans an
739
-    archives. Scanning is very fast - in most cases it won't be noticeable.
740
-
741
-    \subsection{API}
742
-    Each program using libclamav must include \emph{clamav.h} header file:
743
-    \begin{verbatim}
744
-	#include <clamav.h>
745
-    \end{verbatim}
746
-    The first step is an engine initialization. There are three functions
747
-    available:
748
-    \begin{verbatim}
749
-	int cl_loaddb(const char *filename, struct cl_node **root,
750
-	int *virnum);
751
-
752
-	int cl_loaddbdir(const char *dirname, struct cl_node **root,
753
-	int *virnum);
754
-
755
-	char *cl_retdbdir(void);
756
-
757
-    \end{verbatim}
758
-    \emph{cl\_loaddb()} loads one database per time, \emph{cl\_loaddbdir()}
759
-    loads all \emph{.db} and {.db2} files from the directory \emph{dirname}.
760
-    \emph{cl\_retdbdir()} returns hardcoded database directory path.
761
-    The database will be saved under \emph{root} and the number of the loaded
762
-    signatures will be \textbf{added} to \emph{virnum}. Pointer to the tree
763
-    structure (trie, see \ref{engine}) must initially point to the NULL. If you
764
-    don't want to save the number of signatures loaded pass the NULL as the
765
-    third argument. \emph{cl\_loaddb} functions return 0 on success and
766
-    other value on failure.
767
-    \begin{verbatim}
768
-	    struct cl_node *root = NULL;
769
-	    int ret;
770
-
771
-	ret = cl_loaddbdir(cl_retdbdir(), &root, NULL);
772
-    \end{verbatim}
773
-    There's elegant way to print libclamav's error codes:
774
-    \begin{verbatim}
775
-	char *cl_perror(int clerror);
776
-    \end{verbatim}
777
-    \emph{cl\_perror()} returns a (statically allocated) string describing
778
-    \emph{clerror} code:
779
-    \begin{verbatim}
780
-	if(ret) {
781
-	    printf("cl_loaddbdir() error: %s\n", cl_perror(ret));
782
-	    exit(1);
783
-	}
784
-    \end{verbatim}
785
-    When database is loaded, you must create the proper trie with:
786
-    \begin{verbatim}
787
-	void cl_buildtrie(struct cl_node *root);
788
-    \end{verbatim}
789
-    In our example:
790
-    \begin{verbatim}
791
-	cl_buildtrie(root);
792
-    \end{verbatim}
793
-    OK, now you can scan a buffer, descriptor or file with:
794
-    \begin{verbatim}
795
-	int cl_scanbuff(const char *buffer, unsigned int length,
796
-	char **virname, const struct cl_node *root);
797
-
798
-	int cl_scandesc(int desc, char **virname, unsigned long int
799
-	*scanned, const struct cl_node *root, const struct cl_limits
800
-	*limits, int options);
801
-
802
-	int cl_scanfile(const char *filename, char **virname,
803
-	unsigned long int *scanned, const struct cl_node *root,
804
-	const struct cl_limits *limits, int options);
805
-    \end{verbatim}
806
-    All the functions save a virus name address under \emph{virname} pointer.
807
-    \emph{virname} points to the name in the trie structure, thus it can't be
808
-    released directly. \emph{cl\_scandesc()} and \emph{cl\_scanfile()} can
809
-    increase \emph{scanned} value in CL\_COUNT\_PRECISION units. They also
810
-    support archive limits:
811
-    \begin{verbatim}
812
-	struct cl_limits {
813
-	    int maxreclevel;
814
-	    int maxfiles;
815
-	    long int maxfilesize;
816
-	};
817
-    \end{verbatim}
818
-    The last argument configures scan engine. Currently it supports
819
-    \textbf{CL\_ARCHIVE} (enables archive scanning), \textbf{CL\_RAW}
820
-    (disables archive scanning) and \textbf{CL\_MAIL} (enables mbox
821
-    and Maildir scanning).
822
-    The functions return 0 (\textbf{CL\_CLEAN}) when no virus is found,
823
-    \textbf{CL\_VIRUS} when virus is found and other value on failure.
824
-    \begin{verbatim}
825
-	    struct cl_limits limits;
826
-	    char *virname;
827
-
828
-	/* maximal number of files in archive */;
829
-	limits.maxfiles = 100
830
-	/* maximal archived file size == 10 MB */
831
-	limits.maxfilesize = 10 * 1048576;
832
-	/* maximal recursion level */
833
-	limits.maxreclevel = 8;
834
-
835
-
836
-	if((ret = cl_scanfile("/home/zolw/test", &virname, NULL, root,
837
-	&limits, CL_ARCHIVE)) == CL_VIRUS) {
838
-	    printf("Detected %s virus.\n", virname);
839
-	} else {
840
-	    printf("No virus detected.\n");
841
-	    if(ret != CL_CLEAN)
842
-	        printf("Error: %s\n", cl_perror(ret));
843
-	}
844
-    \end{verbatim}
845
-    When you don't need to scan more files, the trie should be released
846
-    with:
847
-    \begin{verbatim}
848
-	void cl_freetrie(struct cl_node *root);
849
-    \end{verbatim}
850
-    You will find some examples in clamav sources. Each program using
851
-    libclamav must be linked against it:
852
-    \begin{verbatim}
853
-	gcc -Wall ex1.c -o ex1 -lclamav
854
-    \end{verbatim}
855
-    Enjoy !
856
-
857
-
858
-    \section{Problem solving}
859
-
860
-    \subsection{Return codes}
861
-    Return codes are very useful, especially in system scripts. You may
862
-    check the return code from \emph{clamscan}, by running the following
863
-    command directly after the scanner exits:
864
-    \begin{verbatim}
865
-	$ echo $?
866
-    \end{verbatim}
867
-    Here is a list of return codes from \emph{clamscan}:\\[4pt]
868
-
869
-    \noindent
870
-    \rc{0}{No virus was found.}
871
-    \rc{1}{Virus(es) detected.}
872
-    \rc{40}{Unknown option was passed to \emph{clamscan}. Please check
873
-	    \emph{clamscan --help} or manual page for available options.}
874
-    \rc{50}{Problem with initialization of virus database. Probably
875
-	    it doesn't exist in the default place or wrong file was passed
876
-	    to \emph{--database}.}
877
-    \rc{51}{Wrong number of threads was passed to \emph{--threads}. It
878
-	    must be a natural number $ \ge 0$.} 
879
-    \rc{52}{Not supported file type. Scanner supports regular files,
880
-	    directories and symlinks.}
881
-    \rc{53}{Can't open directory.}
882
-    % FIXME: ^5
883
-    \rc{54}{Can't open file.$^5$}
884
-    \rc{55}{Error reading file. Probably the medium you are reading is broken.
885
-	    \footnote{Only in one-file mode (in recursive mode those errors are
886
-	    ignored)}}
887
-    \rc{56}{Can't stat input file or directory. File / directory you want to
888
-	    scan doesn't exist.}
889
-    \rc{57}{Can't get absolute pathname of current working directory. Your
890
-	    current pathname is longer then 200 characters. When clamscan
891
-	    is started without a input file / directory it scans the current
892
-	    directory. For some reasons it needs absolute pathnames, the buffer
893
-	    is hardcoded to 200 characters and that should be sufficient.}
894
-    \rc{58}{I/O error. Please check the filesystem.}
895
-    \rc{59}{Can't get information about current user (running clamscan).}
896
-    \rc{60}{Can't get information about user \emph{clamav}. User \emph{clamav}
897
-	    (default unprivileged user) doesn't exist in /etc/passwd.}
898
-    \rc{61}{Can't fork. Can't create new process, please check your limits.}
899
-    \rc{63}{Can't create temporary file or directory. Please check permissions.}
900
-    \rc{64}{Can't write to temporary directory. Please specify another one.}
901
-    \rc{70}{Can't allocate and clear memory. This is a critical error, please
902
-	    check your system.}
903
-    \rc{71}{Can't allocate memory. Look above.}
904
-
905
-
906
-    \section{Technicals}
907
-
908
-    \subsection{Security}
909
-    Clam AntiVirus cares about security. Dangerous operations in clamscan
910
-    (such as extracting, temporary file creation, unlink() operations) are
911
-    executed with \emph{clamav} privileges. \textbf{But there are no programs
912
-    without bugs.} This is a young project and everything is possible. In some
913
-    places it uses the \emph{snprintf()} function, some older systems (C
914
-    libraries) however the buffer length in this function isn't checked. This
915
-    example shows, that you should check your system first. Never set SUID/SGID
916
-    bits on Clam AntiVirus executables. If the SUID bit is set and
917
-    \emph{clamscan} is owned by root, every file on the system may be modified
918
-    with the \emph{--log} option. Normal users may use \emph{clamscan} to scan
919
-    their files, other files shouldn't interest them. Clam AntiVirus Daemon
920
-    was written with security in mind - it doesn't allow external unpackers
921
-    (uses only libclamav unarchivers) and contains some additional protections.
922
-
923
-
924
-    \subsection{Scan engine}\label{engine}
925
-    New versions of Clam AntiVirus are using a mutation of Aho-Corasick
926
-    pattern matching algorithm. This algorithm uses a finite state pattern
927
-    matching automaton \cite{clr}. The algorithm itself is a generalization of
928
-    the Knuth-Morris-Pratt algorithm. Please look at \emph{matcher.h} for data
929
-    type definitions. The automaton is represented by the trie. Trie is
930
-    a rooted tree with some specific properties \cite{acwww}. Each node
931
-    of the trie represents some state of the automaton. In the implementation,
932
-    the node is defined as following:
933
-    \begin{verbatim}
934
-	struct node {
935
-	    int islast;
936
-	    struct patt *list;
937
-	    int maxpatlen;
938
-	    struct node *next[NUM_CHILDS], *trans[NUM_CHILDS], *fail;
939
-	};
940
-    \end{verbatim}
941
-    [To be continued...]
942
-
943
-    \section{Credits}
944
-    In alphabetical order:
945
-    \begin{itemize}
946
-	\item AIX PDSLIB, University of California at Los Angeles \\
947
-	      \url{http://aixpdslib.seas.ucla.edu} - binary packages for AIX
948
-	\item Kamil Andrusz \email{<wizz(.at.)mniam.net>} - OpenBSD support
949
-	      patch
950
-	\item Jean-Edouard BABIN \email{<Jeb(.at.)jeb.com.fr>} - NetBSD support;
951
-	      made his NetBSD box available to me.
952
-	\item Marc Baudoin \email{<babafou(.at.)babafou.eu.org>} - NetBSD
953
-	      testing
954
-	\item Hilko Bengen \email{<bengen(.at.)vdst-ka.inka.de>} - support for
955
-	      Clam AntiVirus in his AMaViS - "Next Generation"
956
-	\item Patrick Bihan-Faou \email{<patrick(.at.)mindstep.com>} - support
957
-	      for --with-user/group in the configure script.
958
-	\item Eric I. Lopez Carreon \email{<elopezc(.at.)technitrade.com>} -
959
-	      Spanish\\ "Sendmail + AMaViS + ClamAV Installation" how-to
960
-	\item Nicholas Chua \email{<nicholas(.at.)ncmbox.net>} -
961
-	      virus signatures; clamav.org mirror administrator.
962
-	\item Damien Curtain \email{<damien(.at.)pagefault.org>} - fix for the
963
-	      --remove option in clamscan (it didn't work with internal
964
-	      archivers); implementation of the --move option in clamscan,
965
-	      mirroring support in freshclam.
966
-	\item Krisztian Czako \email{<slapic(.at.)linux.co.hu>} - virus
967
-	      signatures.
968
-	\item Diego D'Ambra \email{<da@softcom.dk>} - \textbf{Database
969
-	      developer.}
970
-	\item Alejandro Dubrovsky \email{<s328940(.at.)student.uq.edu.au>} -
971
-	      patch for including and excluding multiple patterns.
972
-	\item Magnus Ekdahl \email{<magnus(.at.)debian.org>} - Debian\\
973
-	      (\url{http://www.debian.org}) package maintainer; fixes and
974
-	      improvements.
975
-	\item Jason Englander \email{<jason(.at.)englanders.cc>} - bug report:
976
-	      clamd recursive scanning of the directories on non standard
977
-	      file systems; configure script support for id checking.
978
-	      \textbf{Database developer.}
979
-	\item Oden Eriksson \email{<oden.eriksson(.at.)kvikkjokk.net>} -
980
-	      Mandrake\\ package maintainer.
981
-	\item Edison Figueira Junior \email{<edison(.at.)brc.com.br>} - money
982
-	      donation.
983
-	\item David Ford \email{<david+cert(.at.)blue-labs.org>} - gcc 3.x
984
-	      support fix.
985
-	\item Piotr Gackiewicz \email{<gacek(.at.)intertele.pl>} - bug report:
986
-	      clamd\\ THREXIT bug
987
-	\item Nick Gazaloff \email{<nick(.at.)sbin.org>} - socket descriptors
988
-	      leak fix in clamd.
989
-	\item Wieslaw Glod \email{<wkg(.at.)x2.pl>} - bug report: FreeBSD
990
-	      compile problem in 0.22.
991
-	\item Matthew A. Grant \email{<grantma(.at.)anathoth.gen.nz>} -
992
-	      OpenAntiVirus Update script (\emph{oav-update})
993
-	\item Hrvoje Habjanic \email{<hrvoje.habjanic(.at.)zg.hinet.hr>} -
994
-	      syslog support patch for clamd; virus provider.
995
-	\item Michal Hajduczenia \email{<michalis(.at.)mat.uni.torun.pl>} - Clam
996
-	      title logo.
997
-	\item Paul Hoadley \email{<paulh(.at.)logixsquad.net} - "Installing
998
-	      qmail-scanner, Clam AntiVirus and SpamAssassin under FreeBSD"
999
-	      how-to.
1000
-	\item Thomas W. Holt Jr. \email{<twh(.at.)cohesive.net>} -
1001
-	      information about ClamAV compiling on Solaris 2.6 and Cobalt
1002
-	      MIPS boxes.
1003
-	\item Douglas J Hunley \email{<doug(.at.)hunley.homeip.net>} -\\
1004
-	      clamav.linux-sxs.org mirror, ideas.
1005
-	\item Kurt Huwig \email{<kurt(.at.)iku-netz.de>} - smart suggestions,
1006
-	      ScannerDaemon (OpenAntiVirus) author.
1007
-	\item Dave Jones \email{<dave(.at.)kalkbay.co.za>} - bug report: problem
1008
-	      in option parser.
1009
-	\item Kazuhiko \email{<kazuhiko(.at.)fdiary.net>} - Qmail-Scanner 0.12
1010
-	      support patch.
1011
-	\item Robbert Kouprie \email{<robbert(.at.)exx.nl>} - patch for unrarlib
1012
-	      buffer overflow.
1013
-	\item Henk Kuipers \email{<henk(.at.)opensourcesolutions.nl>} - bug
1014
-	      report:\\ 0.50 compile problem.
1015
-	\item Nigel Kukard \email{<nkukard(.at.)lbsd.net>} - virus signatures.
1016
-	\item Dr Andrzej Kurpiel \email{<akurpiel(.at.)mat.uni.torun.pl>} -
1017
-	      choice of\\ this project from my list.
1018
-	\item Dennis Leeuw \email{<dleeuw(.at.)made-it.com>} - \emph{"Debian
1019
-	      GNU/Linux Mail Server"} how-to, \textbf{corrections of this
1020
-	      document}.
1021
-	\item Free Oscar \email{<freeoscar(.at.)wp.pl>} - hex2str() enhancement
1022
-	\item Martin Lesser \email{<admin-debian(.at.)bettercom.de>} - patch for
1023
-	      the\\ http-proxy problem in 0.51.
1024
-	\item Peter N Lewis \email{<peter(.at.)stairways.com.au>} - Mac OS X
1025
-	      data type problem bugfix.
1026
-	\item Mike Loewen \email{<mloewen(.at.)sturgeon.cac.psu.edu>} - bug
1027
-	      report:\\ clamscan 0.24 compile error on Solaris 8; various
1028
-	      Solaris and AIX tips.
1029
-	\item Stefan Martig \email{<sm(.at.)officeco.ch>} - bug report:
1030
-	      /proc/cpuinfo problem analysis on Linux/Alpha, providing me with
1031
-	      access to the Linux/Alpha system.
1032
-	\item Brian May \email{<bam(.at.)debian.org>} - bug report: clamd
1033
-	      writing to an undefined file.
1034
-	\item Ken McKittrick \email{<klmac(.at.)usadatanet.com>} - intensive
1035
-	      FreeBSD\\ testing, hdd donation.
1036
-	\item Chris van Meerendonk \email{<cvm(.at.)castel.nl>} - virus
1037
-	      samples, clamav.essentkabel.com mirror.
1038
-	\item Arkadiusz Miskiewicz \email{<misiek(.at.)pld.org.pl>} - Polish(ed)
1039
-	      Linux\\ Distribution (\url{http://www.pld.org.pl}) rpm package
1040
-	      maintainer; fixes and ideas.
1041
-	\item Doug Monroe \email{<doug(.at.)planetconnect.com>} - Qmail-Scanner
1042
-	      problem analysis.
1043
-	\item Lukasz Jaroslaw Mozer \email{<lukasz(.at.)netx.waw.pl>} -
1044
-	      \url{clamav.rulez.pl} mirror.
1045
-	\item Flinn Mueller\email{flinn(.at.)activeintra.net} - OpenBSD port
1046
-	      maintainer.
1047
-	\item Hendrik Muhs \email{<Hendrik.Muhs(.at.)student.uni-magdeburg.de>}
1048
-	      -\\ pattern matcher optimization.
1049
-	\item Luca 'NERvOus' Gibelli \email{<nervous(.at.)nervous.it>} -
1050
-	      ElektraPro.com administrator.
1051
-	\item Wojciech Noworyta \email{<wnow(.at.)konarski.edu.pl>} - bug
1052
-	      report: buffer overflow in clamscan's help under Windows.
1053
-	\item Joe Oaks \email{<joe.oaks(.at.)hp.com>} - HPUX support.
1054
-	\item Washington Odhiambo \email{<wash(.at.)wananchi.com>} - extensive
1055
-	      mbox\\ code testing, bug reports.
1056
-	\item Masaki Ogawa \email{<proc(.at.)mac.com>} - Mac OS X support,
1057
-	      Japanese documentation.
1058
-	\item Martijn van Oosterhout \email{<kleptog(.at.)svana.org>} - code
1059
-	      analysis and suggestions.
1060
-	\item OpenAntiVirus.org Team - initial virus database.
1061
-	\item Tomasz Papszun \email{tomek(.at.)lodz.tpsa.pl} - various bug
1062
-	      reports.
1063
-	\item Eric Parsonage \email{eric(.at.)eparsonage.com} - "Installing
1064
-	      qmail-scanner, Clam Antivirus and SpamAssassin under FreeBSD"
1065
-	      how-to.
1066
-	\item Oliver Paukstadt \email{<pstadt(.at.)stud.fh-heilbronn.de>} - bug
1067
-	      report: crash with strange Zip archives.
1068
-	\item Kristof Petr \email{<Kristof.P(.at.)fce.vutbr.cz>} - bug report:
1069
-	      socket descriptors leak in clamd; file decriptors leak in
1070
-	      clamd, clamscan and libclamav.
1071
-	\item Ed Phillips \email{<ed(.at.)UDel.Edu>} - patch for the internal
1072
-	      logger in clamd.
1073
-	\item Andreas Piesk \email{<Andreas.Piesk(.at.)heise.de>} - clamd:\\
1074
-	      ScannerDaemonOutputFormat option.
1075
-	\item Ant La Porte \email{<ant(.at.)dvere.net>} - proxy support
1076
-	      enhancement.
1077
-	\item Sergei Pronin \email{<sp(.at.)finndesign.fi>} - bug report:
1078
-	      access problems in superuser mode.
1079
-	\item Thomas Quinot \email{<thomas(.at.)cuivre.fr.eu.org>} - patch for\\
1080
-	      non-default prefix and incoherent database location
1081
-	      specification in defaults.h of clamscan and freshclam.
1082
-	\item David Sanchez \email{<dsanchez(.at.)veloxia.com>} - bug report:
1083
-	      thread deadlocking\\ in a critical error situation.
1084
-	\item Martin Schitter - bug report: libclamav crash on certain
1085
-	      zip files.
1086
-	\item Enrico Scholz
1087
-	      \email{<enrico.scholz(.at.)informatik.tu-chemnitz.de>} -
1088
-	      daemonize() enhancements.
1089
-	\item Dr Zbigniew Szewczak \email{<zssz(.at.)mat.uni.torun.pl>} - ideas,
1090
-	      suggestions and time spent on discussing some aspects of ClamAV.
1091
-	\item Gernot Tenchio \email{<g.tenchio(.at.)telco-tech.de>} - proxy
1092
-	      authorization support in freshclam.
1093
-	\item Masahiro Teramoto \email{<markun@onohara.to>} - official FreeBSD
1094
-	      port maintainer.
1095
-	\item Trashware \email{trashware(.at.)gmx.net} - TrashScan
1096
-	\item David Woakes \email{david(.at.)mitredata.co.uk} - freshclam \\
1097
-	      --on-error-execute fix.
1098
-	\item Troy Wollenslegel \email{<troy(.at.)intranet.org>} - bug report:
1099
-	      handling inaccessible directories in archives.
1100
-	\item Andoni Zubimendi \email{<andoni(.at.)lpsat.net>} - fix for
1101
-	      segmentation\\ fault in 0.12 (NULL pointer dereference).
1102
-    \end{itemize}
1103
-
1104
-    \section{Authors}
1105
-    Nigel Horne \email{<njh(.at.)bandsman.co.uk>} is an active ClamAV developer
1106
-    responsible for the mbox code in libclamav and clamav-milter. I take care
1107
-    most of these things are working ;) If you have some questions, feel free
1108
-    to mail us.\\[4pt]
1109
-
1110
-    \hfill Tomasz Kojm \email{<zolw(.at.)konarski.edu.pl>}
1111
-
1112
-    \begin{thebibliography}{99}
1113
-	\bibitem{clr}
1114
-	    Cormen, Leiserson, Rivest: \emph{Introduction to Algorithms},
1115
-	    Chapter 34, MIT Press.
1116
-	\bibitem{acwww}
1117
-	    {\small
1118
-	    \url{http://www-sr.informatik.uni-tuebingen.de/~buehler/AC/AC.html}}:
1119
-	    Aho-Corasick algorithm description
1120
-    \end{thebibliography}
1121
-\end{document}
... ...
@@ -1,8 +1,8 @@
1
-.\" Manual page created by Tomasz Kojm, 21.11.2002
2
-.TH "Clamd client" "1" "November 21, 2002" "Tomasz Kojm" "Clam AntiVirus"
1
+.\" Manual page created by Tomasz Kojm, 20021121
2
+.TH "Clamd client" "1" "November 11, 2003" "Tomasz Kojm" "Clam AntiVirus"
3 3
 .SH "NAME"
4 4
 .LP 
5
-clamdscan \- scan files/directories against viruses using Clam AntiVirus Daemon
5
+clamdscan \- scan files and directories against viruses using Clam AntiVirus Daemon
6 6
 .SH "SYNOPSIS"
7 7
 .LP 
8 8
 clamscan [options] [file/directory]
... ...
@@ -17,7 +17,7 @@ clamdscan is a simple clamd client, which may be used as a clamscan replacement.
17 17
 Output help information and exit.
18 18
 .TP 
19 19
 \fB\-V, \-\-version\fR
20
-Print the version number and exit.
20
+Print version number and exit.
21 21
 .TP 
22 22
 \fB\-v, \-\-verbose\fR
23 23
 Be verbose. This option causes clamscan to print many additional informations.
... ...
@@ -26,16 +26,16 @@ Be verbose. This option causes clamscan to print many additional informations.
26 26
 Be quiet \- only output error messages.
27 27
 .TP 
28 28
 \fB\-\-stdout\fR
29
-Write all messages to the standard output (stdout), instead of the standard error output (stderr). The buffer is automatically flushed (stdout unlike stderr is buffered), to avoid a race conditions on output.
29
+Write all messages to the standard output (stdout) instead of the standard error output (stderr).
30 30
 .TP 
31 31
 \fB\-l FILE, \-\-log=FILE\fR
32
-Save the scan report to FILE. By default the log isn't saved.
32
+Save the scan report to FILE.
33 33
 .TP 
34 34
 \fB\-\-log\-verbose\fR
35
-Save an additional information (mostly needless) to the report file.
35
+Save additional messages (mostly useless) to the report file.
36 36
 .TP 
37 37
 \fB\-\-disable\-summary\fR
38
-Disable summary printing at the end of a scanning.
38
+Disable summary at the end of scanning.
39 39
 .SH "EXAMPLES"
40 40
 .LP 
41 41
 .TP 
... ...
@@ -43,7 +43,7 @@ Disable summary printing at the end of a scanning.
43 43
 
44 44
 \fBclamdscan file\fR
45 45
 .TP 
46
-(1) To scan a current directory:
46
+(1) To scan a current working directory:
47 47
 
48 48
 \fBclamdscan\fR
49 49
 .TP 
... ...
@@ -56,12 +56,12 @@ Disable summary printing at the end of a scanning.
56 56
 .TP 
57 57
 1 : Virus(es) found.
58 58
 .TP 
59
-2 : Error occured.
59
+2 : An error occured.
60 60
 .SH "CREDITS"
61 61
 Please check the full documentation for credits.
62 62
 .SH "AUTHOR"
63 63
 .LP 
64
-Tomasz Kojm <zolw@konarski.edu.pl>
64
+Tomasz Kojm <tkojm@clamav.net>
65 65
 .SH "SEE ALSO"
66 66
 .LP 
67
-clamscan(1), clamd(8), freshclam(1), sigtool(1), clamav.conf(5)
67
+clamscan(1), clamd(8), freshclam(1), sigtool(1), clamav.conf(5), clamav\-milter(8)
... ...
@@ -1,8 +1,8 @@
1 1
 .\" Manual page created by Tomasz Kojm, 14/15 IV 2002
2
-.TH "clamscan" "1" "October 1, 2002" "Tomasz Kojm" "Clam AntiVirus"
2
+.TH "clamscan" "1" "November 11, 2003" "Tomasz Kojm" "Clam AntiVirus"
3 3
 .SH "NAME"
4 4
 .LP 
5
-clamscan \- scan files/directories against viruses
5
+clamscan \- scan files and directories against viruses
6 6
 .SH "SYNOPSIS"
7 7
 .LP 
8 8
 clamscan [options] [file/directory/\-]
... ...
@@ -20,13 +20,16 @@ Output help information and exit.
20 20
 Print the version number and exit.
21 21
 .TP 
22 22
 \fB\-v, \-\-verbose\fR
23
-Be verbose. This option causes clamscan to print many additional informations.
23
+Be verbose.
24
+.TP 
25
+\fB\-\-debug\fR
26
+This option causes clamscan to print many additional informations.
24 27
 .TP 
25 28
 \fB\-\-quiet\fR
26 29
 Be quiet \- output only error messages.
27 30
 .TP 
28 31
 \fB\-\-stdout\fR
29
-Write all messages to the standard output (stdout), instead of the standard error output (stderr). The buffer is automatically flushed (stdout unlike stderr is buffered), to avoid a race conditions on output.
32
+Write all messages to the standard output (stdout), instead of the standard error output (stderr). The buffer is automatically flushed (stdout unlike stderr is buffered), to avoid race conditions on output.
30 33
 .TP 
31 34
 \fB\-d FILE/DIR, \-\-database=FILE/DIR\fR
32 35
 Load the virus database from FILE or load all .db and .db2 files from DIR.
... ...
@@ -41,7 +44,7 @@ Save an additional information (mostly needless) to the report file.
41 41
 Create temporary files in DIRECTORY. Directory must be writeable for the 'clamav' user or unprivileged user running clamscan.
42 42
 .TP 
43 43
 \fB\-r, \-\-recursive\fR
44
-Scan directories recursively. All the files in the given directory will be scanned. \fBThis option affects on scanning subdirectories in archives, if you are using unpackers just turn it on.\fR
44
+Scan directories recursively. All the files in the given directory will be scanned. \fBThis option affects scanning subdirectories in archives, if you are using unpackers just turn it on.\fR
45 45
 .TP 
46 46
 \fB\-\-disable\-summary\fR
47 47
 Disable summary printing at the end of the scanning.
... ...
@@ -53,36 +56,33 @@ Don't scan file names containing PATT. It may be used multiple times.
53 53
 Only scan file names containing PATT. It may be used multiple times.
54 54
 .TP 
55 55
 \fB\-\-mbox\fR
56
-Enable scanning of mbox and Maildir files. (also treat stdin as a mailbox, for backward compatibility).
57
-.TP
56
+Enable scanning of Mbox, Maildir and raw mail files. (also treat stdin as a mailbox, for backward compatibility).
57
+.TP 
58 58
 \fB\-i, \-\-infected\fR
59
-Print infected files only.
59
+Only print infected files.
60 60
 .TP 
61 61
 \fB\-\-remove\fR
62 62
 Remove infected files. \fBBe careful.\fR
63
-.TP
63
+.TP 
64 64
 \fB\-\-move=DIRECTORY\fR
65 65
 Move infected files into DIRECTORY. Directory must be writeable for the 'clamav' user or unprivileged user running clamscan.
66 66
 .TP 
67
-\fB\-\-force\fR
68
-With this option you may ignore some errors. \fBBe careful.\fR
69
-.TP 
70 67
 EXTRACTION OPTIONS:
71 68
 .TP 
72 69
 \fB\-\-disable\-archive\fR
73 70
 Disable archive support built in libclamav.
74 71
 .TP 
75 72
 \fB\-\-max\-files=#n\fR
76
-Extract first #n files from each archive. This option should be used to protect your system against DoS attacks. Note: always few files more are extracted due to the limit implementation (expecially when archive contains small files). All file types are counted.
73
+Extract first #n files from each archive. This option protects your system against DoS attacks.
77 74
 .TP 
78 75
 \fB\-\-max\-space=#n\fR
79 76
 Extract first #n kilobytes from each archive. You may give the number in megabytes in format xM or xm, where x is a number.
80 77
 .TP 
81 78
 \fB\-\-max\-recursion=#n\fR
82
-Set the archive recursion level.
79
+Set archive recursion level limit.
83 80
 .TP 
84 81
 \fB\-\-unzip[=FULLPATH]\fR
85
-With this option all zipped files are scanned. If you turn on this option without the argument, unzip program will be searched in $PATH. If unzip is outside $PATH, please supply it with =pathname. Remember about '=' between option and argument. (This is needed due to the implementation of getopt_long() and optional arguments to long options).
82
+In most cases you don't need this option \- the built\-in unarchiver will do the work. This option however may be used as a backup for internal unpacker \- see clamdoc.pdf. When enabled without the argument, unzip program will be searched in $PATH. If unzip cannot be found in $PATH, you must supply it with =pathname. Remember about '=' between the option and the argument.
86 83
 .TP 
87 84
 \fB\-\-unrar[=FULLPATH]\fR
88 85
 Supports .rar files.
... ...
@@ -109,36 +109,36 @@ This option supports debian binary packages. Implies \-\-tgz, but doesn't confli
109 109
 This option supports non\-compressed archives.
110 110
 .TP 
111 111
 \fB\-\-tgz[=FULLPATH]\fR
112
-This option supports tar.gz and .tgz files. You need GNU tar, on non\-Linux system you probably have it as gtar. If it's in $PATH, please use \-\-tgz=gtar in other case please use a full pathname.
112
+This option supports tar.gz and .tgz files. You need GNU tar, on non\-Linux system you probably have it installed as gtar. If it's in $PATH, please use \-\-tgz=gtar in other case please use a full pathname.
113 113
 .SH "EXAMPLES"
114 114
 .LP 
115 115
 .TP 
116
-(0) To scan one file:
116
+(0) Scan a selected file:
117 117
 
118 118
 \fBclamscan file\fR
119 119
 .TP 
120
-(1) To scan current directory:
120
+(1) Scan a current working directory:
121 121
 
122 122
 \fBclamscan\fR
123 123
 .TP 
124
-(2) To scan all files in /home:
124
+(2) Scan all files (and subdirectories) in /home:
125 125
 
126 126
 \fBclamscan \-r /home\fR
127 127
 .TP 
128
-(3) Load the database from another file and limit the disk usage to 50 Mb:
128
+(3) Load the database from selected file and limit a disk usage to 50 Mb:
129 129
 
130
-\fBclamscan \-d /tmp/newclamdb \-\-max-space=50m \-r /tmp\fR
130
+\fBclamscan \-d /tmp/newclamdb \-\-max\-space=50m \-r /tmp\fR
131 131
 .TP 
132 132
 (4) Scan a data stream:
133 133
 
134 134
 \fBcat testfile | clamscan \-\fR
135 135
 .TP 
136
-(5) Scan the mail spool directory:
136
+(5) Scan a mail spool directory:
137 137
 
138 138
 \fBclamscan \-r \-\-mbox /var/spool/mail\fR
139 139
 .SH "RETURN CODES"
140 140
 .LP 
141
-Note: some return codes may appear only in a one file mode (clamscan is started with file argument). These one are marked with \fB(ofm)\fR.
141
+Note: some return codes may only appear in a one file mode (clamscan is started with file argument). These ones are marked with \fB(ofm)\fR.
142 142
 
143 143
 0 : No virus found.
144 144
 .TP 
... ...
@@ -146,7 +146,7 @@ Note: some return codes may appear only in a one file mode (clamscan is started
146 146
 .TP 
147 147
 40: Unknown option passed.
148 148
 .TP 
149
-50: The database can't be initialized.
149
+50: Database initialization error.
150 150
 .TP 
151 151
 51: Wrong number of threads given.
152 152
 .TP 
... ...
@@ -181,7 +181,7 @@ Note: some return codes may appear only in a one file mode (clamscan is started
181 181
 Please check the full documentation for credits.
182 182
 .SH "AUTHOR"
183 183
 .LP 
184
-Tomasz Kojm <zolw@konarski.edu.pl>
184
+Tomasz Kojm <tkojm@clamav.net>
185 185
 .SH "SEE ALSO"
186 186
 .LP 
187
-clamd(8), clamdscan(1), freshclam(1), sigtool(1), clamav.conf(5)
187
+clamd(8), clamdscan(1), freshclam(1), sigtool(1), clamav.conf(5), clamav\-milter(8)
... ...
@@ -1,8 +1,8 @@
1
-.\" Manual page created by Tomasz Kojm, 14/15 IV 2002
2
-.TH "freshclam" "1" "October 25, 2003" "Tomasz Kojm" "Clam AntiVirus"
1
+.\" Manual page created by Tomasz Kojm, 20020415
2
+.TH "freshclam" "1" "November 11, 2003" "Tomasz Kojm" "Clam AntiVirus"
3 3
 .SH "NAME"
4 4
 .LP 
5
-freshclam \- update ClamAV virus databases
5
+freshclam \- update virus databases
6 6
 .SH "SYNOPSIS"
7 7
 .LP 
8 8
 freshclam [options]
... ...
@@ -17,14 +17,11 @@ freshclam updates the virus database. It's a part of the Clam AntiVirus package.
17 17
 Output help information and exit.
18 18
 .TP 
19 19
 \fB\-V, \-\-version\fR
20
-Print the version number and exit.
20
+Print version number and exit.
21 21
 .TP 
22 22
 \fB\-v, \-\-verbose\fR
23 23
 Be verbose. This option causes freshclam to print many additional informations.
24 24
 .TP 
25
-\fB\-\-debug\fR
26
-Enable debug messages.
27
-.TP 
28 25
 \fB\-\-quiet\fR
29 26
 Be quiet \- output only error messages.
30 27
 .TP 
... ...
@@ -32,22 +29,22 @@ Be quiet \- output only error messages.
32 32
 Write all messages to the standard output (stdout), instead of the standard error output (stderr).
33 33
 .TP 
34 34
 \fB\-l FILE, \-\-log=FILE\fR
35
-Save the download report to FILE. By default the log isn't saved.
35
+Save download report in FILE.
36 36
 .TP 
37 37
 \fB\-\-log\-verbose\fR
38
-Save an additional information (mostly needless) to the report file.
38
+Save additional information (mostly needless) to the report file.
39 39
 .TP 
40 40
 \fB\-\-datadir=DIRECTORY\fR
41
-Install the downloaded database in DIRECTORY. Directory must be writeable for 'clamav' user or unprivileged user running freshclam.
41
+Install downloaded database in DIRECTORY. The directory must be writeable for the 'clamav' user or unprivileged user running freshclam.
42 42
 .TP 
43 43
 \fB\-u USER, \-\-user USER\fR
44
-Run as USER. By default, when started by root freshclam drops the privileges and works as the 'clamav' user.
44
+Run as USER. By default (when started by root) freshclam drops privileges and works as the 'clamav' user.
45 45
 .TP 
46 46
 \fB\-d, \-\-daemon\fR
47 47
 Run in a daemon mode. This option requires \-\-checks.
48 48
 .TP 
49 49
 \fB\-c #n, \-\-checks=#n\fR
50
-Check #n times per a day for the new database. #n must be between 1 and 50.
50
+Check #n times pet day for new database. #n must be between 1 and 50.
51 51
 .TP 
52 52
 \fB\-\-http\-proxy=hostname[:port]\fR
53 53
 Connect via a proxy server.
... ...
@@ -56,7 +53,7 @@ Connect via a proxy server.
56 56
 Do proxy authorization for user. Password is required.
57 57
 .TP 
58 58
 \fB\-\-daemon\-notify=/path/to/clamav.conf\fR
59
-Notify the daemon about the new database. By default it reads hardcoded directory, but you can specify another one using a full path to clamav.conf. Local and TCP sockets are supported.
59
+Notify the daemon about the new database. By default it reads a hardcoded config file but you can use an another one. Both local and TCP sockets are supported.
60 60
 .TP 
61 61
 \fB\-\-on\-error\-execute=COMMAND\fR
62 62
 Execute COMMAND if error occured. Remeber, that virus database freshness is the most important thing in anti\-virus system. With this option freshclam can alert you (eg. send SMS) when something is going wrong.
... ...
@@ -72,9 +69,9 @@ Execute COMMAND after succesful update.
72 72
 .TP 
73 73
 (1) Download database to current directory:
74 74
 
75
-\fBfreshclam \-\-datadir .\fR
75
+\fBfreshclam \-\-datadir=.\fR
76 76
 .TP 
77
-(2) Run as a daemon and check 2 times per day for a new database:
77
+(2) Run as a daemon and check 2 times per day for new database:
78 78
 
79 79
 \fBfreshclam \-d \-c 2\fR
80 80
 .SH "RETURN CODES"
... ...
@@ -92,7 +89,7 @@ Execute COMMAND after succesful update.
92 92
 .TP 
93 93
 53: Can't unlink file.
94 94
 .TP 
95
-54: Verification (md5, digital signature) error.
95
+54: MD5 or digital signature verification error.
96 96
 .TP 
97 97
 55: Error reading file.
98 98
 .TP 
... ...
@@ -101,7 +98,7 @@ Execute COMMAND after succesful update.
101 101
 Please check the full documentation for credits.
102 102
 .SH "AUTHOR"
103 103
 .LP 
104
-Tomasz Kojm <zolw@konarski.edu.pl>
104
+Tomasz Kojm <tk@clamav.net>
105 105
 .SH "SEE ALSO"
106 106
 .LP 
107
-clamd(8), clamdscan(1), clamscan(1), sigtool(1), clamav.conf(5)
107
+clamd(8), clamdscan(1), clamscan(1), sigtool(1), clamav.conf(5), clamav\-milter(8)
... ...
@@ -19,16 +19,16 @@ original version by:  Nikos Drakos, CBLU, University of Leeds
19 19
 
20 20
 <LINK REL="STYLESHEET" HREF="clamdoc.css">
21 21
 
22
-<LINK REL="previous" HREF="node44.html">
22
+<LINK REL="previous" HREF="node55.html">
23 23
 <LINK REL="up" HREF="clamdoc.html">
24 24
 </HEAD>
25 25
 
26 26
 <BODY >
27 27
 
28 28
 <DL>
29
-<DT><A NAME="foot75">... moderated</A><A NAME="foot75"
29
+<DT><A NAME="foot85">... moderated</A><A NAME="foot85"
30 30
  HREF="node4.html#tex2html1"><SUP>1</SUP></A>
31
-<DD>That means, the
31
+<DD>That means the
32 32
     subscribers are not allowed to write into the mailing list
33 33
 <PRE>.
34 34
 .
... ...
@@ -61,10 +61,44 @@ original version by:  Nikos Drakos, CBLU, University of Leeds
61 61
 .
62 62
 .
63 63
 </PRE>
64
-<DT><A NAME="foot575">...clamav: </A><A NAME="foot575"
65
- HREF="node11.html#tex2html10"><SUP>2</SUP></A>
64
+<DT><A NAME="foot113">... configure.</A><A NAME="foot113"
65
+ HREF="node7.html#tex2html5"><SUP>2</SUP></A>
66
+<DD>Thanks to Ed Phillips
67
+<PRE>.
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
+</PRE>
98
+<DT><A NAME="foot137">... system:</A><A NAME="foot137"
99
+ HREF="node10.html#tex2html10"><SUP>3</SUP></A>
66 100
 <DD>Cygwin note:
67
-    If you don't have /etc/passwd, you don't need the <I>clamav</I> user/group.
101
+    If you don't have /etc/passwd, you don't need that.
68 102
 <PRE>.
69 103
 .
70 104
 .
... ...
@@ -96,10 +130,10 @@ original version by:  Nikos Drakos, CBLU, University of Leeds
96 96
 .
97 97
 .
98 98
 </PRE>
99
-<DT><A NAME="foot576">... manual.</A><A NAME="foot576"
100
- HREF="node13.html#tex2html12"><SUP>3</SUP></A>
101
-<DD>Please run <I>man
102
-    clamscan</I>
99
+<DT><A NAME="foot701">... file.</A><A NAME="foot701"
100
+ HREF="node12.html#tex2html12"><SUP>4</SUP></A>
101
+<DD>More info
102
+    on clamscan options: <B>man clamscan</B>
103 103
 <PRE>.
104 104
 .
105 105
 .
... ...
@@ -131,10 +165,10 @@ original version by:  Nikos Drakos, CBLU, University of Leeds
131 131
 .
132 132
 .
133 133
 </PRE>
134
-<DT><A NAME="foot233">... strings.</A><A NAME="foot233"
135
- HREF="node19.html#tex2html17"><SUP>4</SUP></A>
136
-<DD>Just like
137
-    the file(1) command.
134
+<DT><A NAME="foot278">... tests.</A><A NAME="foot278"
135
+ HREF="node18.html#tex2html25"><SUP>5</SUP></A>
136
+<DD>It works
137
+    similarly to the well known file(1) command.
138 138
 <PRE>.
139 139
 .
140 140
 .
... ...
@@ -166,10 +200,45 @@ original version by:  Nikos Drakos, CBLU, University of Leeds
166 166
 .
167 167
 .
168 168
 </PRE>
169
-<DT><A NAME="foot657">... broken.</A><A NAME="foot657"
170
- HREF="node38.html#tex2html28"><SUP>5</SUP></A>
169
+<DT><A NAME="foot779">... read.</A><A NAME="foot779"
170
+ HREF="node22.html#tex2html26"><SUP>6</SUP></A>
171 171
 <DD>Only in one-file mode (in recursive mode those errors are
172
-	    ignored)
172
+	    ignored).
173
+<PRE>.
174
+.
175
+.
176
+.
177
+.
178
+.
179
+.
180
+.
181
+.
182
+.
183
+.
184
+.
185
+.
186
+.
187
+.
188
+.
189
+.
190
+.
191
+.
192
+.
193
+.
194
+.
195
+.
196
+.
197
+.
198
+.
199
+.
200
+.
201
+.
202
+.
203
+</PRE>
204
+<DT><A NAME="foot510">...added </A><A NAME="foot510"
205
+ HREF="node45.html#tex2html45"><SUP>7</SUP></A>
206
+<DD>Remember to initialize
207
+    the virus counter variable with 0.
173 208
 <PRE>.
174 209
 .
175 210
 .
... ...
@@ -1,4 +1,4 @@
1
-This is TeX, Version 3.14159 (Web2C 7.3.7) (format=latex 2002.10.16)  21 JUN 2003 05:02
1
+This is TeX, Version 3.14159 (Web2C 7.3.7) (format=latex 2002.10.16)  11 NOV 2003 22:09
2 2
 **./images.tex
3 3
 (./images.tex
4 4
 LaTeX2e <2001/06/01>
... ...
@@ -91,24 +91,15 @@ File: dvips.def 1999/02/16 v3.0i Driver-dependant file (DPC,SPQR)
91 91
 \WF@box=\box26
92 92
 \WF@everypar=\toks16
93 93
 Package: wrapfig 1999/10/12  v 3.3
94
-) (/usr/share/texmf/tex/latex/latex2html/url.sty
94
+) (/usr/share/texmf/tex/latex/misc/boxedminipage.sty) (/usr/share/texmf/tex/lat
95
+ex/latex2html/url.sty
95 96
 Package: url 1999/03/02  ver 1.4  Verb mode for urls, email addresses, and file
96 97
  names
97
-) (/usr/share/texmf/tex/latex/misc/fancybox.sty
98
-Package: fancybox 2000/09/19 1.3
99
-Style option: `fancybox' v1.3 <2000/09/19> (tvz)
100
-\@fancybox=\box27
101
-\shadowsize=\dimen107
102
-\@Sbox=\box28
103
-\do@VerbBox=\toks17
104
-\the@fancyput=\toks18
105
-\this@fancyput=\toks19
106
-\EndVerbatimTokens=\toks20
107
-\Verbatim@Outfile=\write3
108
-\Verbatim@Infile=\read1
98
+) (/usr/share/texmf/tex/latex/fancyhdr/fancyhdr.sty
99
+\headwidth=\dimen107
109 100
 ) (/usr/share/texmf/tex/latex/titlesec/titlesec.sty
110 101
 Package: titlesec 2001/01/23 v2.4 Sectioning titles
111
-\ttl@box=\box29
102
+\ttl@box=\box27
112 103
 \titlewidth=\dimen108
113 104
 (/usr/share/texmf/tex/latex/titlesec/titlesec.new *** titlesec 2.4, loading pat
114 105
 ch level 2 ***)) (/usr/share/texmf/tex/latex/graphics/color.sty
... ...
@@ -119,42 +110,40 @@ File: color.cfg 2001/08/31 v1.1 color configuration of teTeX/TeXLive
119 119
 Package color Info: Driver file: dvips.def on input line 125.
120 120
 (/usr/share/texmf/tex/latex/graphics/dvipsnam.def
121 121
 File: dvipsnam.def 1999/02/16 v3.0i Driver-dependant file (DPC,SPQR)
122
-)) (/usr/share/texmf/tex/latex/fancyhdr/fancyhdr.sty
123
-\headwidth=\dimen109
124
-)
122
+))
125 123
 
126 124
 Package Fancyhdr Warning: fancyhdr's E option without twoside option is useless
127
- on input line 27.
125
+ on input line 26.
128 126
 
129 127
 (/usr/share/texmf/tex/latex/base/inputenc.sty
130 128
 Package: inputenc 2001/07/10 v0.99a Input encoding file 
131 129
 )
132
-\sizebox=\box30
133
-\lthtmlwrite=\write4
130
+\sizebox=\box28
131
+\lthtmlwrite=\write3
134 132
 (./images.aux)
135 133
 \openout1 = `images.aux'.
136 134
 
137
-LaTeX Font Info:    Checking defaults for OML/cmm/m/it on input line 142.
138
-LaTeX Font Info:    ... okay on input line 142.
139
-LaTeX Font Info:    Checking defaults for T1/cmr/m/n on input line 142.
140
-LaTeX Font Info:    ... okay on input line 142.
141
-LaTeX Font Info:    Checking defaults for OT1/cmr/m/n on input line 142.
142
-LaTeX Font Info:    ... okay on input line 142.
143
-LaTeX Font Info:    Checking defaults for OMS/pzccm/m/n on input line 142.
144
-LaTeX Font Info:    Try loading font information for OMS+pzccm on input line 14
145
-2.
135
+LaTeX Font Info:    Checking defaults for OML/cmm/m/it on input line 139.
136
+LaTeX Font Info:    ... okay on input line 139.
137
+LaTeX Font Info:    Checking defaults for T1/cmr/m/n on input line 139.
138
+LaTeX Font Info:    ... okay on input line 139.
139
+LaTeX Font Info:    Checking defaults for OT1/cmr/m/n on input line 139.
140
+LaTeX Font Info:    ... okay on input line 139.
141
+LaTeX Font Info:    Checking defaults for OMS/pzccm/m/n on input line 139.
142
+LaTeX Font Info:    Try loading font information for OMS+pzccm on input line 13
143
+9.
146 144
 (/usr/share/texmf/tex/latex/mathptm/omspzccm.fd
147 145
 File: omspzccm.fd 1998/07/01 Fontinst v1.800 font definitions for OMS/pzccm.
148 146
 )
149
-LaTeX Font Info:    ... okay on input line 142.
150
-LaTeX Font Info:    Checking defaults for OMX/cmex/m/n on input line 142.
151
-LaTeX Font Info:    ... okay on input line 142.
152
-LaTeX Font Info:    Checking defaults for U/cmr/m/n on input line 142.
153
-LaTeX Font Info:    ... okay on input line 142.
147
+LaTeX Font Info:    ... okay on input line 139.
148
+LaTeX Font Info:    Checking defaults for OMX/cmex/m/n on input line 139.
149
+LaTeX Font Info:    ... okay on input line 139.
150
+LaTeX Font Info:    Checking defaults for U/cmr/m/n on input line 139.
151
+LaTeX Font Info:    ... okay on input line 139.
154 152
 
155 153
 latex2htmlLength hsize=349.0pt
156 154
 
157
-latex2htmlLength vsize=681.0pt
155
+latex2htmlLength vsize=679.0pt
158 156
 
159 157
 latex2htmlLength hoffset=0.0pt
160 158
 
... ...
@@ -174,63 +163,69 @@ latex2htmlLength oddsidemargin=31.0pt
174 174
 
175 175
 latex2htmlLength evensidemargin=31.0pt
176 176
 
177
-l2hSize :picture607:0.0pt::0.0pt::349.0pt.
177
+l2hSize :picture731:0.0pt::0.0pt::349.0pt.
178 178
 [1
179 179
 
180 180
 
181 181
 
182 182
 ]
183
-LaTeX Font Info:    Try loading font information for OT1+ptmcm on input line 19
184
-3.
183
+File: clam.eps Graphic file (type eps)
184
+<clam.eps>
185
+Overfull \hbox (4.0pt too wide) detected at line 174
186
+ [] 
187
+ []
188
+
189
+l2hSize :tex2html_wrap1659:346.70613pt::0.0pt::349.0pt.
190
+[2
191
+
192
+
193
+]
194
+l2hSize :boxedminipage65:162.58174pt::0.0pt::349.0pt.
195
+[3
196
+
197
+
198
+]
199
+LaTeX Font Info:    Try loading font information for OT1+ptmcm on input line 21
200
+7.
185 201
 (/usr/share/texmf/tex/latex/mathptm/ot1ptmcm.fd
186 202
 File: ot1ptmcm.fd 1998/07/01 Fontinst v1.800 font definitions for OT1/ptmcm.
187 203
 )
188
-LaTeX Font Info:    Try loading font information for OML+ptmcm on input line 19
189
-3.
204
+LaTeX Font Info:    Try loading font information for OML+ptmcm on input line 21
205
+7.
190 206
 (/usr/share/texmf/tex/latex/mathptm/omlptmcm.fd
191 207
 File: omlptmcm.fd 1998/07/01 Fontinst v1.800 font definitions for OML/ptmcm.
192 208
 )
193
-LaTeX Font Info:    Try loading font information for OMX+psycm on input line 19
194
-3.
209
+LaTeX Font Info:    Try loading font information for OMX+psycm on input line 21
210
+7.
195 211
 (/usr/share/texmf/tex/latex/mathptm/omxpsycm.fd
196 212
 File: omxpsycm.fd 1998/07/01 Fontinst v1.800 font definitions for OMX/psycm.
197 213
 )
198
-LaTeX Font Info:    Try loading font information for U+msa on input line 193.
214
+LaTeX Font Info:    Try loading font information for U+msa on input line 217.
199 215
 (/usr/share/texmf/tex/latex/amsfonts/umsa.fd
200 216
 File: umsa.fd 1995/01/05 v2.2e AMS font definitions
201 217
 )
202
-LaTeX Font Info:    Try loading font information for U+msb on input line 193.
218
+LaTeX Font Info:    Try loading font information for U+msb on input line 217.
203 219
 (/usr/share/texmf/tex/latex/amsfonts/umsb.fd
204 220
 File: umsb.fd 1995/01/05 v2.2e AMS font definitions
205 221
 )
206 222
 LaTeX Font Info:    Font shape `OT1/ptm/bx/n' in size <12> not available
207
-(Font)              Font shape `OT1/ptm/b/n' tried instead on input line 193.
223
+(Font)              Font shape `OT1/ptm/b/n' tried instead on input line 217.
208 224
 LaTeX Font Info:    Font shape `OT1/ptm/bx/n' in size <9> not available
209
-(Font)              Font shape `OT1/ptm/b/n' tried instead on input line 193.
225
+(Font)              Font shape `OT1/ptm/b/n' tried instead on input line 217.
210 226
 LaTeX Font Info:    Font shape `OT1/ptm/bx/n' in size <7> not available
211
-(Font)              Font shape `OT1/ptm/b/n' tried instead on input line 193.
212
-l2hSize :tex2html_wrap_inline670:8.09999pt::0.0pt::9.9239pt.
213
-[2
214
-
215
-
216
-]
217
-l2hSize :tex2html_wrap_inline672:8.59999pt::8.59999pt::18.59053pt.
218
-[3
219
-
220
-
221
-]
222
-l2hSize :tex2html_wrap_inline674:10.50275pt::0.0pt::5.60004pt.
227
+(Font)              Font shape `OT1/ptm/b/n' tried instead on input line 217.
228
+l2hSize :tex2html_wrap_inline792:10.50275pt::0.0pt::5.60004pt.
223 229
 [4
224 230
 
225 231
 
226 232
 ] (./images.aux) ) 
227 233
 Here is how much of TeX's memory you used:
228
- 1945 strings out of 10823
229
- 23741 string characters out of 70674
230
- 64265 words of memory out of 263001
231
- 4865 multiletter control sequences out of 10000+0
234
+ 1780 strings out of 10823
235
+ 21876 string characters out of 70674
236
+ 62384 words of memory out of 263001
237
+ 4697 multiletter control sequences out of 10000+0
232 238
  13711 words of font info for 40 fonts, out of 400000 for 1000
233 239
  34 hyphenation exceptions out of 1000
234 240
  25i,5n,43p,205b,262s stack positions out of 300i,100n,500p,50000b,4000s
235 241
 
236
-Output written on images.dvi (4 pages, 1132 bytes).
242
+Output written on images.dvi (4 pages, 1976 bytes).
... ...
@@ -2,32 +2,36 @@
2 2
 # Associate images original text with physical files.
3 3
 
4 4
 
5
-$key = q/=;MSF=1.6;LFS=12;AAT/;
5
+$key = q/{picture}(0,0)put(0,-1.5){{textcolor{grey1}{rule{13.9cm}{5.3mm}}{{textcolor{grey2}%{rule{9mm}{5.3mm}}{hss}{picture};LFS=12;AAT/;
6 6
 $cached_env_img{$key} = q|<IMG
7
- WIDTH="20" HEIGHT="17" ALIGN="BOTTOM" BORDER="0"
8
- SRC="|."$dir".q|img2.png"
9
- ALT="$=$">|; 
10
-
11
-$key = q/^5;MSF=1.6;LFS=12;AAT/;
12
-$cached_env_img{$key} = q|<IMG
13
- WIDTH="13" HEIGHT="21" ALIGN="BOTTOM" BORDER="0"
14
- SRC="|."$dir".q|img4.png"
15
- ALT="$^5$">|; 
16
-
17
-$key = q/{picture}(0,0)put(0,-1.5){{textcolor{grey1}{rule{12.9cm}{5.3mm}}{{textcolor{grey2}%{rule{9mm}{5.3mm}}{hss}{picture};LFS=12;AAT/;
18
-$cached_env_img{$key} = q|<IMG
19
- WIDTH="625" HEIGHT="24" ALIGN="BOTTOM" BORDER="0"
7
+ WIDTH="670" HEIGHT="24" ALIGN="BOTTOM" BORDER="0"
20 8
  SRC="|."$dir".q|img1.png"
21 9
  ALT="\begin{picture}(0,0)
22
-\put(0,-1.5){\textcolor{grey1}{\rule{12.9cm}{5.3mm}}\textcolor{grey2}%
10
+\put(0,-1.5){\textcolor{grey1}{\rule{13.9cm}{5.3mm}}\textcolor{grey2}%
23 11
 {\rule{9mm}{5.3mm}}\hss}
24 12
 \end{picture}">|; 
25 13
 
26
-$key = q/ge0;MSF=1.6;LFS=12;AAT/;
14
+$key = q/{boxedminipage}[b]{textwidth}ClamAntiVirusisfreesoftware;youcanredistributeitandtwareFoundation,Inc.,675MassAve,Cambridge,MA02139,USA.{boxedminipage};LFS=12;AAT/;
27 15
 $cached_env_img{$key} = q|<IMG
28
- WIDTH="33" HEIGHT="34" ALIGN="MIDDLE" BORDER="0"
16
+ WIDTH="556" HEIGHT="259" ALIGN="BOTTOM" BORDER="0"
29 17
  SRC="|."$dir".q|img3.png"
30
- ALT="$ \ge 0$">|; 
18
+ ALT="\begin{boxedminipage}[b]{\textwidth}
19
+Clam AntiVirus is free software; you can r...
20
+...
21
+Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
22
+\end{boxedminipage}">|; 
23
+
24
+$key = q/^6;MSF=1.6;LFS=12;AAT/;
25
+$cached_env_img{$key} = q|<IMG
26
+ WIDTH="13" HEIGHT="21" ALIGN="BOTTOM" BORDER="0"
27
+ SRC="|."$dir".q|img4.png"
28
+ ALT="$^6$">|; 
29
+
30
+$key = q/includegraphics[width=353pt]{clam.eps};LFS=12;AAT/;
31
+$cached_env_img{$key} = q|<IMG
32
+ WIDTH="562" HEIGHT="552" ALIGN="BOTTOM" BORDER="0"
33
+ SRC="|."$dir".q|img2.png"
34
+ ALT="\includegraphics[width=353pt]{clam.eps}">|; 
31 35
 
32 36
 1;
33 37
 
... ...
@@ -8,17 +8,16 @@
8 8
 \usepackage{pslatex}
9 9
 \usepackage[dvips]{graphicx}
10 10
 \usepackage{wrapfig}
11
+\usepackage{boxedminipage}
11 12
 \usepackage{url}
12
-\usepackage{fancybox}
13
+\usepackage{fancyhdr}
13 14
 \usepackage{titlesec}
14
-\cornersize{.4}
15
-\headheight 14pt
15
+\addtolength{\hoffset}{-0.5cm}\addtolength{\textwidth}{1cm}\date{}
16 16
 
17 17
 \usepackage{color}
18 18
 \definecolor{grey1}{gray}{0.8}
19 19
 \definecolor{grey2}{gray}{0.3}
20 20
 
21
-\usepackage{fancyhdr}
22 21
 \pagestyle{fancy}
23 22
 \fancyhead{}
24 23
 \fancyfoot{}
... ...
@@ -26,13 +25,11 @@
26 26
 \renewcommand{\headrulewidth}{0pt}\fancyhead[RO]{\textbf{\sffamily {{\textcolor{white}{\thepage}}~}}}
27 27
 \fancyhead[RE]{\footnotesize {\nouppercase{\rightmark~}}}
28 28
 \fancyhead[LO]{\footnotesize {\unitlength=1mm\begin{picture}(0,0)
29
-	\put(0,-1.5){\textcolor{grey1}{\rule{12.9cm}{5.3mm}}\textcolor{grey2}%
29
+	\put(0,-1.5){\textcolor{grey1}{\rule{13.9cm}{5.3mm}}\textcolor{grey2}%
30 30
 	{\rule{9mm}{5.3mm}}\hss}
31 31
 \end{picture}
32 32
 {\nouppercase{\leftmark}}}}
33 33
 
34
-\date{}
35
-
36 34
 %
37 35
 \providecommand{\pl}{\vspace{.3cm}}%
38 36
 \providecommand{\rc}[2]{\textbf{#1: } #2\\[4pt]}%
... ...
@@ -162,14 +159,38 @@
162 162
 % !!! IMAGES START HERE !!!
163 163
 
164 164
 {\newpage\clearpage
165
-\lthtmlpictureA{picture607}%
165
+\lthtmlpictureA{picture731}%
166 166
 \begin{picture}(0,0)
167
-	\put(0,-1.5){\textcolor{grey1}{\rule{12.9cm}{5.3mm}}\textcolor{grey2}%
167
+	\put(0,-1.5){\textcolor{grey1}{\rule{13.9cm}{5.3mm}}\textcolor{grey2}%
168 168
 	{\rule{9mm}{5.3mm}}\hss}
169 169
 \end{picture}%
170 170
 \lthtmlpictureZ
171 171
 \lthtmlcheckvsize\clearpage}
172 172
 
173
+{\newpage\clearpage
174
+\lthtmlpictureA{tex2html_wrap1659}%
175
+\includegraphics[width=353pt]{clam.eps}%
176
+\lthtmlpictureZ
177
+\lthtmlcheckvsize\clearpage}
178
+
179
+{\newpage\clearpage
180
+\lthtmlfigureA{boxedminipage65}%
181
+\begin{boxedminipage}[b]{\textwidth}
182
+    Clam AntiVirus is free software; you can redistribute it and/or modify
183
+    it under the terms of the GNU General Public License as published by
184
+    the Free Software Foundation; either version 2 of the License, or
185
+    (at your option) any later version.
186
+\par This program is distributed in the hope that it will be useful,
187
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
188
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
189
+    GNU General Public License for more details.
190
+\par You should have received a copy of the GNU General Public License
191
+    along with this program; if not, write to the Free Software
192
+    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
193
+    \end{boxedminipage}%
194
+\lthtmlfigureZ
195
+\lthtmlcheckvsize\clearpage}
196
+
173 197
 \stepcounter{section}
174 198
 \stepcounter{subsection}
175 199
 \stepcounter{subsection}
... ...
@@ -183,20 +204,27 @@
183 183
 \stepcounter{subsection}
184 184
 \stepcounter{subsection}
185 185
 \stepcounter{subsection}
186
-\stepcounter{subsection}
187 186
 \stepcounter{section}
188 187
 \stepcounter{subsection}
189 188
 \stepcounter{subsection}
190 189
 \stepcounter{subsection}
190
+\stepcounter{subsection}
191
+\stepcounter{subsection}
192
+\stepcounter{section}
193
+\stepcounter{subsection}
191 194
 {\newpage\clearpage
192
-\lthtmlinlinemathA{tex2html_wrap_inline670}%
193
-$=$%
195
+\lthtmlinlinemathA{tex2html_wrap_inline792}%
196
+$^6$%
194 197
 \lthtmlinlinemathZ
195 198
 \lthtmlcheckvsize\clearpage}
196 199
 
200
+\stepcounter{section}
201
+\stepcounter{subsection}
202
+\stepcounter{subsection}
203
+\stepcounter{subsection}
204
+\stepcounter{subsection}
197 205
 \stepcounter{subsection}
198 206
 \stepcounter{subsection}
199
-\stepcounter{section}
200 207
 \stepcounter{subsection}
201 208
 \stepcounter{subsection}
202 209
 \stepcounter{subsection}
... ...
@@ -209,26 +237,18 @@ $=$%
209 209
 \stepcounter{subsection}
210 210
 \stepcounter{subsection}
211 211
 \stepcounter{subsection}
212
-\stepcounter{section}
213 212
 \stepcounter{subsection}
214
-\stepcounter{section}
215 213
 \stepcounter{subsection}
216
-{\newpage\clearpage
217
-\lthtmlinlinemathA{tex2html_wrap_inline672}%
218
-$ \ge 0$%
219
-\lthtmlinlinemathZ
220
-\lthtmlcheckvsize\clearpage}
221
-
222
-{\newpage\clearpage
223
-\lthtmlinlinemathA{tex2html_wrap_inline674}%
224
-$^5$%
225
-\lthtmlinlinemathZ
226
-\lthtmlcheckvsize\clearpage}
227
-
228 214
 \stepcounter{section}
229 215
 \stepcounter{subsection}
230 216
 \stepcounter{subsection}
217
+\stepcounter{subsection}
218
+\stepcounter{subsection}
231 219
 \stepcounter{section}
232 220
 \stepcounter{section}
221
+\stepcounter{subsection}
222
+\stepcounter{subsection}
223
+\stepcounter{subsection}
224
+\stepcounter{subsection}
233 225
 
234 226
 \end{document}
235 227
Binary files a/clamav-devel/docs/html/img1.png and b/clamav-devel/docs/html/img1.png differ
236 228
Binary files a/clamav-devel/docs/html/img2.png and b/clamav-devel/docs/html/img2.png differ
237 229
Binary files a/clamav-devel/docs/html/img3.png and b/clamav-devel/docs/html/img3.png differ
238 230
Binary files a/clamav-devel/docs/html/img4.png and b/clamav-devel/docs/html/img4.png differ
... ...
@@ -24,7 +24,7 @@ original version by:  Nikos Drakos, CBLU, University of Leeds
24 24
 
25 25
 <BODY >
26 26
 <!--Navigation Panel-->
27
-<A NAME="tex2html36"
27
+<A NAME="tex2html57"
28 28
   HREF="node1.html">
29 29
 <IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next"
30 30
  SRC="/usr/share/latex2html/icons/next.png"></A> 
... ...
@@ -32,14 +32,14 @@ original version by:  Nikos Drakos, CBLU, University of Leeds
32 32
  SRC="/usr/share/latex2html/icons/up_g.png"> 
33 33
 <IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous"
34 34
  SRC="/usr/share/latex2html/icons/prev_g.png"> 
35
-<A NAME="tex2html34"
35
+<A NAME="tex2html55"
36 36
   HREF="node1.html">
37 37
 <IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents"
38 38
  SRC="/usr/share/latex2html/icons/contents.png"></A>  
39 39
 <BR>
40
-<B> Next:</B> <A NAME="tex2html37"
40
+<B> Next:</B> <A NAME="tex2html58"
41 41
   HREF="node1.html">Contents</A>
42
- &nbsp <B>  <A NAME="tex2html35"
42
+ &nbsp <B>  <A NAME="tex2html56"
43 43
   HREF="node1.html">Contents</A></B> 
44 44
 <BR>
45 45
 <BR>
... ...
@@ -47,16 +47,11 @@ original version by:  Nikos Drakos, CBLU, University of Leeds
47 47
 
48 48
 <P>
49 49
 
50
-    <DIV ALIGN="CENTER">
51
-<FONT SIZE="+3">Clam AntiVirus: User Manual 
52
-<BR>	<BR>
53
-<BR>
54
-<BR>
55
-	<FONT SIZE="+2">version 0.60 
56
-<BR>	<BR>
57
-<BR>
58
-<BR>
59
-<BR>
50
+    <IMG
51
+ WIDTH="562" HEIGHT="552" ALIGN="BOTTOM" BORDER="0"
52
+ SRC="img2.png"
53
+ ALT="\includegraphics[width=353pt]{clam.eps}">
54
+    <BR>
60 55
 <BR>
61 56
 <BR>
62 57
 <BR>
... ...
@@ -64,9 +59,11 @@ original version by:  Nikos Drakos, CBLU, University of Leeds
64 64
 <BR>
65 65
 <BR>
66 66
 <BR>
67
-<BR>
68
-<BR>
69
-	<FONT SIZE="+2">Tomasz Kojm
67
+    <DIV ALIGN="RIGHT">
68
+<BR>	<FONT SIZE="+3">Clam AntiVirus 0.65
69
+<BR>	<FONT SIZE="+3">User Manual
70
+<BR>	<BR>
71
+	<FONT SIZE="+2"><I>by Tomasz Kojm</I>
70 72
     
71 73
 </FONT></FONT></FONT></DIV>
72 74
 
... ...
@@ -77,123 +74,145 @@ original version by:  Nikos Drakos, CBLU, University of Leeds
77 77
 <A NAME="CHILD_LINKS"></A>
78 78
 
79 79
 <UL>
80
-<LI><A NAME="tex2html38"
80
+<LI><A NAME="tex2html59"
81 81
   HREF="node1.html">Contents</A>
82
-<LI><A NAME="tex2html39"
82
+<LI><A NAME="tex2html60"
83 83
   HREF="node2.html">Introduction</A>
84 84
 <UL>
85
-<LI><A NAME="tex2html40"
85
+<LI><A NAME="tex2html61"
86 86
   HREF="node3.html">Features</A>
87
-<LI><A NAME="tex2html41"
87
+<LI><A NAME="tex2html62"
88 88
   HREF="node4.html">Mailing lists</A>
89
-<LI><A NAME="tex2html42"
89
+<LI><A NAME="tex2html63"
90 90
   HREF="node5.html">Virus submitting</A>
91 91
 </UL>
92 92
 <BR>
93
-<LI><A NAME="tex2html43"
93
+<LI><A NAME="tex2html64"
94 94
   HREF="node6.html">Installation</A>
95 95
 <UL>
96
-<LI><A NAME="tex2html44"
97
-  HREF="node7.html">Requirements</A>
98
-<LI><A NAME="tex2html45"
99
-  HREF="node8.html">Supported platforms</A>
100
-<LI><A NAME="tex2html46"
101
-  HREF="node9.html">Actual versions</A>
102
-<LI><A NAME="tex2html47"
103
-  HREF="node10.html">Binary packages</A>
104
-<LI><A NAME="tex2html48"
105
-  HREF="node11.html">Installation</A>
106
-<LI><A NAME="tex2html49"
107
-  HREF="node12.html">Configuration</A>
108
-<LI><A NAME="tex2html50"
109
-  HREF="node13.html">Testing</A>
110
-<LI><A NAME="tex2html51"
111
-  HREF="node14.html">FreshClam: Setting up auto-updating</A>
112
-<LI><A NAME="tex2html52"
113
-  HREF="node15.html">FreshClam: Mirrors and mirrors.txt</A>
114
-</UL>
115
-<BR>
116
-<LI><A NAME="tex2html53"
117
-  HREF="node16.html">Usage</A>
118
-<UL>
119
-<LI><A NAME="tex2html54"
120
-  HREF="node17.html">Clam daemon</A>
121
-<LI><A NAME="tex2html55"
122
-  HREF="node18.html">Clamuko</A>
123
-<LI><A NAME="tex2html56"
124
-  HREF="node19.html">Archives and compressed files</A>
125
-<LI><A NAME="tex2html57"
126
-  HREF="node20.html">Output format</A>
127
-<LI><A NAME="tex2html58"
128
-  HREF="node21.html">Signature Tool</A>
129
-</UL>
130
-<BR>
131
-<LI><A NAME="tex2html59"
132
-  HREF="node22.html">Compatible software</A>
133
-<UL>
134
-<LI><A NAME="tex2html60"
135
-  HREF="node23.html">clamav-milter</A>
136
-<LI><A NAME="tex2html61"
137
-  HREF="node24.html">mod_clamav</A>
138
-<LI><A NAME="tex2html62"
139
-  HREF="node25.html">TrashScan</A>
140
-<LI><A NAME="tex2html63"
141
-  HREF="node26.html">AMaViS - "Next Generation"</A>
142
-<LI><A NAME="tex2html64"
143
-  HREF="node27.html">amavisd-new</A>
144 96
 <LI><A NAME="tex2html65"
145
-  HREF="node28.html">Qmail-Scanner</A>
97
+  HREF="node7.html">Requirements</A>
146 98
 <LI><A NAME="tex2html66"
147
-  HREF="node29.html">Sagator</A>
99
+  HREF="node8.html">Supported platforms</A>
148 100
 <LI><A NAME="tex2html67"
149
-  HREF="node30.html">ClamdMail</A>
101
+  HREF="node9.html">Binary packages</A>
150 102
 <LI><A NAME="tex2html68"
151
-  HREF="node31.html">BlackHole</A>
103
+  HREF="node10.html">Installation</A>
152 104
 <LI><A NAME="tex2html69"
153
-  HREF="node32.html">MailScanner</A>
105
+  HREF="node11.html">Configuration</A>
154 106
 <LI><A NAME="tex2html70"
155
-  HREF="node33.html">MIMEDefang</A>
107
+  HREF="node12.html">Testing</A>
156 108
 <LI><A NAME="tex2html71"
157
-  HREF="node34.html">Exiscan</A>
158
-</UL>
159
-<BR>
109
+  HREF="node13.html">freshclam: Setting up auto-updating</A>
160 110
 <LI><A NAME="tex2html72"
161
-  HREF="node35.html">LibClamAV</A>
162
-<UL>
163
-<LI><A NAME="tex2html73"
164
-  HREF="node36.html">API</A>
111
+  HREF="node14.html">freshclam: Mirrors and mirrors.txt</A>
165 112
 </UL>
166 113
 <BR>
167
-<LI><A NAME="tex2html74"
168
-  HREF="node37.html">Problem solving</A>
114
+<LI><A NAME="tex2html73"
115
+  HREF="node15.html">Usage</A>
169 116
 <UL>
117
+<LI><A NAME="tex2html74"
118
+  HREF="node16.html">Clam daemon</A>
170 119
 <LI><A NAME="tex2html75"
171
-  HREF="node38.html">Return codes</A>
172
-</UL>
173
-<BR>
120
+  HREF="node17.html">Clamuko</A>
174 121
 <LI><A NAME="tex2html76"
175
-  HREF="node39.html">Technicals</A>
176
-<UL>
122
+  HREF="node18.html">Archives and compressed files</A>
177 123
 <LI><A NAME="tex2html77"
178
-  HREF="node40.html">Security</A>
124
+  HREF="node19.html">Output format</A>
179 125
 <LI><A NAME="tex2html78"
180
-  HREF="node41.html">Scan engine</A>
126
+  HREF="node20.html">Signature Tool</A>
181 127
 </UL>
182 128
 <BR>
183 129
 <LI><A NAME="tex2html79"
184
-  HREF="node42.html">Credits</A>
130
+  HREF="node21.html">Problem solving</A>
131
+<UL>
185 132
 <LI><A NAME="tex2html80"
186
-  HREF="node43.html">Authors</A>
133
+  HREF="node22.html">Return codes</A>
134
+</UL>
135
+<BR>
187 136
 <LI><A NAME="tex2html81"
188
-  HREF="node44.html">Bibliography</A>
137
+  HREF="node23.html">Compatible software</A>
138
+<UL>
189 139
 <LI><A NAME="tex2html82"
190
-  HREF="node45.html">About this document ...</A>
140
+  HREF="node24.html">clamav-milter</A>
141
+<LI><A NAME="tex2html83"
142
+  HREF="node25.html">IVS Milter</A>
143
+<LI><A NAME="tex2html84"
144
+  HREF="node26.html">smtp-vilter</A>
145
+<LI><A NAME="tex2html85"
146
+  HREF="node27.html">mod_clamav</A>
147
+<LI><A NAME="tex2html86"
148
+  HREF="node28.html">TrashScan</A>
149
+<LI><A NAME="tex2html87"
150
+  HREF="node29.html">AMaViS - "Next Generation"</A>
151
+<LI><A NAME="tex2html88"
152
+  HREF="node30.html">amavisd-new</A>
153
+<LI><A NAME="tex2html89"
154
+  HREF="node31.html">Qmail-Scanner</A>
155
+<LI><A NAME="tex2html90"
156
+  HREF="node32.html">Sagator</A>
157
+<LI><A NAME="tex2html91"
158
+  HREF="node33.html">ClamdMail</A>
159
+<LI><A NAME="tex2html92"
160
+  HREF="node34.html">BlackHole</A>
161
+<LI><A NAME="tex2html93"
162
+  HREF="node35.html">MailScanner</A>
163
+<LI><A NAME="tex2html94"
164
+  HREF="node36.html">MIMEDefang</A>
165
+<LI><A NAME="tex2html95"
166
+  HREF="node37.html">exiscan</A>
167
+<LI><A NAME="tex2html96"
168
+  HREF="node38.html">scanexi</A>
169
+<LI><A NAME="tex2html97"
170
+  HREF="node39.html">Mail::ClamAV</A>
171
+<LI><A NAME="tex2html98"
172
+  HREF="node40.html">OpenAntiVirus samba-vscan</A>
173
+<LI><A NAME="tex2html99"
174
+  HREF="node41.html">Sylpheed Claws</A>
175
+<LI><A NAME="tex2html100"
176
+  HREF="node42.html">nclamd</A>
177
+<LI><A NAME="tex2html101"
178
+  HREF="node43.html">cgpav</A>
179
+</UL>
180
+<BR>
181
+<LI><A NAME="tex2html102"
182
+  HREF="node44.html">LibClamAV</A>
183
+<UL>
184
+<LI><A NAME="tex2html103"
185
+  HREF="node45.html">General API</A>
186
+<LI><A NAME="tex2html104"
187
+  HREF="node46.html">Database reloading</A>
188
+<LI><A NAME="tex2html105"
189
+  HREF="node47.html">Scan engine</A>
190
+<LI><A NAME="tex2html106"
191
+  HREF="node48.html">CVD format</A>
192
+</UL>
193
+<BR>
194
+<LI><A NAME="tex2html107"
195
+  HREF="node49.html">Credits</A>
196
+<LI><A NAME="tex2html108"
197
+  HREF="node50.html">Authors</A>
198
+<UL>
199
+<LI><A NAME="tex2html109"
200
+  HREF="node51.html">Virus Database Developers</A>
201
+<LI><A NAME="tex2html110"
202
+  HREF="node52.html">Network management</A>
203
+<LI><A NAME="tex2html111"
204
+  HREF="node53.html">Graphics</A>
205
+<LI><A NAME="tex2html112"
206
+  HREF="node54.html">Core developers</A>
207
+</UL>
208
+<BR>
209
+<LI><A NAME="tex2html113"
210
+  HREF="node55.html">Bibliography</A>
211
+<LI><A NAME="tex2html114"
212
+  HREF="node56.html">About this document ...</A>
191 213
 </UL>
192 214
 <!--End of Table of Child-Links-->
193 215
 <BR><HR>
194 216
 <ADDRESS>
195 217
 Tomasz Kojm
196
-2003-06-21
218
+2003-11-11
197 219
 </ADDRESS>
198 220
 </BODY>
199 221
 </HTML>
... ...
@@ -3,23 +3,31 @@
3 3
 
4 4
 
5 5
 $key = q/clamd/;
6
-$ref_files{$key} = "$dir".q|node17.html|; 
6
+$ref_files{$key} = "$dir".q|node16.html|; 
7 7
 $noresave{$key} = "$nosave";
8 8
 
9 9
 $key = q/cite_acwww/;
10
-$ref_files{$key} = "$dir".q|node44.html|; 
10
+$ref_files{$key} = "$dir".q|node55.html|; 
11 11
 $noresave{$key} = "$nosave";
12 12
 
13 13
 $key = q/clamuko/;
14
-$ref_files{$key} = "$dir".q|node18.html|; 
14
+$ref_files{$key} = "$dir".q|node17.html|; 
15 15
 $noresave{$key} = "$nosave";
16 16
 
17 17
 $key = q/cite_clr/;
18
-$ref_files{$key} = "$dir".q|node44.html|; 
18
+$ref_files{$key} = "$dir".q|node55.html|; 
19
+$noresave{$key} = "$nosave";
20
+
21
+$key = q/samba-vscan/;
22
+$ref_files{$key} = "$dir".q|node40.html|; 
23
+$noresave{$key} = "$nosave";
24
+
25
+$key = q/mirrors/;
26
+$ref_files{$key} = "$dir".q|node14.html|; 
19 27
 $noresave{$key} = "$nosave";
20 28
 
21 29
 $key = q/engine/;
22
-$ref_files{$key} = "$dir".q|node41.html|; 
30
+$ref_files{$key} = "$dir".q|node47.html|; 
23 31
 $noresave{$key} = "$nosave";
24 32
 
25 33
 1;
... ...
@@ -3,23 +3,31 @@
3 3
 
4 4
 
5 5
 $key = q/clamd/;
6
-$external_labels{$key} = "$URL/" . q|node17.html|; 
6
+$external_labels{$key} = "$URL/" . q|node16.html|; 
7 7
 $noresave{$key} = "$nosave";
8 8
 
9 9
 $key = q/cite_acwww/;
10
-$external_labels{$key} = "$URL/" . q|node44.html|; 
10
+$external_labels{$key} = "$URL/" . q|node55.html|; 
11 11
 $noresave{$key} = "$nosave";
12 12
 
13 13
 $key = q/clamuko/;
14
-$external_labels{$key} = "$URL/" . q|node18.html|; 
14
+$external_labels{$key} = "$URL/" . q|node17.html|; 
15 15
 $noresave{$key} = "$nosave";
16 16
 
17 17
 $key = q/cite_clr/;
18
-$external_labels{$key} = "$URL/" . q|node44.html|; 
18
+$external_labels{$key} = "$URL/" . q|node55.html|; 
19
+$noresave{$key} = "$nosave";
20
+
21
+$key = q/samba-vscan/;
22
+$external_labels{$key} = "$URL/" . q|node40.html|; 
23
+$noresave{$key} = "$nosave";
24
+
25
+$key = q/mirrors/;
26
+$external_labels{$key} = "$URL/" . q|node14.html|; 
19 27
 $noresave{$key} = "$nosave";
20 28
 
21 29
 $key = q/engine/;
22
-$external_labels{$key} = "$URL/" . q|node41.html|; 
30
+$external_labels{$key} = "$URL/" . q|node47.html|; 
23 31
 $noresave{$key} = "$nosave";
24 32
 
25 33
 1;
... ...
@@ -37,8 +45,16 @@ $key = q/clamuko/;
37 37
 $external_latex_labels{$key} = q|3.2|; 
38 38
 $noresave{$key} = "$nosave";
39 39
 
40
+$key = q/samba-vscan/;
41
+$external_latex_labels{$key} = q|5.17|; 
42
+$noresave{$key} = "$nosave";
43
+
44
+$key = q/mirrors/;
45
+$external_latex_labels{$key} = q|2.8|; 
46
+$noresave{$key} = "$nosave";
47
+
40 48
 $key = q/engine/;
41
-$external_latex_labels{$key} = q|7.2|; 
49
+$external_latex_labels{$key} = q|6.3|; 
42 50
 $noresave{$key} = "$nosave";
43 51
 
44 52
 1;
... ...
@@ -27,24 +27,24 @@ original version by:  Nikos Drakos, CBLU, University of Leeds
27 27
 
28 28
 <BODY >
29 29
 <!--Navigation Panel-->
30
-<A NAME="tex2html91"
30
+<A NAME="tex2html123"
31 31
   HREF="node2.html">
32 32
 <IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next"
33 33
  SRC="/usr/share/latex2html/icons/next.png"></A> 
34
-<A NAME="tex2html89"
34
+<A NAME="tex2html121"
35 35
   HREF="clamdoc.html">
36 36
 <IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up"
37 37
  SRC="/usr/share/latex2html/icons/up.png"></A> 
38
-<A NAME="tex2html83"
38
+<A NAME="tex2html115"
39 39
   HREF="clamdoc.html">
40 40
 <IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous"
41 41
  SRC="/usr/share/latex2html/icons/prev.png"></A>   
42 42
 <BR>
43
-<B> Next:</B> <A NAME="tex2html92"
43
+<B> Next:</B> <A NAME="tex2html124"
44 44
   HREF="node2.html">Introduction</A>
45
-<B> Up:</B> <A NAME="tex2html90"
45
+<B> Up:</B> <A NAME="tex2html122"
46 46
   HREF="clamdoc.html">clamdoc</A>
47
-<B> Previous:</B> <A NAME="tex2html84"
47
+<B> Previous:</B> <A NAME="tex2html116"
48 48
   HREF="clamdoc.html">clamdoc</A>
49 49
 <BR>
50 50
 <BR>
... ...
@@ -57,123 +57,169 @@ Contents</A>
57 57
 <!--Table of Contents-->
58 58
 
59 59
 <UL>
60
-<LI><A NAME="tex2html93"
60
+<LI><A NAME="tex2html125"
61 61
   HREF="node2.html">Introduction</A>
62 62
 <UL>
63
-<LI><A NAME="tex2html94"
63
+<LI><A NAME="tex2html126"
64 64
   HREF="node3.html">Features</A>
65
-<LI><A NAME="tex2html95"
65
+<LI><A NAME="tex2html127"
66 66
   HREF="node4.html">Mailing lists</A>
67
-<LI><A NAME="tex2html96"
67
+<LI><A NAME="tex2html128"
68 68
   HREF="node5.html">Virus submitting</A>
69 69
 </UL>
70 70
 <BR>
71
-<LI><A NAME="tex2html97"
71
+<LI><A NAME="tex2html129"
72 72
   HREF="node6.html">Installation</A>
73 73
 <UL>
74
-<LI><A NAME="tex2html98"
74
+<LI><A NAME="tex2html130"
75 75
   HREF="node7.html">Requirements</A>
76
-<LI><A NAME="tex2html99"
76
+<LI><A NAME="tex2html131"
77 77
   HREF="node8.html">Supported platforms</A>
78
-<LI><A NAME="tex2html100"
79
-  HREF="node9.html">Actual versions</A>
80
-<LI><A NAME="tex2html101"
81
-  HREF="node10.html">Binary packages</A>
82
-<LI><A NAME="tex2html102"
83
-  HREF="node11.html">Installation</A>
84
-<LI><A NAME="tex2html103"
85
-  HREF="node12.html">Configuration</A>
86
-<LI><A NAME="tex2html104"
87
-  HREF="node13.html">Testing</A>
88
-<LI><A NAME="tex2html105"
89
-  HREF="node14.html">FreshClam: Setting up auto-updating</A>
90
-<LI><A NAME="tex2html106"
91
-  HREF="node15.html">FreshClam: Mirrors and mirrors.txt</A>
78
+<LI><A NAME="tex2html132"
79
+  HREF="node9.html">Binary packages</A>
80
+<LI><A NAME="tex2html133"
81
+  HREF="node10.html">Installation</A>
82
+<LI><A NAME="tex2html134"
83
+  HREF="node11.html">Configuration</A>
84
+<LI><A NAME="tex2html135"
85
+  HREF="node12.html">Testing</A>
86
+<LI><A NAME="tex2html136"
87
+  HREF="node13.html">freshclam: Setting up auto-updating</A>
88
+<LI><A NAME="tex2html137"
89
+  HREF="node14.html">freshclam: Mirrors and mirrors.txt</A>
92 90
 </UL>
93 91
 <BR>
94
-<LI><A NAME="tex2html107"
95
-  HREF="node16.html">Usage</A>
92
+<LI><A NAME="tex2html138"
93
+  HREF="node15.html">Usage</A>
96 94
 <UL>
97
-<LI><A NAME="tex2html108"
98
-  HREF="node17.html">Clam daemon</A>
99
-<LI><A NAME="tex2html109"
100
-  HREF="node18.html">Clamuko</A>
101
-<LI><A NAME="tex2html110"
102
-  HREF="node19.html">Archives and compressed files</A>
103
-<LI><A NAME="tex2html111"
104
-  HREF="node20.html">Output format</A>
105
-<LI><A NAME="tex2html112"
106
-  HREF="node21.html">Signature Tool</A>
95
+<LI><A NAME="tex2html139"
96
+  HREF="node16.html">Clam daemon</A>
97
+<LI><A NAME="tex2html140"
98
+  HREF="node17.html">Clamuko</A>
99
+<LI><A NAME="tex2html141"
100
+  HREF="node18.html">Archives and compressed files</A>
101
+<LI><A NAME="tex2html142"
102
+  HREF="node19.html">Output format</A>
103
+<LI><A NAME="tex2html143"
104
+  HREF="node20.html">Signature Tool</A>
107 105
 </UL>
108 106
 <BR>
109
-<LI><A NAME="tex2html113"
110
-  HREF="node22.html">Compatible software</A>
107
+<LI><A NAME="tex2html144"
108
+  HREF="node21.html">Problem solving</A>
111 109
 <UL>
112
-<LI><A NAME="tex2html114"
113
-  HREF="node23.html">clamav-milter</A>
114
-<LI><A NAME="tex2html115"
115
-  HREF="node24.html">mod_clamav</A>
116
-<LI><A NAME="tex2html116"
117
-  HREF="node25.html">TrashScan</A>
118
-<LI><A NAME="tex2html117"
119
-  HREF="node26.html">AMaViS - "Next Generation"</A>
120
-<LI><A NAME="tex2html118"
121
-  HREF="node27.html">amavisd-new</A>
122
-<LI><A NAME="tex2html119"
123
-  HREF="node28.html">Qmail-Scanner</A>
124
-<LI><A NAME="tex2html120"
125
-  HREF="node29.html">Sagator</A>
126
-<LI><A NAME="tex2html121"
127
-  HREF="node30.html">ClamdMail</A>
128
-<LI><A NAME="tex2html122"
129
-  HREF="node31.html">BlackHole</A>
130
-<LI><A NAME="tex2html123"
131
-  HREF="node32.html">MailScanner</A>
132
-<LI><A NAME="tex2html124"
133
-  HREF="node33.html">MIMEDefang</A>
134
-<LI><A NAME="tex2html125"
135
-  HREF="node34.html">Exiscan</A>
110
+<LI><A NAME="tex2html145"
111
+  HREF="node22.html">Return codes</A>
136 112
 </UL>
137 113
 <BR>
138
-<LI><A NAME="tex2html126"
139
-  HREF="node35.html">LibClamAV</A>
114
+<LI><A NAME="tex2html146"
115
+  HREF="node23.html">Compatible software</A>
140 116
 <UL>
141
-<LI><A NAME="tex2html127"
142
-  HREF="node36.html">API</A>
117
+<LI><A NAME="tex2html147"
118
+  HREF="node24.html">clamav-milter</A>
119
+<LI><A NAME="tex2html148"
120
+  HREF="node25.html">IVS Milter</A>
121
+<LI><A NAME="tex2html149"
122
+  HREF="node26.html">smtp-vilter</A>
123
+<LI><A NAME="tex2html150"
124
+  HREF="node27.html">mod_clamav</A>
125
+<LI><A NAME="tex2html151"
126
+  HREF="node28.html">TrashScan</A>
127
+<LI><A NAME="tex2html152"
128
+  HREF="node29.html">AMaViS - "Next Generation"</A>
129
+<LI><A NAME="tex2html153"
130
+  HREF="node30.html">amavisd-new</A>
131
+<LI><A NAME="tex2html154"
132
+  HREF="node31.html">Qmail-Scanner</A>
133
+<LI><A NAME="tex2html155"
134
+  HREF="node32.html">Sagator</A>
135
+<LI><A NAME="tex2html156"
136
+  HREF="node33.html">ClamdMail</A>
137
+<LI><A NAME="tex2html157"
138
+  HREF="node34.html">BlackHole</A>
139
+<LI><A NAME="tex2html158"
140
+  HREF="node35.html">MailScanner</A>
141
+<LI><A NAME="tex2html159"
142
+  HREF="node36.html">MIMEDefang</A>
143
+<LI><A NAME="tex2html160"
144
+  HREF="node37.html">exiscan</A>
145
+<LI><A NAME="tex2html161"
146
+  HREF="node38.html">scanexi</A>
147
+<LI><A NAME="tex2html162"
148
+  HREF="node39.html">Mail::ClamAV</A>
149
+<LI><A NAME="tex2html163"
150
+  HREF="node40.html">OpenAntiVirus samba-vscan</A>
151
+<LI><A NAME="tex2html164"
152
+  HREF="node41.html">Sylpheed Claws</A>
153
+<LI><A NAME="tex2html165"
154
+  HREF="node42.html">nclamd</A>
155
+<LI><A NAME="tex2html166"
156
+  HREF="node43.html">cgpav</A>
143 157
 </UL>
144 158
 <BR>
145
-<LI><A NAME="tex2html128"
146
-  HREF="node37.html">Problem solving</A>
159
+<LI><A NAME="tex2html167"
160
+  HREF="node44.html">LibClamAV</A>
147 161
 <UL>
148
-<LI><A NAME="tex2html129"
149
-  HREF="node38.html">Return codes</A>
162
+<LI><A NAME="tex2html168"
163
+  HREF="node45.html">General API</A>
164
+<LI><A NAME="tex2html169"
165
+  HREF="node46.html">Database reloading</A>
166
+<LI><A NAME="tex2html170"
167
+  HREF="node47.html">Scan engine</A>
168
+<LI><A NAME="tex2html171"
169
+  HREF="node48.html">CVD format</A>
150 170
 </UL>
151 171
 <BR>
152
-<LI><A NAME="tex2html130"
153
-  HREF="node39.html">Technicals</A>
172
+<LI><A NAME="tex2html172"
173
+  HREF="node49.html">Credits</A>
174
+<LI><A NAME="tex2html173"
175
+  HREF="node50.html">Authors</A>
154 176
 <UL>
155
-<LI><A NAME="tex2html131"
156
-  HREF="node40.html">Security</A>
157
-<LI><A NAME="tex2html132"
158
-  HREF="node41.html">Scan engine</A>
177
+<LI><A NAME="tex2html174"
178
+  HREF="node51.html">Virus Database Developers</A>
179
+<LI><A NAME="tex2html175"
180
+  HREF="node52.html">Network management</A>
181
+<LI><A NAME="tex2html176"
182
+  HREF="node53.html">Graphics</A>
183
+<LI><A NAME="tex2html177"
184
+  HREF="node54.html">Core developers</A>
159 185
 </UL>
160 186
 <BR>
161
-<LI><A NAME="tex2html133"
162
-  HREF="node42.html">Credits</A>
163
-<LI><A NAME="tex2html134"
164
-  HREF="node43.html">Authors</A>
165
-<LI><A NAME="tex2html135"
166
-  HREF="node44.html">Bibliography</A>
167
-<LI><A NAME="tex2html136"
168
-  HREF="node45.html">About this document ...</A>
187
+<LI><A NAME="tex2html178"
188
+  HREF="node55.html">Bibliography</A>
189
+<LI><A NAME="tex2html179"
190
+  HREF="node56.html">About this document ...</A>
169 191
 </UL>
170
-<!--End of Table of Contents-->    
192
+<!--End of Table of Contents-->    <BR>
193
+<BR>
194
+<BR>
195
+<BR>
196
+<BR>
197
+<BR>
198
+<BR>
199
+<BR>
200
+<BR>
201
+<BR>
202
+<BR>
203
+<BR>
204
+    
205
+    <BR>
206
+<IMG
207
+ WIDTH="556" HEIGHT="259" ALIGN="BOTTOM" BORDER="0"
208
+ SRC="img3.png"
209
+ ALT="\begin{boxedminipage}[b]{\textwidth}
210
+Clam AntiVirus is free software; you can r...
211
+...
212
+Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
213
+\end{boxedminipage}">
214
+<BR>
215
+
216
+<P>
171 217
 
172 218
 <P>
173 219
 <BR><HR>
174 220
 <ADDRESS>
175 221
 Tomasz Kojm
176
-2003-06-21
222
+2003-11-11
177 223
 </ADDRESS>
178 224
 </BODY>
179 225
 </HTML>
... ...
@@ -7,8 +7,8 @@ original version by:  Nikos Drakos, CBLU, University of Leeds
7 7
   Jens Lippmann, Marek Rouchal, Martin Wilck and others -->
8 8
 <HTML>
9 9
 <HEAD>
10
-<TITLE>Binary packages</TITLE>
11
-<META NAME="description" CONTENT="Binary packages">
10
+<TITLE>Installation</TITLE>
11
+<META NAME="description" CONTENT="Installation">
12 12
 <META NAME="keywords" CONTENT="clamdoc">
13 13
 <META NAME="resource-type" CONTENT="document">
14 14
 <META NAME="distribution" CONTENT="global">
... ...
@@ -27,60 +27,117 @@ original version by:  Nikos Drakos, CBLU, University of Leeds
27 27
 
28 28
 <BODY >
29 29
 <!--Navigation Panel-->
30
-<A NAME="tex2html253"
30
+<A NAME="tex2html295"
31 31
   HREF="node11.html">
32 32
 <IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next"
33 33
  SRC="/usr/share/latex2html/icons/next.png"></A> 
34
-<A NAME="tex2html249"
34
+<A NAME="tex2html291"
35 35
   HREF="node6.html">
36 36
 <IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up"
37 37
  SRC="/usr/share/latex2html/icons/up.png"></A> 
38
-<A NAME="tex2html243"
38
+<A NAME="tex2html285"
39 39
   HREF="node9.html">
40 40
 <IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous"
41 41
  SRC="/usr/share/latex2html/icons/prev.png"></A> 
42
-<A NAME="tex2html251"
42
+<A NAME="tex2html293"
43 43
   HREF="node1.html">
44 44
 <IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents"
45 45
  SRC="/usr/share/latex2html/icons/contents.png"></A>  
46 46
 <BR>
47
-<B> Next:</B> <A NAME="tex2html254"
48
-  HREF="node11.html">Installation</A>
49
-<B> Up:</B> <A NAME="tex2html250"
47
+<B> Next:</B> <A NAME="tex2html296"
48
+  HREF="node11.html">Configuration</A>
49
+<B> Up:</B> <A NAME="tex2html292"
50 50
   HREF="node6.html">Installation</A>
51
-<B> Previous:</B> <A NAME="tex2html244"
52
-  HREF="node9.html">Actual versions</A>
53
- &nbsp <B>  <A NAME="tex2html252"
51
+<B> Previous:</B> <A NAME="tex2html286"
52
+  HREF="node9.html">Binary packages</A>
53
+ &nbsp <B>  <A NAME="tex2html294"
54 54
   HREF="node1.html">Contents</A></B> 
55 55
 <BR>
56 56
 <BR>
57 57
 <!--End of Navigation Panel-->
58 58
 
59 59
 <H2><A NAME="SECTION00034000000000000000">
60
-Binary packages</A>
60
+Installation</A>
61 61
 </H2>
62
-    There are high quality <I>deb</I> and <I>rpm</I> packages available
63
-    for Linux. The Debian package is maintained by Magnus Ekdahl and you will
64
-    find it on debian mirrors, <TT><A NAME="tex2html6"
65
-  HREF="http://www.debian.org">http://www.debian.org</A></TT>.
66
-    The RPM package is maintained by Arkadiusz Miskiewicz and is distributed
67
-    with Polish(ed) Linux Distribution (<TT><A NAME="tex2html7"
68
-  HREF="ftp://ftp.pld.org.pl">ftp://ftp.pld.org.pl</A></TT>). There is
69
-    also the RPM package for Mandrake available, it's maintained by Oden
70
-    Eriksson and can be found on Mandrake mirrors.
71
-    The binary packages for AIX are available in AIX PDSLIB, UCLA
72
-    <TT><A NAME="tex2html8"
73
-  HREF="http://aixpdslib.seas.ucla.edu/packages/clamav.html">http://aixpdslib.seas.ucla.edu/packages/clamav.html</A></TT>. The official
74
-    FreeBSD port is maintained by Masahiro Teramoto. The unofficial port
75
-    for OpenBSD (maintained by Flin Mueller) is available at:
76
-<BR>    <TT><A NAME="tex2html9"
77
-  HREF="http://www.activeintra.net/openbsd/article.php?id=5">http://www.activeintra.net/openbsd/article.php?id=5</A></TT>.
78 62
 
79 63
 <P>
80
-<BR><HR>
64
+Please read the README file in the current version, because it may
65
+    contain some important release notes.
66
+    If you are installing ClamAV for the first time, you have to add a new
67
+    <I>clamav</I> user and group to your system: <A NAME="tex2html10"
68
+  HREF="footnode.html#foot137"><SUP>3</SUP></A>
69
+<P>
70
+<PRE>
71
+	# groupadd clamav
72
+	# useradd -g clamav -s /bin/false -c "Clam AntiVirus" clamav
73
+</PRE>
74
+
75
+<P>
76
+The above method works on Linux and Solaris, in case you don't have
77
+    <I>groupadd, useradd</I> please consult a system manual.
78
+    If you are installing ClamAV on user account you may omit this step with
79
+    the option <I>-disable-clamav</I> passed to the <I>configure</I> script:
80
+    <PRE>
81
+	$ ./configure --disable-clamav
82
+</PRE>
83
+    This disables test for the <I>clamav</I> user and group. <B>clamscan</B>
84
+    still requires <I>clamav</I> to work in the superuser mode. The password
85
+    for the <I>clamav</I> account should be locked in <I>/etc/passwd</I> or
86
+    <I>/etc/shadow</I>.
87
+
88
+<P>
89
+Once you have created the clamav user and group, please extract the archive:
90
+    <PRE>
91
+	$ zcat clamav-x.yz.tar.gz | tar xvf -
92
+	$ cd clamav-x.yz
93
+</PRE>
94
+    Assuming you want to have the configuration file installed in /etc,
95
+    configure the package as follows:
96
+    <PRE>
97
+	$ ./configure --sysconfdir=/etc
98
+</PRE>
99
+    Currently <I>gcc</I> is required for the compilation. Support for other
100
+    compilers will be added in a near future.
101
+    <PRE>
102
+	$ make
103
+	$ su -c "make install"
104
+</PRE>
105
+    In the last step software is installed in the /usr/local directory
106
+    and the config file in /etc.
107
+    <B>WARNING: Never set SUID or SGID bits on Clam AntiVirus programs.</B>
108
+
109
+<P>
110
+<HR>
111
+<!--Navigation Panel-->
112
+<A NAME="tex2html295"
113
+  HREF="node11.html">
114
+<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next"
115
+ SRC="/usr/share/latex2html/icons/next.png"></A> 
116
+<A NAME="tex2html291"
117
+  HREF="node6.html">
118
+<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up"
119
+ SRC="/usr/share/latex2html/icons/up.png"></A> 
120
+<A NAME="tex2html285"
121
+  HREF="node9.html">
122
+<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous"
123
+ SRC="/usr/share/latex2html/icons/prev.png"></A> 
124
+<A NAME="tex2html293"
125
+  HREF="node1.html">
126
+<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents"
127
+ SRC="/usr/share/latex2html/icons/contents.png"></A>  
128
+<BR>
129
+<B> Next:</B> <A NAME="tex2html296"
130
+  HREF="node11.html">Configuration</A>
131
+<B> Up:</B> <A NAME="tex2html292"
132
+  HREF="node6.html">Installation</A>
133
+<B> Previous:</B> <A NAME="tex2html286"
134
+  HREF="node9.html">Binary packages</A>
135
+ &nbsp <B>  <A NAME="tex2html294"
136
+  HREF="node1.html">Contents</A></B> 
137
+<!--End of Navigation Panel-->
81 138
 <ADDRESS>
82 139
 Tomasz Kojm
83
-2003-06-21
140
+2003-11-11
84 141
 </ADDRESS>
85 142
 </BODY>
86 143
 </HTML>
... ...
@@ -7,8 +7,8 @@ original version by:  Nikos Drakos, CBLU, University of Leeds
7 7
   Jens Lippmann, Marek Rouchal, Martin Wilck and others -->
8 8
 <HTML>
9 9
 <HEAD>
10
-<TITLE>Installation</TITLE>
11
-<META NAME="description" CONTENT="Installation">
10
+<TITLE>Configuration</TITLE>
11
+<META NAME="description" CONTENT="Configuration">
12 12
 <META NAME="keywords" CONTENT="clamdoc">
13 13
 <META NAME="resource-type" CONTENT="document">
14 14
 <META NAME="distribution" CONTENT="global">
... ...
@@ -27,122 +27,117 @@ original version by:  Nikos Drakos, CBLU, University of Leeds
27 27
 
28 28
 <BODY >
29 29
 <!--Navigation Panel-->
30
-<A NAME="tex2html265"
30
+<A NAME="tex2html307"
31 31
   HREF="node12.html">
32 32
 <IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next"
33 33
  SRC="/usr/share/latex2html/icons/next.png"></A> 
34
-<A NAME="tex2html261"
34
+<A NAME="tex2html303"
35 35
   HREF="node6.html">
36 36
 <IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up"
37 37
  SRC="/usr/share/latex2html/icons/up.png"></A> 
38
-<A NAME="tex2html255"
38
+<A NAME="tex2html297"
39 39
   HREF="node10.html">
40 40
 <IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous"
41 41
  SRC="/usr/share/latex2html/icons/prev.png"></A> 
42
-<A NAME="tex2html263"
42
+<A NAME="tex2html305"
43 43
   HREF="node1.html">
44 44
 <IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents"
45 45
  SRC="/usr/share/latex2html/icons/contents.png"></A>  
46 46
 <BR>
47
-<B> Next:</B> <A NAME="tex2html266"
48
-  HREF="node12.html">Configuration</A>
49
-<B> Up:</B> <A NAME="tex2html262"
47
+<B> Next:</B> <A NAME="tex2html308"
48
+  HREF="node12.html">Testing</A>
49
+<B> Up:</B> <A NAME="tex2html304"
50 50
   HREF="node6.html">Installation</A>
51
-<B> Previous:</B> <A NAME="tex2html256"
52
-  HREF="node10.html">Binary packages</A>
53
- &nbsp <B>  <A NAME="tex2html264"
51
+<B> Previous:</B> <A NAME="tex2html298"
52
+  HREF="node10.html">Installation</A>
53
+ &nbsp <B>  <A NAME="tex2html306"
54 54
   HREF="node1.html">Contents</A></B> 
55 55
 <BR>
56 56
 <BR>
57 57
 <!--End of Navigation Panel-->
58 58
 
59 59
 <H2><A NAME="SECTION00035000000000000000">
60
-Installation</A>
60
+Configuration</A>
61 61
 </H2>
62
-
63
-<P>
64
-Please read the README file in the current version, because it probably
65
-    contains some important release notes.
66
-    If you are installing Clam AV for the first time, you have to add a new user
67
-    and group to your system - <I>clamav</I>: <A NAME="tex2html10"
68
-  HREF="footnode.html#foot575"><SUP>2</SUP></A>
69
-<P>
70
-<PRE>
71
-	# groupadd clamav
72
-	# useradd -g clamav -s /bin/false -c "Clam AntiVirus" clamav
73
-</PRE>
74
-
75
-<P>
76
-The above method works on Linux and Solaris, if you don't have
77
-    <I>groupadd, useradd</I> please consult your system manual - the section
78
-    about creating new users and groups.
79
-    If you are not a system administrator or won't be using <B>clamscan</B>
80
-    in superuser mode, you may omit this step with the option
81
-    <I>-disable-clamav</I> passed to the <I>configure</I> script:
62
+    If you are going to use the daemon you have to configure it because
63
+    it won't run with default settings:
82 64
     <PRE>
83
-	$ ./configure --disable-clamav
65
+	$ clamd
66
+	ERROR: Please edit the example config file
67
+	       /etc/clamav.conf.
84 68
 </PRE>
85
-    This disables test for the <I>clamav</I> user and group. <B>clamscan</B>
86
-    still requires <I>clamav</I> for superuser mode. Please don't set a password
87
-    on this account, just assure it's locked with "<B>!</B>" in
88
-    <I>/etc/passwd</I> or <I>/etc/shadow</I>. It must be a normal, unprivileged
89
-    user. Don't add it to any supplementary groups.
90
-<BR>
91
-<BR>
69
+    This shows a location of the configuration file. The format and
70
+    options of this file are fully described in the <I>clamav.conf(5)</I>
71
+    manual. clamd configuration is very easy because the config file is well
72
+    commented. Remember - you must remove the "Example" directive.
92 73
 
93 74
 <P>
94
-After you have created the clamav user/group, extract the archive:
75
+Another feature of clamd is on-access scanning based on the Dazuko module,
76
+    available from <TT><A NAME="tex2html11"
77
+  HREF="http://dazuko.org">http://dazuko.org</A></TT>. <B>This is not required to
78
+    run clamd - furthermore, you shouldn't run Dazuko on production systems</B>.
79
+    A special thread in clamd responsible for a communication with Dazuko
80
+    is called "Clamuko" (it's due to the funny name of Dazuko - I don't know
81
+    what Clamuko means). Clamuko is supported on Linux 2.2 and 2.4 only.
82
+    To compile dazuko execute:
95 83
     <PRE>
96
-	$ zcat clamav-x.yz.tar.gz | tar xvf -
97
-	$ cd clamav-x.yz
84
+	$ tar zxpvf dazuko-a.b.c.tar.gz
85
+	$ cd dazuko-a.b.c
86
+	$ make dazuko
87
+	or
88
+	$ make dazuko-smp (for smp kernels)
89
+	$ su
90
+	# insmod dazuko.o
91
+	# cp dazuko.o /lib/modules/`uname -r`/misc
92
+	# depmod -a
98 93
 </PRE>
99
-    Assuming you want the configuration file installed in /etc, configure
100
-    the package as follows:
94
+    Depending on your Linux distribution you have to add a "dazuko" entry to
95
+<BR>    <I>/etc/modules</I> or something like:
101 96
     <PRE>
102
-	$ ./configure --sysconfdir=/etc
97
+	modprobe dazuko
103 98
 </PRE>
104
-    Currently <I>gcc</I> is required for the compilation. Support for other
105
-    compilers will be added in a near future.
99
+    to some startup file in order to load dazuko at a boot time. You must
100
+    also create the <I>/dev/dazuko</I> device:
106 101
     <PRE>
107
-	$ make
108
-	$ su -c "make install"
102
+	$ cat /proc/devices | grep dazuko
103
+	254 dazuko
104
+	$ su -c "mknod -m 600 /dev/dazuko c 254 0"
109 105
 </PRE>
110
-    In the last step the software is installed in the /usr/local directory
111
-    and the config file in /etc.
112
-    <B>WARNING: Never set SUID/SGID bit on Clam AntiVirus programs.</B>
106
+    Now just configure Clamuko in <I>clamav.conf</I>. Please check
107
+    <A HREF="node17.html#clamuko">3.2</A> section.
113 108
 
114 109
 <P>
115 110
 <HR>
116 111
 <!--Navigation Panel-->
117
-<A NAME="tex2html265"
112
+<A NAME="tex2html307"
118 113
   HREF="node12.html">
119 114
 <IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next"
120 115
  SRC="/usr/share/latex2html/icons/next.png"></A> 
121
-<A NAME="tex2html261"
116
+<A NAME="tex2html303"
122 117
   HREF="node6.html">
123 118
 <IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up"
124 119
  SRC="/usr/share/latex2html/icons/up.png"></A> 
125
-<A NAME="tex2html255"
120
+<A NAME="tex2html297"
126 121
   HREF="node10.html">
127 122
 <IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous"
128 123
  SRC="/usr/share/latex2html/icons/prev.png"></A> 
129
-<A NAME="tex2html263"
124
+<A NAME="tex2html305"
130 125
   HREF="node1.html">
131 126
 <IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents"
132 127
  SRC="/usr/share/latex2html/icons/contents.png"></A>  
133 128
 <BR>
134
-<B> Next:</B> <A NAME="tex2html266"
135
-  HREF="node12.html">Configuration</A>
136
-<B> Up:</B> <A NAME="tex2html262"
129
+<B> Next:</B> <A NAME="tex2html308"
130
+  HREF="node12.html">Testing</A>
131
+<B> Up:</B> <A NAME="tex2html304"
137 132
   HREF="node6.html">Installation</A>
138
-<B> Previous:</B> <A NAME="tex2html256"
139
-  HREF="node10.html">Binary packages</A>
140
- &nbsp <B>  <A NAME="tex2html264"
133
+<B> Previous:</B> <A NAME="tex2html298"
134
+  HREF="node10.html">Installation</A>
135
+ &nbsp <B>  <A NAME="tex2html306"
141 136
   HREF="node1.html">Contents</A></B> 
142 137
 <!--End of Navigation Panel-->
143 138
 <ADDRESS>
144 139
 Tomasz Kojm
145
-2003-06-21
140
+2003-11-11
146 141
 </ADDRESS>
147 142
 </BODY>
148 143
 </HTML>
... ...
@@ -7,8 +7,8 @@ original version by:  Nikos Drakos, CBLU, University of Leeds
7 7
   Jens Lippmann, Marek Rouchal, Martin Wilck and others -->
8 8
 <HTML>
9 9
 <HEAD>
10
-<TITLE>Configuration</TITLE>
11
-<META NAME="description" CONTENT="Configuration">
10
+<TITLE>Testing</TITLE>
11
+<META NAME="description" CONTENT="Testing">
12 12
 <META NAME="keywords" CONTENT="clamdoc">
13 13
 <META NAME="resource-type" CONTENT="document">
14 14
 <META NAME="distribution" CONTENT="global">
... ...
@@ -27,124 +27,57 @@ original version by:  Nikos Drakos, CBLU, University of Leeds
27 27
 
28 28
 <BODY >
29 29
 <!--Navigation Panel-->
30
-<A NAME="tex2html277"
30
+<A NAME="tex2html319"
31 31
   HREF="node13.html">
32 32
 <IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next"
33 33
  SRC="/usr/share/latex2html/icons/next.png"></A> 
34
-<A NAME="tex2html273"
34
+<A NAME="tex2html315"
35 35
   HREF="node6.html">
36 36
 <IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up"
37 37
  SRC="/usr/share/latex2html/icons/up.png"></A> 
38
-<A NAME="tex2html267"
38
+<A NAME="tex2html309"
39 39
   HREF="node11.html">
40 40
 <IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous"
41 41
  SRC="/usr/share/latex2html/icons/prev.png"></A> 
42
-<A NAME="tex2html275"
42
+<A NAME="tex2html317"
43 43
   HREF="node1.html">
44 44
 <IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents"
45 45
  SRC="/usr/share/latex2html/icons/contents.png"></A>  
46 46
 <BR>
47
-<B> Next:</B> <A NAME="tex2html278"
48
-  HREF="node13.html">Testing</A>
49
-<B> Up:</B> <A NAME="tex2html274"
47
+<B> Next:</B> <A NAME="tex2html320"
48
+  HREF="node13.html">freshclam: Setting up auto-updating</A>
49
+<B> Up:</B> <A NAME="tex2html316"
50 50
   HREF="node6.html">Installation</A>
51
-<B> Previous:</B> <A NAME="tex2html268"
52
-  HREF="node11.html">Installation</A>
53
- &nbsp <B>  <A NAME="tex2html276"
51
+<B> Previous:</B> <A NAME="tex2html310"
52
+  HREF="node11.html">Configuration</A>
53
+ &nbsp <B>  <A NAME="tex2html318"
54 54
   HREF="node1.html">Contents</A></B> 
55 55
 <BR>
56 56
 <BR>
57 57
 <!--End of Navigation Panel-->
58 58
 
59 59
 <H2><A NAME="SECTION00036000000000000000">
60
-Configuration</A>
60
+Testing</A>
61 61
 </H2>
62
-    If you are going to use the daemon, you need to configure it.
63 62
 
64 63
 <P>
65
-<PRE>
66
-	$ clamd
67
-	ERROR: Please edit the example config file
68
-	       /etc/clamav.conf.
69
-</PRE>
70
-
71
-<P>
72
-Now you know, where the configuration file is located ;). The format and
73
-    options of this file are fully described in the <I>clamav.conf(5)</I>
74
-    manual. clamd configuration is rather easy, the config file is well
75
-    commented. Remember, you must remove the "Example" directive.
76
-
77
-<P>
78
-Another feature of clamd is on-access scanning based on the Dazuko module,
79
-    available from <TT><A NAME="tex2html11"
80
-  HREF="http://dazuko.org">http://dazuko.org</A></TT>. <B>This is not required to
81
-    run clamd, furthermore you shouldn't run Dazuko on production systems</B>.
82
-    A special thread in clamd responsible for the communication with Dazuko
83
-    is called "Clamuko" (it's due to the funny name of Dazuko - I don't know
84
-    what Clamuko means). Clamuko is supported on Linux 2.2 and 2.4 only.
85
-    Dazuko instalation:
86
-
87
-<P>
88
-<PRE>
89
-	$ tar zxpvf dazuko-a.b.c.tar.gz
90
-	$ cd dazuko-a.b.c
91
-	$ make dazuko
92
-	or
93
-	$ make dazuko-smp (for smp kernels)
94
-	$ su
95
-	# insmod dazuko.o
96
-	# cp dazuko.o /lib/modules/`uname -r`/misc
97
-	# depmod -a
98
-</PRE>
99
-
100
-<P>
101
-Depending on your Linux distribution you have to add "dazuko" entry to
102
-<BR>    <I>/etc/modules</I> or the following line:
64
+OK. Let's do some tests. Try to scan recursively the source directory:
103 65
     <PRE>
104
-	modprobe dazuko
66
+	$ clamscan -r -l scan.txt clamav-x.yz
105 67
 </PRE>
106
-    to some startup file to load dazuko at the boot time. You must also create
107
-    the <I>/dev/dazuko</I> device:
68
+    It should find some (test) viruses in the clamav-x.yz/test directory.
69
+    The scan result is saved in the scan.txt log file. <A NAME="tex2html12"
70
+  HREF="footnode.html#foot701"><SUP>4</SUP></A>. To test clamd: start it and
71
+    use <I>clamdscan</I> (you can also connect directly to clamd and run
72
+    the SCAN command):
108 73
     <PRE>
109
-	$ cat /proc/devices | grep dazuko
110
-	254 dazuko
111
-	$ su -c "mknod -m 600 /dev/dazuko c 254 0"
74
+	$ clamdscan -l scan.txt clamav-x.yz
112 75
 </PRE>
113
-    Now you must configure Clamuko in <I>clamav.conf</I>. Please check
114
-    <A HREF="node18.html#clamuko">3.2</A> section.
115
-
116
-<P>
117
-<HR>
118
-<!--Navigation Panel-->
119
-<A NAME="tex2html277"
120
-  HREF="node13.html">
121
-<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next"
122
- SRC="/usr/share/latex2html/icons/next.png"></A> 
123
-<A NAME="tex2html273"
124
-  HREF="node6.html">
125
-<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up"
126
- SRC="/usr/share/latex2html/icons/up.png"></A> 
127
-<A NAME="tex2html267"
128
-  HREF="node11.html">
129
-<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous"
130
- SRC="/usr/share/latex2html/icons/prev.png"></A> 
131
-<A NAME="tex2html275"
132
-  HREF="node1.html">
133
-<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents"
134
- SRC="/usr/share/latex2html/icons/contents.png"></A>  
135
-<BR>
136
-<B> Next:</B> <A NAME="tex2html278"
137
-  HREF="node13.html">Testing</A>
138
-<B> Up:</B> <A NAME="tex2html274"
139
-  HREF="node6.html">Installation</A>
140
-<B> Previous:</B> <A NAME="tex2html268"
141
-  HREF="node11.html">Installation</A>
142
- &nbsp <B>  <A NAME="tex2html276"
143
-  HREF="node1.html">Contents</A></B> 
144
-<!--End of Navigation Panel-->
76
+    The output and the logfile should be similar to the ones of <I>clamscan</I>.
77
+    <BR><HR>
145 78
 <ADDRESS>
146 79
 Tomasz Kojm
147
-2003-06-21
80
+2003-11-11
148 81
 </ADDRESS>
149 82
 </BODY>
150 83
 </HTML>
... ...
@@ -7,8 +7,8 @@ original version by:  Nikos Drakos, CBLU, University of Leeds
7 7
   Jens Lippmann, Marek Rouchal, Martin Wilck and others -->
8 8
 <HTML>
9 9
 <HEAD>
10
-<TITLE>Testing</TITLE>
11
-<META NAME="description" CONTENT="Testing">
10
+<TITLE>freshclam: Setting up auto-updating</TITLE>
11
+<META NAME="description" CONTENT="freshclam: Setting up auto-updating">
12 12
 <META NAME="keywords" CONTENT="clamdoc">
13 13
 <META NAME="resource-type" CONTENT="document">
14 14
 <META NAME="distribution" CONTENT="global">
... ...
@@ -27,59 +27,113 @@ original version by:  Nikos Drakos, CBLU, University of Leeds
27 27
 
28 28
 <BODY >
29 29
 <!--Navigation Panel-->
30
-<A NAME="tex2html289"
30
+<A NAME="tex2html331"
31 31
   HREF="node14.html">
32 32
 <IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next"
33 33
  SRC="/usr/share/latex2html/icons/next.png"></A> 
34
-<A NAME="tex2html285"
34
+<A NAME="tex2html327"
35 35
   HREF="node6.html">
36 36
 <IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up"
37 37
  SRC="/usr/share/latex2html/icons/up.png"></A> 
38
-<A NAME="tex2html279"
38
+<A NAME="tex2html321"
39 39
   HREF="node12.html">
40 40
 <IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous"
41 41
  SRC="/usr/share/latex2html/icons/prev.png"></A> 
42
-<A NAME="tex2html287"
42
+<A NAME="tex2html329"
43 43
   HREF="node1.html">
44 44
 <IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents"
45 45
  SRC="/usr/share/latex2html/icons/contents.png"></A>  
46 46
 <BR>
47
-<B> Next:</B> <A NAME="tex2html290"
48
-  HREF="node14.html">FreshClam: Setting up auto-updating</A>
49
-<B> Up:</B> <A NAME="tex2html286"
47
+<B> Next:</B> <A NAME="tex2html332"
48
+  HREF="node14.html">freshclam: Mirrors and mirrors.txt</A>
49
+<B> Up:</B> <A NAME="tex2html328"
50 50
   HREF="node6.html">Installation</A>
51
-<B> Previous:</B> <A NAME="tex2html280"
52
-  HREF="node12.html">Configuration</A>
53
- &nbsp <B>  <A NAME="tex2html288"
51
+<B> Previous:</B> <A NAME="tex2html322"
52
+  HREF="node12.html">Testing</A>
53
+ &nbsp <B>  <A NAME="tex2html330"
54 54
   HREF="node1.html">Contents</A></B> 
55 55
 <BR>
56 56
 <BR>
57 57
 <!--End of Navigation Panel-->
58 58
 
59 59
 <H2><A NAME="SECTION00037000000000000000">
60
-Testing</A>
60
+freshclam: Setting up auto-updating</A>
61 61
 </H2>
62
-
63
-<P>
64
-OK. Let's do some tests. Try to scan the source directory recursively:
62
+    <I>freshclam</I> is a default database updater for Clam AntiVirus.
63
+    It may work in two modes:
64
+    
65
+<UL>
66
+<LI>interactively - from command line
67
+</LI>
68
+<LI>daemon - alone, silently
69
+    
70
+</LI>
71
+</UL>
72
+    When started by a superuser it drops privileges and by default switches
73
+    to the <I>clamav</I> user. <I>freshclam</I> uses the
74
+    <TT><A NAME="tex2html13"
75
+  HREF="database.clamav.net">database.clamav.net</A></TT> round-robin DNS which automatically selects
76
+    a database mirror<A HREF="node14.html#mirrors">2.8</A>. freshclam is advanced tool: supports
77
+    proxy servers (with authentication), digital signature verification and
78
+    various error scenarious. <B>Quick test: run <I>freshclam</I> (as
79
+    a superuser) with no parameters and check the output.</B> If everythin
80
+    is OK, you may create a log file in /var/log (owned by <I>clamav</I> or
81
+    another user freshclam is running as (<I>-user</I>):
82
+    <PRE>
83
+	# touch /var/log/clam-update.log
84
+	# chmod 600 /var/log/clam-update.log
85
+	# chown clamav /var/log/clam-update.log
86
+</PRE>
87
+    Now you can start <I>freshclam</I> in the daemon mode:
65 88
     <PRE>
66
-	$ clamscan -r -l scan.txt clamav-x.yz
89
+	# freshclam -d -c 6 -l /var/log/clam-update.log
90
+</PRE>
91
+    This enables checking for a new database six times per day (and this is a
92
+    minimal suggested value). You should add that line to your startup scripts.
93
+    The other way is to use the <I>cron</I> daemon.  You have to add the
94
+    following line to the crontab of <B>root</B> or <B>clamav</B>:
95
+    <FONT SIZE="-1">    </FONT><PRE>
96
+0 * * * *	/usr/local/bin/freshclam --quiet -l /var/log/clam-update.log
67 97
 </PRE>
68
-    It should find the viruses in the clamav-x.yz/test directory. You may
69
-    check it in the created log - scan.txt. <B>You will find more about
70
-    clamscan options in the clamscan(1) manual. <A NAME="tex2html12"
71
-  HREF="footnode.html#foot576"><SUP>3</SUP></A></B>
72
-    To test clamd first start it and then use clamdscan (you can also connect
73
-    directly to clamd and run the SCAN command):
98
+    to check for a new database every hour. To setup proxy support
99
+    you may set the environment variable <I>$http_proxy</I>:
74 100
     <PRE>
75
-	$ clamdscan -l scan.txt clamav-x.yz
101
+	export http_proxy="my.proxy.server:8080"
76 102
 </PRE>
103
+    or use <I>-http-proxy</I> and <I>-proxy-user</I> options.
77 104
 
78 105
 <P>
79
-<BR><HR>
106
+<HR>
107
+<!--Navigation Panel-->
108
+<A NAME="tex2html331"
109
+  HREF="node14.html">
110
+<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next"
111
+ SRC="/usr/share/latex2html/icons/next.png"></A> 
112
+<A NAME="tex2html327"
113
+  HREF="node6.html">
114
+<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up"
115
+ SRC="/usr/share/latex2html/icons/up.png"></A> 
116
+<A NAME="tex2html321"
117
+  HREF="node12.html">
118
+<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous"
119
+ SRC="/usr/share/latex2html/icons/prev.png"></A> 
120
+<A NAME="tex2html329"
121
+  HREF="node1.html">
122
+<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents"
123
+ SRC="/usr/share/latex2html/icons/contents.png"></A>  
124
+<BR>
125
+<B> Next:</B> <A NAME="tex2html332"
126
+  HREF="node14.html">freshclam: Mirrors and mirrors.txt</A>
127
+<B> Up:</B> <A NAME="tex2html328"
128
+  HREF="node6.html">Installation</A>
129
+<B> Previous:</B> <A NAME="tex2html322"
130
+  HREF="node12.html">Testing</A>
131
+ &nbsp <B>  <A NAME="tex2html330"
132
+  HREF="node1.html">Contents</A></B> 
133
+<!--End of Navigation Panel-->
80 134
 <ADDRESS>
81 135
 Tomasz Kojm
82
-2003-06-21
136
+2003-11-11
83 137
 </ADDRESS>
84 138
 </BODY>
85 139
 </HTML>
... ...
@@ -7,8 +7,8 @@ original version by:  Nikos Drakos, CBLU, University of Leeds
7 7
   Jens Lippmann, Marek Rouchal, Martin Wilck and others -->
8 8
 <HTML>
9 9
 <HEAD>
10
-<TITLE>FreshClam: Setting up auto-updating</TITLE>
11
-<META NAME="description" CONTENT="FreshClam: Setting up auto-updating">
10
+<TITLE>freshclam: Mirrors and mirrors.txt</TITLE>
11
+<META NAME="description" CONTENT="freshclam: Mirrors and mirrors.txt">
12 12
 <META NAME="keywords" CONTENT="clamdoc">
13 13
 <META NAME="resource-type" CONTENT="document">
14 14
 <META NAME="distribution" CONTENT="global">
... ...
@@ -19,7 +19,6 @@ original version by:  Nikos Drakos, CBLU, University of Leeds
19 19
 
20 20
 <LINK REL="STYLESHEET" HREF="clamdoc.css">
21 21
 
22
-<LINK REL="next" HREF="node15.html">
23 22
 <LINK REL="previous" HREF="node13.html">
24 23
 <LINK REL="up" HREF="node6.html">
25 24
 <LINK REL="next" HREF="node15.html">
... ...
@@ -27,111 +26,207 @@ original version by:  Nikos Drakos, CBLU, University of Leeds
27 27
 
28 28
 <BODY >
29 29
 <!--Navigation Panel-->
30
-<A NAME="tex2html301"
30
+<A NAME="tex2html341"
31 31
   HREF="node15.html">
32 32
 <IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next"
33 33
  SRC="/usr/share/latex2html/icons/next.png"></A> 
34
-<A NAME="tex2html297"
34
+<A NAME="tex2html337"
35 35
   HREF="node6.html">
36 36
 <IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up"
37 37
  SRC="/usr/share/latex2html/icons/up.png"></A> 
38
-<A NAME="tex2html291"
38
+<A NAME="tex2html333"
39 39
   HREF="node13.html">
40 40
 <IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous"
41 41
  SRC="/usr/share/latex2html/icons/prev.png"></A> 
42
-<A NAME="tex2html299"
42
+<A NAME="tex2html339"
43 43
   HREF="node1.html">
44 44
 <IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents"
45 45
  SRC="/usr/share/latex2html/icons/contents.png"></A>  
46 46
 <BR>
47
-<B> Next:</B> <A NAME="tex2html302"
48
-  HREF="node15.html">FreshClam: Mirrors and mirrors.txt</A>
49
-<B> Up:</B> <A NAME="tex2html298"
47
+<B> Next:</B> <A NAME="tex2html342"
48
+  HREF="node15.html">Usage</A>
49
+<B> Up:</B> <A NAME="tex2html338"
50 50
   HREF="node6.html">Installation</A>
51
-<B> Previous:</B> <A NAME="tex2html292"
52
-  HREF="node13.html">Testing</A>
53
- &nbsp <B>  <A NAME="tex2html300"
51
+<B> Previous:</B> <A NAME="tex2html334"
52
+  HREF="node13.html">freshclam: Setting up auto-updating</A>
53
+ &nbsp <B>  <A NAME="tex2html340"
54 54
   HREF="node1.html">Contents</A></B> 
55 55
 <BR>
56 56
 <BR>
57 57
 <!--End of Navigation Panel-->
58 58
 
59
-<H2><A NAME="SECTION00038000000000000000">
60
-FreshClam: Setting up auto-updating</A>
59
+<H2><A NAME="SECTION00038000000000000000"></A><A NAME="mirrors"></A>
60
+<BR>
61
+freshclam: Mirrors and mirrors.txt
61 62
 </H2>
62
-    The <I>freshclam</I> utility is the default database updater for Clam
63
-    AntiVirus. It works in two modes:
64
-    
65
-<UL>
66
-<LI>interactive - from command line
67
-</LI>
68
-<LI>as a daemon - works alone, silently
63
+    freshclam downloads the database from <TT><A NAME="tex2html14"
64
+  HREF="http://database.clamav.net">http://database.clamav.net</A></TT>.
65
+    This is a round robin record that tries to equally balance the traffic
66
+    between all the database mirrors:
67
+    <DIV ALIGN="CENTER">
68
+<FONT SIZE="-1">    </FONT><TABLE CELLPADDING=3 BORDER="1">
69
+<TR><TD ALIGN="CENTER"><FONT SIZE="-1">
70
+	Mirror </FONT></TD>
71
+<TD ALIGN="CENTER"><FONT SIZE="-1"> IP </FONT></TD>
72
+<TD ALIGN="CENTER"><FONT SIZE="-1"> Location </FONT></TD>
73
+<TD ALIGN="CENTER"><FONT SIZE="-1"> Administrator</FONT></TD>
74
+</TR>
75
+<TR><TD ALIGN="CENTER"><FONT SIZE="-1">  
76
+	<TT><A NAME="tex2html15"
77
+  HREF="clamav.man.olsztyn.pl">clamav.man.olsztyn.pl</A></TT> </FONT></TD>
78
+<TD ALIGN="CENTER"><FONT SIZE="-1"> 213.184.16.3 </FONT></TD>
79
+<TD ALIGN="CENTER"><FONT SIZE="-1"> Olsztyn, </FONT></TD>
80
+<TD ALIGN="CENTER"><FONT SIZE="-1"> Robert d`Aystetten</FONT></TD>
81
+</TR>
82
+<TR><TD ALIGN="CENTER"><FONT SIZE="-1"> 
83
+				    </FONT></TD>
84
+<TD ALIGN="CENTER"><FONT SIZE="-1">		   </FONT></TD>
85
+<TD ALIGN="CENTER"><FONT SIZE="-1"> Poland   </FONT></TD>
86
+<TD ALIGN="CENTER"><FONT SIZE="-1"> dart*man.olsztyn.pl</FONT></TD>
87
+</TR>
88
+<TR><TD ALIGN="CENTER"><FONT SIZE="-1"><TT><A NAME="tex2html16"
89
+  HREF="avmirror1.prod.rxgsys.com">avmirror1.prod.rxgsys.com</A></TT> </FONT></TD>
90
+<TD ALIGN="CENTER"><FONT SIZE="-1"> 64.74.124.90 </FONT></TD>
91
+<TD ALIGN="CENTER"><FONT SIZE="-1"> USA </FONT></TD>
92
+<TD ALIGN="CENTER"><FONT SIZE="-1"> graham*rxgsys.com</FONT></TD>
93
+</TR>
94
+<TR><TD ALIGN="CENTER"><FONT SIZE="-1">  
95
+	<TT><A NAME="tex2html17"
96
+  HREF="avmirror2.prod.rxgsys.com">avmirror2.prod.rxgsys.com</A></TT> </FONT></TD>
97
+<TD ALIGN="CENTER"><FONT SIZE="-1"> 207.201.202.73 </FONT></TD>
98
+<TD ALIGN="CENTER"><FONT SIZE="-1"> USA </FONT></TD>
99
+<TD ALIGN="CENTER"><FONT SIZE="-1"> graham*rxgsys.com</FONT></TD>
100
+</TR>
101
+<TR><TD ALIGN="CENTER"><FONT SIZE="-1"><TT><A NAME="tex2html18"
102
+  HREF="clamav.e-admin.de">clamav.e-admin.de</A></TT> </FONT></TD>
103
+<TD ALIGN="CENTER"><FONT SIZE="-1"> 212.162.12.159 </FONT></TD>
104
+<TD ALIGN="CENTER"><FONT SIZE="-1"> Dusseldorf, </FONT></TD>
105
+<TD ALIGN="CENTER"><FONT SIZE="-1"> Andreas Gietl</FONT></TD>
106
+</TR>
107
+<TR><TD ALIGN="CENTER"><FONT SIZE="-1"> 
108
+				</FONT></TD>
109
+<TD ALIGN="CENTER"><FONT SIZE="-1">		 </FONT></TD>
110
+<TD ALIGN="CENTER"><FONT SIZE="-1"> Germany     </FONT></TD>
111
+<TD ALIGN="CENTER"><FONT SIZE="-1"> a.gietl*e-admin.de</FONT></TD>
112
+</TR>
113
+<TR><TD ALIGN="CENTER"><FONT SIZE="-1"><TT><A NAME="tex2html19"
114
+  HREF="clamav.essentkabel.com">clamav.essentkabel.com</A></TT> </FONT></TD>
115
+<TD ALIGN="CENTER"><FONT SIZE="-1"> 195.85.130.84 </FONT></TD>
116
+<TD ALIGN="CENTER"><FONT SIZE="-1"> Netherlands </FONT></TD>
117
+<TD ALIGN="CENTER"><FONT SIZE="-1"> Chris van Meerendonk</FONT></TD>
118
+</TR>
119
+<TR><TD ALIGN="CENTER"><FONT SIZE="-1"> 
120
+				     </FONT></TD>
121
+<TD ALIGN="CENTER"><FONT SIZE="-1">		     </FONT></TD>
122
+<TD ALIGN="CENTER"><FONT SIZE="-1">		   </FONT></TD>
123
+<TD ALIGN="CENTER"><FONT SIZE="-1"> mirror*essentkabel.com</FONT></TD>
124
+</TR>
125
+<TR><TD ALIGN="CENTER"><FONT SIZE="-1"><TT><A NAME="tex2html20"
126
+  HREF="clamav.inet6.fr">clamav.inet6.fr</A></TT> </FONT></TD>
127
+<TD ALIGN="CENTER"><FONT SIZE="-1"> 62.210.153.201 </FONT></TD>
128
+<TD ALIGN="CENTER"><FONT SIZE="-1"> France </FONT></TD>
129
+<TD ALIGN="CENTER"><FONT SIZE="-1"> Lionel Bouton</FONT></TD>
130
+</TR>
131
+<TR><TD ALIGN="CENTER"><FONT SIZE="-1"> 
132
+			      </FONT></TD>
133
+<TD ALIGN="CENTER"><FONT SIZE="-1"> 62.210.153.202 </FONT></TD>
134
+<TD ALIGN="CENTER"><FONT SIZE="-1">        </FONT></TD>
135
+<TD ALIGN="CENTER"><FONT SIZE="-1"> clamavdb*inet6.fr</FONT></TD>
136
+</TR>
137
+<TR><TD ALIGN="CENTER"><FONT SIZE="-1"><TT><A NAME="tex2html21"
138
+  HREF="clamav.netopia.pt">clamav.netopia.pt</A></TT> </FONT></TD>
139
+<TD ALIGN="CENTER"><FONT SIZE="-1"> 193.126.14.29 </FONT></TD>
140
+<TD ALIGN="CENTER"><FONT SIZE="-1"> Portugal </FONT></TD>
141
+<TD ALIGN="CENTER"><FONT SIZE="-1"> Miguel Bettencourt Dias</FONT></TD>
142
+</TR>
143
+<TR><TD ALIGN="CENTER"><FONT SIZE="-1"> 
144
+				</FONT></TD>
145
+<TD ALIGN="CENTER"><FONT SIZE="-1">		</FONT></TD>
146
+<TD ALIGN="CENTER"><FONT SIZE="-1">	   </FONT></TD>
147
+<TD ALIGN="CENTER"><FONT SIZE="-1"> mbd*netopia.pt</FONT></TD>
148
+</TR>
149
+<TR><TD ALIGN="CENTER"><FONT SIZE="-1"><TT><A NAME="tex2html22"
150
+  HREF="clamav.sonic.net">clamav.sonic.net</A></TT> </FONT></TD>
151
+<TD ALIGN="CENTER"><FONT SIZE="-1"> 209.204.175.217 </FONT></TD>
152
+<TD ALIGN="CENTER"><FONT SIZE="-1"> USA </FONT></TD>
153
+<TD ALIGN="CENTER"><FONT SIZE="-1"> Kelsey Cummings</FONT></TD>
154
+</TR>
155
+<TR><TD ALIGN="CENTER"><FONT SIZE="-1"> 
156
+			       </FONT></TD>
157
+<TD ALIGN="CENTER"><FONT SIZE="-1">		 </FONT></TD>
158
+<TD ALIGN="CENTER"><FONT SIZE="-1">     </FONT></TD>
159
+<TD ALIGN="CENTER"><FONT SIZE="-1"> kgc*sonic.net</FONT></TD>
160
+</TR>
161
+<TR><TD ALIGN="CENTER"><FONT SIZE="-1"><TT><A NAME="tex2html23"
162
+  HREF="clamav.nettron.co.za">clamav.nettron.co.za</A></TT> </FONT></TD>
163
+<TD ALIGN="CENTER"><FONT SIZE="-1"> 160.124.112.17 </FONT></TD>
164
+<TD ALIGN="CENTER"><FONT SIZE="-1"> South Africa </FONT></TD>
165
+<TD ALIGN="CENTER"><FONT SIZE="-1"> Ryan Zwankhuizen</FONT></TD>
166
+</TR>
167
+<TR><TD ALIGN="CENTER"><FONT SIZE="-1"> 
168
+				   </FONT></TD>
169
+<TD ALIGN="CENTER"><FONT SIZE="-1">		    </FONT></TD>
170
+<TD ALIGN="CENTER"><FONT SIZE="-1">		   </FONT></TD>
171
+<TD ALIGN="CENTER"><FONT SIZE="-1"> info*nettron.co.za</FONT></TD>
172
+</TR>
173
+<TR><TD ALIGN="CENTER"><FONT SIZE="-1"><TT><A NAME="tex2html24"
174
+  HREF="clamav.nchost.net">clamav.nchost.net</A></TT> </FONT></TD>
175
+<TD ALIGN="CENTER"><FONT SIZE="-1"> 203.208.228.153 </FONT></TD>
176
+<TD ALIGN="CENTER"><FONT SIZE="-1"> Singapore </FONT></TD>
177
+<TD ALIGN="CENTER"><FONT SIZE="-1"> Nicholas Chua</FONT></TD>
178
+</TR>
179
+<TR><TD ALIGN="CENTER"><FONT SIZE="-1"> 
180
+				</FONT></TD>
181
+<TD ALIGN="CENTER"><FONT SIZE="-1">		  </FONT></TD>
182
+<TD ALIGN="CENTER"><FONT SIZE="-1">	      </FONT></TD>
183
+<TD ALIGN="CENTER"><FONT SIZE="-1"> nicholas*ncmbox.net</FONT></TD>
184
+</TR>
185
+<TR><TD></TD>
186
+<TD></TD>
187
+<TD></TD>
188
+<TD></TD>
189
+</TR>
190
+</TABLE>
69 191
     
70
-</LI>
71
-</UL>
72
-    When started by the superuser it drops the privileges, by default it works
73
-    as <I>clamav</I>. <I>freshclam</I> downloads the database from the Clam
74
-    AntiVirus homepage and checks its consistency using MD5 sum.
75
-    process for Clam AntiVirus.
76
-    <B>Run <I>freshclam</I> (as root) without any parameters to check
77
-    is it working correctly</B>. If everything is OK, create the log file in
78
-    /var/log owned by <I>clamav</I>:
79
-    <PRE>
80
-	# touch /var/log/clam-update.log
81
-	# chmod 600 /var/log/clam-update.log
82
-	# chown clamav /var/log/clam-update.log
83
-</PRE>
84
-    Now you can run <I>freshclam</I> as a daemon:
85
-    <PRE>
86
-	# freshclam -d -c 2 -l /var/log/clam-update.log
87
-</PRE>
88
-    It will check for a new database 2 times a day. Please add the above line
89
-    to your startup scripts. The other way is to use the <I>cron</I> daemon.
90
-    You have to add a similar line to the crontab of <B>root</B> or
91
-    <B>clamav</B>:
92
-    <FONT SIZE="-1">    </FONT><PRE>
93
-0 8	* * *	/usr/local/bin/freshclam --quiet -l /var/log/clam-update.log
94
-</PRE>
95
-    It will check for a new database daily at 8 am. You may need
96
-    to setup the proxy support on your system. You should set the environment
97
-    variable <I>$http_proxy</I>, eg.
98
-    <PRE>
99
-	export http_proxy="my.proxy.server:8080"
100
-</PRE>
101
-    There is also <I>-http-proxy</I> and <I>-proxy-user</I> option available.
192
+</DIV>
193
+In the local database directory there is a <I>mirror.txt</I> file which
194
+    freshclam reads every time it tries to update the database. freshclam
195
+    connects to a first server from the list and if it fails a next one will
196
+    be used. Normally you shouldn't touch this file unless you want to use
197
+    your own local mirror for database updates.
102 198
 
103 199
 <P>
104 200
 <HR>
105 201
 <!--Navigation Panel-->
106
-<A NAME="tex2html301"
202
+<A NAME="tex2html341"
107 203
   HREF="node15.html">
108 204
 <IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next"
109 205
  SRC="/usr/share/latex2html/icons/next.png"></A> 
110
-<A NAME="tex2html297"
206
+<A NAME="tex2html337"
111 207
   HREF="node6.html">
112 208
 <IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up"
113 209
  SRC="/usr/share/latex2html/icons/up.png"></A> 
114
-<A NAME="tex2html291"
210
+<A NAME="tex2html333"
115 211
   HREF="node13.html">
116 212
 <IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous"
117 213
  SRC="/usr/share/latex2html/icons/prev.png"></A> 
118
-<A NAME="tex2html299"
214
+<A NAME="tex2html339"
119 215
   HREF="node1.html">
120 216
 <IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents"
121 217
  SRC="/usr/share/latex2html/icons/contents.png"></A>  
122 218
 <BR>
123
-<B> Next:</B> <A NAME="tex2html302"
124
-  HREF="node15.html">FreshClam: Mirrors and mirrors.txt</A>
125
-<B> Up:</B> <A NAME="tex2html298"
219
+<B> Next:</B> <A NAME="tex2html342"
220
+  HREF="node15.html">Usage</A>
221
+<B> Up:</B> <A NAME="tex2html338"
126 222
   HREF="node6.html">Installation</A>
127
-<B> Previous:</B> <A NAME="tex2html292"
128
-  HREF="node13.html">Testing</A>
129
- &nbsp <B>  <A NAME="tex2html300"
223
+<B> Previous:</B> <A NAME="tex2html334"
224
+  HREF="node13.html">freshclam: Setting up auto-updating</A>
225
+ &nbsp <B>  <A NAME="tex2html340"
130 226
   HREF="node1.html">Contents</A></B> 
131 227
 <!--End of Navigation Panel-->
132 228
 <ADDRESS>
133 229
 Tomasz Kojm
134
-2003-06-21
230
+2003-11-11
135 231
 </ADDRESS>
136 232
 </BODY>
137 233
 </HTML>
... ...
@@ -7,8 +7,8 @@ original version by:  Nikos Drakos, CBLU, University of Leeds
7 7
   Jens Lippmann, Marek Rouchal, Martin Wilck and others -->
8 8
 <HTML>
9 9
 <HEAD>
10
-<TITLE>FreshClam: Mirrors and mirrors.txt</TITLE>
11
-<META NAME="description" CONTENT="FreshClam: Mirrors and mirrors.txt">
10
+<TITLE>Usage</TITLE>
11
+<META NAME="description" CONTENT="Usage">
12 12
 <META NAME="keywords" CONTENT="clamdoc">
13 13
 <META NAME="resource-type" CONTENT="document">
14 14
 <META NAME="distribution" CONTENT="global">
... ...
@@ -19,74 +19,69 @@ original version by:  Nikos Drakos, CBLU, University of Leeds
19 19
 
20 20
 <LINK REL="STYLESHEET" HREF="clamdoc.css">
21 21
 
22
-<LINK REL="previous" HREF="node14.html">
23
-<LINK REL="up" HREF="node6.html">
22
+<LINK REL="next" HREF="node21.html">
23
+<LINK REL="previous" HREF="node6.html">
24
+<LINK REL="up" HREF="clamdoc.html">
24 25
 <LINK REL="next" HREF="node16.html">
25 26
 </HEAD>
26 27
 
27 28
 <BODY >
28 29
 <!--Navigation Panel-->
29
-<A NAME="tex2html311"
30
+<A NAME="tex2html353"
30 31
   HREF="node16.html">
31 32
 <IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next"
32 33
  SRC="/usr/share/latex2html/icons/next.png"></A> 
33
-<A NAME="tex2html307"
34
-  HREF="node6.html">
34
+<A NAME="tex2html349"
35
+  HREF="clamdoc.html">
35 36
 <IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up"
36 37
  SRC="/usr/share/latex2html/icons/up.png"></A> 
37
-<A NAME="tex2html303"
38
+<A NAME="tex2html343"
38 39
   HREF="node14.html">
39 40
 <IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous"
40 41
  SRC="/usr/share/latex2html/icons/prev.png"></A> 
41
-<A NAME="tex2html309"
42
+<A NAME="tex2html351"
42 43
   HREF="node1.html">
43 44
 <IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents"
44 45
  SRC="/usr/share/latex2html/icons/contents.png"></A>  
45 46
 <BR>
46
-<B> Next:</B> <A NAME="tex2html312"
47
-  HREF="node16.html">Usage</A>
48
-<B> Up:</B> <A NAME="tex2html308"
49
-  HREF="node6.html">Installation</A>
50
-<B> Previous:</B> <A NAME="tex2html304"
51
-  HREF="node14.html">FreshClam: Setting up auto-updating</A>
52
- &nbsp <B>  <A NAME="tex2html310"
47
+<B> Next:</B> <A NAME="tex2html354"
48
+  HREF="node16.html">Clam daemon</A>
49
+<B> Up:</B> <A NAME="tex2html350"
50
+  HREF="clamdoc.html">clamdoc</A>
51
+<B> Previous:</B> <A NAME="tex2html344"
52
+  HREF="node14.html">freshclam: Mirrors and mirrors.txt</A>
53
+ &nbsp <B>  <A NAME="tex2html352"
53 54
   HREF="node1.html">Contents</A></B> 
54 55
 <BR>
55 56
 <BR>
56 57
 <!--End of Navigation Panel-->
57 58
 
58
-<H2><A NAME="SECTION00039000000000000000">
59
-FreshClam: Mirrors and mirrors.txt</A>
60
-</H2>
61
-    The main server is <TT><A NAME="tex2html13"
62
-  HREF="clamav.elektrapro.com">clamav.elektrapro.com</A></TT> and there are the following
63
-    mirrors available:
64
-    
65
-<UL>
66
-<LI><TT><A NAME="tex2html14"
67
-  HREF="clamav.ozforces.com">clamav.ozforces.com</A></TT> - database mirror updated manually
68
-</LI>
69
-<LI><TT><A NAME="tex2html15"
70
-  HREF="clamav.essentkabel.com">clamav.essentkabel.com</A></TT> - full mirror of the main site
71
-	      updated automatically
72
-</LI>
73
-<LI><TT><A NAME="tex2html16"
74
-  HREF="clamav.linux-sxs.org">clamav.linux-sxs.org</A></TT> - database mirror (rsync from ozforces)
75
-    
76
-</LI>
77
-</UL>
78
-    In the database directory you will find <I>mirror.txt</I> file, which
79
-    freshclam reads each time it tries to download the new database. It
80
-    uses the first server from the file and switches to another one (and
81
-    remembers that position for some time) when the previous is not available.
82
-    You can modify that file if you will find some mirror faster, however
83
-    this is not recommended.
59
+<H1><A NAME="SECTION00040000000000000000">
60
+Usage</A>
61
+</H1>
84 62
 
85 63
 <P>
86 64
 <BR><HR>
65
+<!--Table of Child-Links-->
66
+<A NAME="CHILD_LINKS"><STRONG>Subsections</STRONG></A>
67
+
68
+<UL>
69
+<LI><A NAME="tex2html355"
70
+  HREF="node16.html">Clam daemon</A>
71
+<LI><A NAME="tex2html356"
72
+  HREF="node17.html">Clamuko</A>
73
+<LI><A NAME="tex2html357"
74
+  HREF="node18.html">Archives and compressed files</A>
75
+<LI><A NAME="tex2html358"
76
+  HREF="node19.html">Output format</A>
77
+<LI><A NAME="tex2html359"
78
+  HREF="node20.html">Signature Tool</A>
79
+</UL>
80
+<!--End of Table of Child-Links-->
81
+<BR><HR>
87 82
 <ADDRESS>
88 83
 Tomasz Kojm
89
-2003-06-21
84
+2003-11-11
90 85
 </ADDRESS>
91 86
 </BODY>
92 87
 </HTML>
... ...
@@ -7,8 +7,8 @@ original version by:  Nikos Drakos, CBLU, University of Leeds
7 7
   Jens Lippmann, Marek Rouchal, Martin Wilck and others -->
8 8
 <HTML>
9 9
 <HEAD>
10
-<TITLE>Usage</TITLE>
11
-<META NAME="description" CONTENT="Usage">
10
+<TITLE>Clam daemon</TITLE>
11
+<META NAME="description" CONTENT="Clam daemon">
12 12
 <META NAME="keywords" CONTENT="clamdoc">
13 13
 <META NAME="resource-type" CONTENT="document">
14 14
 <META NAME="distribution" CONTENT="global">
... ...
@@ -19,69 +19,134 @@ original version by:  Nikos Drakos, CBLU, University of Leeds
19 19
 
20 20
 <LINK REL="STYLESHEET" HREF="clamdoc.css">
21 21
 
22
-<LINK REL="next" HREF="node22.html">
23
-<LINK REL="previous" HREF="node6.html">
24
-<LINK REL="up" HREF="clamdoc.html">
22
+<LINK REL="next" HREF="node17.html">
23
+<LINK REL="previous" HREF="node15.html">
24
+<LINK REL="up" HREF="node15.html">
25 25
 <LINK REL="next" HREF="node17.html">
26 26
 </HEAD>
27 27
 
28 28
 <BODY >
29 29
 <!--Navigation Panel-->
30
-<A NAME="tex2html323"
30
+<A NAME="tex2html370"
31 31
   HREF="node17.html">
32 32
 <IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next"
33 33
  SRC="/usr/share/latex2html/icons/next.png"></A> 
34
-<A NAME="tex2html319"
35
-  HREF="clamdoc.html">
34
+<A NAME="tex2html366"
35
+  HREF="node15.html">
36 36
 <IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up"
37 37
  SRC="/usr/share/latex2html/icons/up.png"></A> 
38
-<A NAME="tex2html313"
38
+<A NAME="tex2html360"
39 39
   HREF="node15.html">
40 40
 <IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous"
41 41
  SRC="/usr/share/latex2html/icons/prev.png"></A> 
42
-<A NAME="tex2html321"
42
+<A NAME="tex2html368"
43 43
   HREF="node1.html">
44 44
 <IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents"
45 45
  SRC="/usr/share/latex2html/icons/contents.png"></A>  
46 46
 <BR>
47
-<B> Next:</B> <A NAME="tex2html324"
48
-  HREF="node17.html">Clam daemon</A>
49
-<B> Up:</B> <A NAME="tex2html320"
50
-  HREF="clamdoc.html">clamdoc</A>
51
-<B> Previous:</B> <A NAME="tex2html314"
52
-  HREF="node15.html">FreshClam: Mirrors and mirrors.txt</A>
53
- &nbsp <B>  <A NAME="tex2html322"
47
+<B> Next:</B> <A NAME="tex2html371"
48
+  HREF="node17.html">Clamuko</A>
49
+<B> Up:</B> <A NAME="tex2html367"
50
+  HREF="node15.html">Usage</A>
51
+<B> Previous:</B> <A NAME="tex2html361"
52
+  HREF="node15.html">Usage</A>
53
+ &nbsp <B>  <A NAME="tex2html369"
54 54
   HREF="node1.html">Contents</A></B> 
55 55
 <BR>
56 56
 <BR>
57 57
 <!--End of Navigation Panel-->
58 58
 
59
-<H1><A NAME="SECTION00040000000000000000">
60
-Usage</A>
61
-</H1>
62
-
63
-<P>
64
-<BR><HR>
65
-<!--Table of Child-Links-->
66
-<A NAME="CHILD_LINKS"><STRONG>Subsections</STRONG></A>
67
-
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 based on <I>libclamav</I>.
64
+    It may work in one of the two following two modes, listening on:
65
+    
68 66
 <UL>
69
-<LI><A NAME="tex2html325"
70
-  HREF="node17.html">Clam daemon</A>
71
-<LI><A NAME="tex2html326"
72
-  HREF="node18.html">Clamuko</A>
73
-<LI><A NAME="tex2html327"
74
-  HREF="node19.html">Archives and compressed files</A>
75
-<LI><A NAME="tex2html328"
76
-  HREF="node20.html">Output format</A>
77
-<LI><A NAME="tex2html329"
78
-  HREF="node21.html">Signature Tool</A>
67
+<LI>Unix (local) socket
68
+</LI>
69
+<LI>TCP socket
70
+    
71
+</LI>
79 72
 </UL>
80
-<!--End of Table of Child-Links-->
81
-<BR><HR>
73
+    The daemon is fully configurable via a <I>clamav.conf</I> file. You will
74
+    find a description for every directive in the <B>clamav.conf(5)</B>
75
+    manual. <I>clamd</I> recognizes the following commands:
76
+    
77
+<UL>
78
+<LI><B>PING</B>
79
+<BR>
80
+Check a daemon state ( should reply with "PONG").
81
+</LI>
82
+<LI><B>VERSION</B>
83
+<BR>
84
+Print version information.
85
+</LI>
86
+<LI><B>RELOAD</B>
87
+<BR>
88
+Reload databases.
89
+</LI>
90
+<LI><B>QUIT</B>
91
+<BR>
92
+Perform a clean exit.
93
+</LI>
94
+<LI><B>SCAN file/directory</B>
95
+	    Scan a file or directory (recursively) with archive support
96
+	    enabled. A full path is required.
97
+</LI>
98
+<LI><B>RAWSCAN file/directory</B>
99
+	    Scan a file or directory (recursively) with archive support
100
+	    disabled. A full path is required.
101
+</LI>
102
+<LI><B>CONTSCAN file/directory</B>
103
+	    Scan a file or directory (recursively) with archive support
104
+	    enabled and don't stop even if virus is found.
105
+</LI>
106
+<LI><B>STREAM</B>
107
+	    Scan stream - clamd will return a new port number you should
108
+	    connect to and send a data to scan. <I>The protocol is
109
+	    obsolete and there will be a new version soon (however this one
110
+	    will still be supported).</I>
111
+    
112
+</LI>
113
+</UL>
114
+    Internal threads (except clamuko) ignore all external signals. The main
115
+    thread handles <I>SIGTERM</I> and <I>SIGINT</I> signals and performs a
116
+    clean exit.
117
+
118
+<P>
119
+<HR>
120
+<!--Navigation Panel-->
121
+<A NAME="tex2html370"
122
+  HREF="node17.html">
123
+<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next"
124
+ SRC="/usr/share/latex2html/icons/next.png"></A> 
125
+<A NAME="tex2html366"
126
+  HREF="node15.html">
127
+<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up"
128
+ SRC="/usr/share/latex2html/icons/up.png"></A> 
129
+<A NAME="tex2html360"
130
+  HREF="node15.html">
131
+<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous"
132
+ SRC="/usr/share/latex2html/icons/prev.png"></A> 
133
+<A NAME="tex2html368"
134
+  HREF="node1.html">
135
+<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents"
136
+ SRC="/usr/share/latex2html/icons/contents.png"></A>  
137
+<BR>
138
+<B> Next:</B> <A NAME="tex2html371"
139
+  HREF="node17.html">Clamuko</A>
140
+<B> Up:</B> <A NAME="tex2html367"
141
+  HREF="node15.html">Usage</A>
142
+<B> Previous:</B> <A NAME="tex2html361"
143
+  HREF="node15.html">Usage</A>
144
+ &nbsp <B>  <A NAME="tex2html369"
145
+  HREF="node1.html">Contents</A></B> 
146
+<!--End of Navigation Panel-->
82 147
 <ADDRESS>
83 148
 Tomasz Kojm
84
-2003-06-21
149
+2003-11-11
85 150
 </ADDRESS>
86 151
 </BODY>
87 152
 </HTML>
... ...
@@ -7,8 +7,8 @@ original version by:  Nikos Drakos, CBLU, University of Leeds
7 7
   Jens Lippmann, Marek Rouchal, Martin Wilck and others -->
8 8
 <HTML>
9 9
 <HEAD>
10
-<TITLE>Clam daemon</TITLE>
11
-<META NAME="description" CONTENT="Clam daemon">
10
+<TITLE>Clamuko</TITLE>
11
+<META NAME="description" CONTENT="Clamuko">
12 12
 <META NAME="keywords" CONTENT="clamdoc">
13 13
 <META NAME="resource-type" CONTENT="document">
14 14
 <META NAME="distribution" CONTENT="global">
... ...
@@ -21,132 +21,116 @@ original version by:  Nikos Drakos, CBLU, University of Leeds
21 21
 
22 22
 <LINK REL="next" HREF="node18.html">
23 23
 <LINK REL="previous" HREF="node16.html">
24
-<LINK REL="up" HREF="node16.html">
24
+<LINK REL="up" HREF="node15.html">
25 25
 <LINK REL="next" HREF="node18.html">
26 26
 </HEAD>
27 27
 
28 28
 <BODY >
29 29
 <!--Navigation Panel-->
30
-<A NAME="tex2html340"
30
+<A NAME="tex2html382"
31 31
   HREF="node18.html">
32 32
 <IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next"
33 33
  SRC="/usr/share/latex2html/icons/next.png"></A> 
34
-<A NAME="tex2html336"
35
-  HREF="node16.html">
34
+<A NAME="tex2html378"
35
+  HREF="node15.html">
36 36
 <IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up"
37 37
  SRC="/usr/share/latex2html/icons/up.png"></A> 
38
-<A NAME="tex2html330"
38
+<A NAME="tex2html372"
39 39
   HREF="node16.html">
40 40
 <IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous"
41 41
  SRC="/usr/share/latex2html/icons/prev.png"></A> 
42
-<A NAME="tex2html338"
42
+<A NAME="tex2html380"
43 43
   HREF="node1.html">
44 44
 <IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents"
45 45
  SRC="/usr/share/latex2html/icons/contents.png"></A>  
46 46
 <BR>
47
-<B> Next:</B> <A NAME="tex2html341"
48
-  HREF="node18.html">Clamuko</A>
49
-<B> Up:</B> <A NAME="tex2html337"
50
-  HREF="node16.html">Usage</A>
51
-<B> Previous:</B> <A NAME="tex2html331"
52
-  HREF="node16.html">Usage</A>
53
- &nbsp <B>  <A NAME="tex2html339"
47
+<B> Next:</B> <A NAME="tex2html383"
48
+  HREF="node18.html">Archives and compressed files</A>
49
+<B> Up:</B> <A NAME="tex2html379"
50
+  HREF="node15.html">Usage</A>
51
+<B> Previous:</B> <A NAME="tex2html373"
52
+  HREF="node16.html">Clam daemon</A>
53
+ &nbsp <B>  <A NAME="tex2html381"
54 54
   HREF="node1.html">Contents</A></B> 
55 55
 <BR>
56 56
 <BR>
57 57
 <!--End of Navigation Panel-->
58 58
 
59
-<H2><A NAME="SECTION00041000000000000000"></A><A NAME="clamd"></A>
59
+<H2><A NAME="SECTION00042000000000000000"></A><A NAME="clamuko"></A>
60 60
 <BR>
61
-Clam daemon
61
+Clamuko
62 62
 </H2>
63
-    <I>clamd</I> is a fully multi-threaded daemon, based on <I>libclamav</I>.
64
-    It's able to work in one of the two modes, using:
63
+    Clamuko is a special thread in <I>clamd</I> that performs on-access
64
+    scanning under Linux. It was implemented as a thread in clamd due
65
+    to the Dazuko implementation. Client (clamuko) - server (clamd) model is
66
+    currently not supported by Dazuko. However there are some benefits of
67
+    the current implementation - clamuko is sharing the internal virus
68
+    database with clamd and it's updated with the RELOAD command. <B>You
69
+    must obey the following important principles when using clamuko:</B>
65 70
     
66 71
 <UL>
67
-<LI>Unix (local) sockets
72
+<LI>Always stop the daemon cleanly - using the QUIT command or
73
+	      SIGTERM signal. In other case you can lose your access
74
+	      to protected files until the system is restarted.
68 75
 </LI>
69
-<LI>TCP sockets
76
+<LI>Never protect a directory your mail-scanner software
77
+	      uses for attachment unpacking. Access to all infected
78
+	      files will be automagically blocked and the scanner (even clamd)
79
+	      won't be able to detect a virus. <B>The infected mail will
80
+	      be delivered.</B>
70 81
     
71 82
 </LI>
72 83
 </UL>
73
-    The daemon is configured by the <I>clamav.conf</I> file. You will find
74
-    a description of all the options in the <B>clamav.conf(5)</B> manual.
75
-    <I>clamd</I> recognizes the following commands:
76
-    
77
-<UL>
78
-<LI><B>PING</B>
79
-<BR>
80
-Check server's state. It should reply with "PONG".
81
-</LI>
82
-<LI><B>VERSION</B>
83
-<BR>
84
-Print the version information.
85
-</LI>
86
-<LI><B>RELOAD</B>
87
-<BR>
88
-Reload the databases.
89
-</LI>
90
-<LI><B>QUIT</B>
91
-<BR>
92
-Perform a clean exit.
93
-</LI>
94
-<LI><B>SCAN file/directory</B>
95
-	    Scan a file or directory (recursively) with archive support. A
96
-	    full path is required.
97
-</LI>
98
-<LI><B>RAWSCAN file/directory</B>
99
-	    Scan a file or directory (recursively) with archive support
100
-	    disabled. A full path is required.
101
-</LI>
102
-<LI><B>CONTSCAN file/directory</B>
103
-	    Scan a file or directory (recursively) with archive
104
-	    support enabled and  continue  scanning  even  when
105
-	    virus was found. A full path is required.
106
-</LI>
107
-<LI><B>STREAM</B>
108
-	    Scan stream - on this command clamd will return "PORT number"
109
-	    and you can connect to that port and send a data to scan.
110
-
111
-<P>
112
-</LI>
113
-</UL>
114
-    Internal threads (except clamuko) are ignoring all external signals.
115
-    The main thread handles <I>SIGTERM</I> and <I>SIGINT</I> signals
116
-    and performs a proper exit when one of them is caught.
84
+    You need to enable clamuko in <I>clamav.conf</I>. To protect the /home
85
+    directory enable the following directive:
86
+    <PRE>
87
+	ClamukoIncludePath /home
88
+</PRE>
89
+    To protect the whole system:
90
+    <PRE>
91
+	ClamukoIncludePath /
92
+	ClamukoExcludePath /proc
93
+	ClamukoExcludePath /temporary/dir/of/your/mail/scanning/software
94
+</PRE>
95
+    You can use clamuko to protect file access on Samba/Netatalk (but far
96
+    more better and safe idea is to use the <B>samba-vscan</B> software
97
+    <A HREF="node40.html#samba-vscan">5.17</A>. NFS is not supported (Dazuko doesn't intercept NFS
98
+    access calls). Yet another idea - you may build a database that contains
99
+    signatures for popular exploits and setup clamd to protect your server
100
+    from script-kiddies.
117 101
 
118 102
 <P>
119 103
 <HR>
120 104
 <!--Navigation Panel-->
121
-<A NAME="tex2html340"
105
+<A NAME="tex2html382"
122 106
   HREF="node18.html">
123 107
 <IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next"
124 108
  SRC="/usr/share/latex2html/icons/next.png"></A> 
125
-<A NAME="tex2html336"
126
-  HREF="node16.html">
109
+<A NAME="tex2html378"
110
+  HREF="node15.html">
127 111
 <IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up"
128 112
  SRC="/usr/share/latex2html/icons/up.png"></A> 
129
-<A NAME="tex2html330"
113
+<A NAME="tex2html372"
130 114
   HREF="node16.html">
131 115
 <IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous"
132 116
  SRC="/usr/share/latex2html/icons/prev.png"></A> 
133
-<A NAME="tex2html338"
117
+<A NAME="tex2html380"
134 118
   HREF="node1.html">
135 119
 <IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents"
136 120
  SRC="/usr/share/latex2html/icons/contents.png"></A>  
137 121
 <BR>
138
-<B> Next:</B> <A NAME="tex2html341"
139
-  HREF="node18.html">Clamuko</A>
140
-<B> Up:</B> <A NAME="tex2html337"
141
-  HREF="node16.html">Usage</A>
142
-<B> Previous:</B> <A NAME="tex2html331"
143
-  HREF="node16.html">Usage</A>
144
- &nbsp <B>  <A NAME="tex2html339"
122
+<B> Next:</B> <A NAME="tex2html383"
123
+  HREF="node18.html">Archives and compressed files</A>
124
+<B> Up:</B> <A NAME="tex2html379"
125
+  HREF="node15.html">Usage</A>
126
+<B> Previous:</B> <A NAME="tex2html373"
127
+  HREF="node16.html">Clam daemon</A>
128
+ &nbsp <B>  <A NAME="tex2html381"
145 129
   HREF="node1.html">Contents</A></B> 
146 130
 <!--End of Navigation Panel-->
147 131
 <ADDRESS>
148 132
 Tomasz Kojm
149
-2003-06-21
133
+2003-11-11
150 134
 </ADDRESS>
151 135
 </BODY>
152 136
 </HTML>
... ...
@@ -7,8 +7,8 @@ original version by:  Nikos Drakos, CBLU, University of Leeds
7 7
   Jens Lippmann, Marek Rouchal, Martin Wilck and others -->
8 8
 <HTML>
9 9
 <HEAD>
10
-<TITLE>Clamuko</TITLE>
11
-<META NAME="description" CONTENT="Clamuko">
10
+<TITLE>Archives and compressed files</TITLE>
11
+<META NAME="description" CONTENT="Archives and compressed files">
12 12
 <META NAME="keywords" CONTENT="clamdoc">
13 13
 <META NAME="resource-type" CONTENT="document">
14 14
 <META NAME="distribution" CONTENT="global">
... ...
@@ -21,114 +21,156 @@ original version by:  Nikos Drakos, CBLU, University of Leeds
21 21
 
22 22
 <LINK REL="next" HREF="node19.html">
23 23
 <LINK REL="previous" HREF="node17.html">
24
-<LINK REL="up" HREF="node16.html">
24
+<LINK REL="up" HREF="node15.html">
25 25
 <LINK REL="next" HREF="node19.html">
26 26
 </HEAD>
27 27
 
28 28
 <BODY >
29 29
 <!--Navigation Panel-->
30
-<A NAME="tex2html352"
30
+<A NAME="tex2html394"
31 31
   HREF="node19.html">
32 32
 <IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next"
33 33
  SRC="/usr/share/latex2html/icons/next.png"></A> 
34
-<A NAME="tex2html348"
35
-  HREF="node16.html">
34
+<A NAME="tex2html390"
35
+  HREF="node15.html">
36 36
 <IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up"
37 37
  SRC="/usr/share/latex2html/icons/up.png"></A> 
38
-<A NAME="tex2html342"
38
+<A NAME="tex2html384"
39 39
   HREF="node17.html">
40 40
 <IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous"
41 41
  SRC="/usr/share/latex2html/icons/prev.png"></A> 
42
-<A NAME="tex2html350"
42
+<A NAME="tex2html392"
43 43
   HREF="node1.html">
44 44
 <IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents"
45 45
  SRC="/usr/share/latex2html/icons/contents.png"></A>  
46 46
 <BR>
47
-<B> Next:</B> <A NAME="tex2html353"
48
-  HREF="node19.html">Archives and compressed files</A>
49
-<B> Up:</B> <A NAME="tex2html349"
50
-  HREF="node16.html">Usage</A>
51
-<B> Previous:</B> <A NAME="tex2html343"
52
-  HREF="node17.html">Clam daemon</A>
53
- &nbsp <B>  <A NAME="tex2html351"
47
+<B> Next:</B> <A NAME="tex2html395"
48
+  HREF="node19.html">Output format</A>
49
+<B> Up:</B> <A NAME="tex2html391"
50
+  HREF="node15.html">Usage</A>
51
+<B> Previous:</B> <A NAME="tex2html385"
52
+  HREF="node17.html">Clamuko</A>
53
+ &nbsp <B>  <A NAME="tex2html393"
54 54
   HREF="node1.html">Contents</A></B> 
55 55
 <BR>
56 56
 <BR>
57 57
 <!--End of Navigation Panel-->
58 58
 
59
-<H2><A NAME="SECTION00042000000000000000"></A><A NAME="clamuko"></A>
60
-<BR>
61
-Clamuko
59
+<H2><A NAME="SECTION00043000000000000000">
60
+Archives and compressed files</A>
62 61
 </H2>
63
-    Clamuko is a special thread in <I>clamd</I>, that performs on-access
64
-    scanning under Linux. It was implemented as a thread in clamd because
65
-    of Dazuko implementation. Client (clamuko) - server (clamd) model is
66
-    currently not supported by Dazuko. There are some benefits from
67
-    current implementation - clamuko is sharing the database with clamd,
68
-    and it's updated with the RELOAD command. <B>You must obey the
69
-    following principles when using clamuko:</B>
62
+    All the scanners depend on LibClamAV. It has a built-in support for the
63
+    following formats:
70 64
     
71 65
 <UL>
72
-<LI>Always stop the daemon cleanly, with QUIT command or
73
-	      SIGTERM signal. In other case, you can lose an access
74
-	      to the protected files until the system is restarted.
66
+<LI>Zip
67
+</LI>
68
+<LI>Gzip
75 69
 </LI>
76
-<LI>Never protect the directory your mail-scanner software
77
-	      uses for attachments unpacking. Access to all infected
78
-	      files will be blocked, and the scanner (even clamd)
79
-	      won't be able to detect a virus. Infected mail will be
80
-	      delivered.
70
+<LI>Bzip2
71
+</LI>
72
+<LI>RAR (2.0 only)
81 73
     
82 74
 </LI>
83 75
 </UL>
84
-    You need to enable clamuko in <I>clamav.conf</I>. To protect directory
85
-    /home, please use the option:
76
+    Archive file types are determined by magic number tests.<A NAME="tex2html25"
77
+  HREF="footnode.html#foot278"><SUP>5</SUP></A> You need the zlib library
78
+    for the Zip/Gzip support. Zip archives are accessed with the zziplib
79
+    library by Guido Draheim and Tomi Ollila. RAR support is based on the
80
+    UniquE RAR File Library by Christian Scheurer and Johannes Winkelmann.
81
+    Both of them are included and slightly modified in the clamav sources.
82
+    Unrarlib supports RAR 2.0 archives only and according to Christian
83
+    the new format (introduced in WinRAR 3.0) will never be supported
84
+    (however clamscan can scan WinRAR 3.0 archives, see below). Due to
85
+    security reasons clamd only scans archives supported by libclamav.
86
+    Clamscan is more clever and it can also use external unpackers - this
87
+    is especially useful when the built-in decompresor fails:
86 88
     <PRE>
87
-	ClamukoIncludePath /home
88
-</PRE>
89
-    To protect the whole system:
90
-    <PRE>
91
-	ClamukoIncludePath /
92
-	ClamukoExcludePath /proc
93
-	ClamukoExcludePath /tempdir/of/mail/scanner
89
+	$ clamscan --unrar rarfail.rar
90
+	/home/zolw/Clam/test/rarfail.rar: RAR module failure.
91
+
92
+	UNRAR 3.00 freeware      Copyright (c) 1993-2002 Eugene Roshal
93
+
94
+
95
+	Extracting from /home/zolw/Clam/test/rarfail.rar
96
+
97
+	Extracting  test1                                           OK 
98
+	All OK
99
+	/tmp/44694f5b2665d2f4/test1: ClamAV-Test-Signature FOUND
100
+	/home/zolw/Clam/test/rarfail.rar: Infected Archive FOUND
94 101
 </PRE>
95
-    You can use clamuko to protect file access on Samba/Netatalk. NFS
96
-    is not supported (Dazuko doesn't intercept NFS access calls). Another
97
-    idea - you can build a database containing a signatures of the popular
98
-    exploits, it will protect you against script-kiddies.
102
+    <I><B>TIP:</B> You can force clamscan to list all infected files
103
+    in archive using -disable-archive (it disables the built-in decompressors)
104
+    and -unzip -unrar...</I>.
105
+<BR>
106
+clamscan supports many popular compressors - it uses external programs
107
+    for each format. <B>If the scanner runs with superuser privileges
108
+    unpackers are executed with a <I>clamav</I> privileges what makes the
109
+    process far more secure.</B> It also cares <I>clamav</I> user has read access
110
+    to all files. <B>You must enable recursive scanning with the <I>-r</I>
111
+    option (<I>-recursive</I>), if you want to scan a whole content of an
112
+    archive (including subdirectories)</B>, this option is also (usually) required
113
+    for scanning nested archive. External unpackers supported:
114
+<BR>
115
+<P>
99 116
 
117
+    <B>-unzip: </B> Usually you don't need this option because Zip format is
118
+	       supported by libclamav. However it may be useful if libclamav
119
+	       fails to unzip some file. clamscan was tested with
120
+	       <I>UnZip 5.41 of 16 April 2000, by Info-ZIP</I>.
121
+<BR>    <B>-unrar: </B> Tested with <I>UNRAR 3.00 freeware</I>.
122
+<BR>    <B>-unace: </B> It uses an options supported by <I>UNACE v1.2 public version</I>,
123
+	       not tested, but should work.
124
+<BR>    <B>-arj: </B> Tested with <I>arj 3.10b</I>.
125
+<BR>    <B>-zoo: </B> Tested with <I>zoo 2.1</I>.
126
+<BR>    <B>-lha: </B> Tested with <I>LHa for Unix V 1.14e</I>.
127
+<BR>    <B>-jar: </B> clamscan uses <I>unzip</I> for .jar files. Tested with
128
+	     <I>UnZip 5.41 of 16 April 2000, by Info-ZIP</I>.
129
+<BR>    <B>-tar: </B> This option enables support for non-compressed archives. Tested
130
+	     with <I>GNU tar 1.13.17</I>.
131
+<BR>    <B>-deb: </B> This option enables support for debian binary packages. Tested with
132
+	     <I>GNU ar
133
+<BR>
134
+2.12.90.0.14</I>. Implies -tgz , but doesn't conflict
135
+	     with -tgz=FULLPATH.
136
+<BR>    <B>-tgz: </B> This option supports .tar.gz and .tgz files. You need <I>GNU
137
+	     tar</I>, on non-Linux system you probably have it installed as
138
+	     <I>gtar</I> and if it can be found in <I>$PATH</I> please use
139
+	     <I>-tgz=gtar</I> to tell clamscan to use <I>gtar</I> instead of
140
+	     <I>tar</I>. Otherwise please supply a full path with <I>-tgz</I>.
141
+<BR>
100 142
 <P>
101 143
 <HR>
102 144
 <!--Navigation Panel-->
103
-<A NAME="tex2html352"
145
+<A NAME="tex2html394"
104 146
   HREF="node19.html">
105 147
 <IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next"
106 148
  SRC="/usr/share/latex2html/icons/next.png"></A> 
107
-<A NAME="tex2html348"
108
-  HREF="node16.html">
149
+<A NAME="tex2html390"
150
+  HREF="node15.html">
109 151
 <IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up"
110 152
  SRC="/usr/share/latex2html/icons/up.png"></A> 
111
-<A NAME="tex2html342"
153
+<A NAME="tex2html384"
112 154
   HREF="node17.html">
113 155
 <IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous"
114 156
  SRC="/usr/share/latex2html/icons/prev.png"></A> 
115
-<A NAME="tex2html350"
157
+<A NAME="tex2html392"
116 158
   HREF="node1.html">
117 159
 <IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents"
118 160
  SRC="/usr/share/latex2html/icons/contents.png"></A>  
119 161
 <BR>
120
-<B> Next:</B> <A NAME="tex2html353"
121
-  HREF="node19.html">Archives and compressed files</A>
122
-<B> Up:</B> <A NAME="tex2html349"
123
-  HREF="node16.html">Usage</A>
124
-<B> Previous:</B> <A NAME="tex2html343"
125
-  HREF="node17.html">Clam daemon</A>
126
- &nbsp <B>  <A NAME="tex2html351"
162
+<B> Next:</B> <A NAME="tex2html395"
163
+  HREF="node19.html">Output format</A>
164
+<B> Up:</B> <A NAME="tex2html391"
165
+  HREF="node15.html">Usage</A>
166
+<B> Previous:</B> <A NAME="tex2html385"
167
+  HREF="node17.html">Clamuko</A>
168
+ &nbsp <B>  <A NAME="tex2html393"
127 169
   HREF="node1.html">Contents</A></B> 
128 170
 <!--End of Navigation Panel-->
129 171
 <ADDRESS>
130 172
 Tomasz Kojm
131
-2003-06-21
173
+2003-11-11
132 174
 </ADDRESS>
133 175
 </BODY>
134 176
 </HTML>
... ...
@@ -7,8 +7,8 @@ original version by:  Nikos Drakos, CBLU, University of Leeds
7 7
   Jens Lippmann, Marek Rouchal, Martin Wilck and others -->
8 8
 <HTML>
9 9
 <HEAD>
10
-<TITLE>Archives and compressed files</TITLE>
11
-<META NAME="description" CONTENT="Archives and compressed files">
10
+<TITLE>Output format</TITLE>
11
+<META NAME="description" CONTENT="Output format">
12 12
 <META NAME="keywords" CONTENT="clamdoc">
13 13
 <META NAME="resource-type" CONTENT="document">
14 14
 <META NAME="distribution" CONTENT="global">
... ...
@@ -21,163 +21,96 @@ original version by:  Nikos Drakos, CBLU, University of Leeds
21 21
 
22 22
 <LINK REL="next" HREF="node20.html">
23 23
 <LINK REL="previous" HREF="node18.html">
24
-<LINK REL="up" HREF="node16.html">
24
+<LINK REL="up" HREF="node15.html">
25 25
 <LINK REL="next" HREF="node20.html">
26 26
 </HEAD>
27 27
 
28 28
 <BODY >
29 29
 <!--Navigation Panel-->
30
-<A NAME="tex2html364"
30
+<A NAME="tex2html406"
31 31
   HREF="node20.html">
32 32
 <IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next"
33 33
  SRC="/usr/share/latex2html/icons/next.png"></A> 
34
-<A NAME="tex2html360"
35
-  HREF="node16.html">
34
+<A NAME="tex2html402"
35
+  HREF="node15.html">
36 36
 <IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up"
37 37
  SRC="/usr/share/latex2html/icons/up.png"></A> 
38
-<A NAME="tex2html354"
38
+<A NAME="tex2html396"
39 39
   HREF="node18.html">
40 40
 <IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous"
41 41
  SRC="/usr/share/latex2html/icons/prev.png"></A> 
42
-<A NAME="tex2html362"
42
+<A NAME="tex2html404"
43 43
   HREF="node1.html">
44 44
 <IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents"
45 45
  SRC="/usr/share/latex2html/icons/contents.png"></A>  
46 46
 <BR>
47
-<B> Next:</B> <A NAME="tex2html365"
48
-  HREF="node20.html">Output format</A>
49
-<B> Up:</B> <A NAME="tex2html361"
50
-  HREF="node16.html">Usage</A>
51
-<B> Previous:</B> <A NAME="tex2html355"
52
-  HREF="node18.html">Clamuko</A>
53
- &nbsp <B>  <A NAME="tex2html363"
47
+<B> Next:</B> <A NAME="tex2html407"
48
+  HREF="node20.html">Signature Tool</A>
49
+<B> Up:</B> <A NAME="tex2html403"
50
+  HREF="node15.html">Usage</A>
51
+<B> Previous:</B> <A NAME="tex2html397"
52
+  HREF="node18.html">Archives and compressed files</A>
53
+ &nbsp <B>  <A NAME="tex2html405"
54 54
   HREF="node1.html">Contents</A></B> 
55 55
 <BR>
56 56
 <BR>
57 57
 <!--End of Navigation Panel-->
58 58
 
59
-<H2><A NAME="SECTION00043000000000000000">
60
-Archives and compressed files</A>
59
+<H2><A NAME="SECTION00044000000000000000">
60
+Output format</A>
61 61
 </H2>
62
-    Clam AntiVirus depends on LibClamAV. It has built-in support for the
63
-    following formats:
64
-    
65
-<UL>
66
-<LI>Zip
67
-</LI>
68
-<LI>Gzip
69
-</LI>
70
-<LI>RAR (2.0 only)
71
-    
72
-</LI>
73
-</UL>
74
-    Archive files are detected by checking a magic strings.<A NAME="tex2html17"
75
-  HREF="footnode.html#foot233"><SUP>4</SUP></A>    You need the zlib library for the Zip/Gzip support. Zip archives are
76
-    accessed with the zziplib library by Guido Draheim and Tomi Ollila.
77
-    RAR support is based on the UniquE RAR File Library by Christian Scheurer
78
-    and Johannes Winkelmann. Both of them are included and slightly modified
79
-    in the clamav sources. Unrarlib supports RAR 2.0 archives only and
80
-    according to Christian the new format (introduced in WinRAR 3.0) won't
81
-    be supported. 
82
-
83
-<P>
84
-The daemon scans archives supported by libclamav only. Clamscan tries
85
-    to scan an archive with built-in code, but when it fails it's able
86
-    to switch to the external unpacker:
62
+    <I>clamd</I> uses a clamscan compatible output format:
87 63
     <PRE>
88
-	$ clamscan --unrar rarfail.rar
89
-	/home/zolw/Clam/test/rarfail.rar: RAR module failure.
90
-
91
-	UNRAR 3.00 freeware      Copyright (c) 1993-2002 Eugene Roshal
92
-
93
-
94
-	Extracting from /home/zolw/Clam/test/rarfail.rar
95
-
96
-	Extracting  test1                                           OK 
97
-	All OK
98
-	/tmp/44694f5b2665d2f4/test1: ClamAV-Test-Signature FOUND
99
-	/home/zolw/Clam/test/rarfail.rar: Infected Archive FOUND
64
+	zolw@Wierszokleta:~$ telnet localhost 3310
65
+	Trying 127.0.0.1...
66
+	Connected to localhost.
67
+	Escape character is '^]'.
68
+	SCAN /home/zolw/infected
69
+	/home/zolw/infected/sobre.com: W32/Magistr.B FOUND
70
+	Connection closed by foreign host.
100 71
 </PRE>
101
-
102
-<P>
103
-clamscan supports many popular compressors - it uses external programs
104
-    for each format. <B>If the scanner runs with superuser privileges
105
-    unpackers are executed with <I>clamav</I> privileges, which makes the
106
-    process far more secure.</B> It also makes sure, that <I>clamav</I> user
107
-    has read access to all scanned compressed files.  <B>You should have
108
-    enabled recursive scanning with the <I>-r</I> option (<I>-recursive</I>),
109
-    if you want to scan the whole content of the archive (with subdirectories)</B>,
110
-    also all archives in archives will be recursively scanned - just everything.    If files in archives are virus free the archive itself is scanned - just
111
-    for prevention (it may not be an archive). Please look at the options
112
-    below, each option has an optional argument - the absolute path to unpacker.
113
-    If it can't be found in <I>$PATH</I> please supply it. <I>Because Clam
114
-    AntiVirus uses the standard GNU options format, the long options with
115
-    optional arguments, you <B>must</B> remember about the <IMG
116
- WIDTH="20" HEIGHT="17" ALIGN="BOTTOM" BORDER="0"
117
- SRC="img2.png"
118
- ALT="$=$"> between option
119
-    and argument.  So the proper way to supply the optional arguments is for
120
-    example -unzip=/path/to/unzip.</I> <BR>
72
+    In <B>SCAN</B> mode it closes the connection when first virus is found.
73
+    In the case of archives the output is exactly the same as with normal
74
+    files:
75
+    <PRE>
76
+	SCAN /home/zolw/Clam/test/test2.zip
77
+	/home/zolw/Clam/test/test2.zip: ClamAV-Test-Signature FOUND
78
+</PRE>
79
+    <B>CONTSCAN</B> displays all infected files found.
121 80
 <BR>
81
+Error messages are printed in the following format:
82
+    <PRE>
83
+	SCAN /no/such/file
84
+	/no/such/file: Can't stat() the file ERROR
85
+</PRE>
86
+    and they can be easily parsed.
87
+
122 88
 <P>
89
+<I>clamscan</I> writes all messages to <B>stderr</B> (only help is
90
+    written to <B>stdout</B> by default) to <B>stderr</B>. You may want
91
+    to redirect it to <B>stdout</B> - this is handled by <I>-stdout</I>.
92
+    An example clamscan output is:
93
+    <PRE>
94
+	/tmp/test/removal-tool.exe: Worm.Sober FOUND
95
+	/tmp/test/md5.o: OK
96
+	/tmp/test/blob.c: OK
97
+	/tmp/test/message.c: OK
98
+	/tmp/test/error.hta: VBS.Inor.D FOUND
99
+</PRE>
100
+    When a virus is found, its name is printed between the <I>filename:</I> and
101
+    <I>FOUND</I> strings. If a virus is found in an archive that has been
102
+    extracted with an external unpacker it's noticed with <I>Infected
103
+    Archive</I>. "Infected Archives" are not counted as infected files - only
104
+    files within them are. Notice the difference with built-in unarchiver -
105
+    extraction process is realized transparently by libclamav and clamscan
106
+    doesn't know which concrete file is infected - just marks a whole archives
107
+    as infected.
123 108
 
124
-    <B>-unzip: </B> You probably don't need this option, because Zip is supported
125
-	       by libclamav. But if libclamav will fail to unzip some file,
126
-	       it may be useful.
127
-	       clamscan was tested with <I>UnZip 5.41 of 16 April 2000,
128
-	       by Info-ZIP</I>.
129
-<BR>    <B>-unrar: </B> Tested with <I>UNRAR 3.00 freeware</I>.
130
-<BR>    <B>-unace: </B> It uses options supported by <I>UNACE v1.2 public version</I>,
131
-	       not tested, but should work.
132
-<BR>    <B>-arj: </B> Tested with <I>arj 3.10b</I>.
133
-<BR>    <B>-zoo: </B> Tested with <I>zoo 2.1</I>.
134
-<BR>    <B>-lha: </B> Tested with <I>LHa for Unix V 1.14e</I>.
135
-<BR>    <B>-jar: </B> CA uses <I>unzip</I> for .jar files. Tested with <I>UnZip 5.41
136
-	     of 16 April 2000, by Info-ZIP</I>.
137
-<BR>    <B>-tar: </B> This option supports non-compressed archives. Tested with
138
-	     <I>GNU tar 1.13.17</I>.
139
-<BR>    <B>-deb: </B> This option supports debian binary packages. Tested with
140
-	     <I>GNU ar
141
-<BR>
142
-2.12.90.0.14</I>. Implies -tgz , but doesn't conflict
143
-	     with -tgz=FULLPATH.
144
-<BR>    <B>-tgz: </B> This option supports .tar.gz and .tgz files. You need <I>GNU
145
-	     tar</I>, on non-Linux system you probably have it as <I>gtar</I>
146
-	     and if this is in <I>$PATH</I> just use <I>-tgz=gtar</I> or
147
-	     supply the full path to this command as an argument.
148
-<BR>
149 109
 <P>
150
-<HR>
151
-<!--Navigation Panel-->
152
-<A NAME="tex2html364"
153
-  HREF="node20.html">
154
-<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next"
155
- SRC="/usr/share/latex2html/icons/next.png"></A> 
156
-<A NAME="tex2html360"
157
-  HREF="node16.html">
158
-<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up"
159
- SRC="/usr/share/latex2html/icons/up.png"></A> 
160
-<A NAME="tex2html354"
161
-  HREF="node18.html">
162
-<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous"
163
- SRC="/usr/share/latex2html/icons/prev.png"></A> 
164
-<A NAME="tex2html362"
165
-  HREF="node1.html">
166
-<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents"
167
- SRC="/usr/share/latex2html/icons/contents.png"></A>  
168
-<BR>
169
-<B> Next:</B> <A NAME="tex2html365"
170
-  HREF="node20.html">Output format</A>
171
-<B> Up:</B> <A NAME="tex2html361"
172
-  HREF="node16.html">Usage</A>
173
-<B> Previous:</B> <A NAME="tex2html355"
174
-  HREF="node18.html">Clamuko</A>
175
- &nbsp <B>  <A NAME="tex2html363"
176
-  HREF="node1.html">Contents</A></B> 
177
-<!--End of Navigation Panel-->
110
+<BR><HR>
178 111
 <ADDRESS>
179 112
 Tomasz Kojm
180
-2003-06-21
113
+2003-11-11
181 114
 </ADDRESS>
182 115
 </BODY>
183 116
 </HTML>
... ...
@@ -27,30 +27,30 @@ original version by:  Nikos Drakos, CBLU, University of Leeds
27 27
 
28 28
 <BODY >
29 29
 <!--Navigation Panel-->
30
-<A NAME="tex2html147"
30
+<A NAME="tex2html190"
31 31
   HREF="node3.html">
32 32
 <IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next"
33 33
  SRC="/usr/share/latex2html/icons/next.png"></A> 
34
-<A NAME="tex2html143"
34
+<A NAME="tex2html186"
35 35
   HREF="clamdoc.html">
36 36
 <IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up"
37 37
  SRC="/usr/share/latex2html/icons/up.png"></A> 
38
-<A NAME="tex2html137"
38
+<A NAME="tex2html180"
39 39
   HREF="node1.html">
40 40
 <IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous"
41 41
  SRC="/usr/share/latex2html/icons/prev.png"></A> 
42
-<A NAME="tex2html145"
42
+<A NAME="tex2html188"
43 43
   HREF="node1.html">
44 44
 <IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents"
45 45
  SRC="/usr/share/latex2html/icons/contents.png"></A>  
46 46
 <BR>
47
-<B> Next:</B> <A NAME="tex2html148"
47
+<B> Next:</B> <A NAME="tex2html191"
48 48
   HREF="node3.html">Features</A>
49
-<B> Up:</B> <A NAME="tex2html144"
49
+<B> Up:</B> <A NAME="tex2html187"
50 50
   HREF="clamdoc.html">clamdoc</A>
51
-<B> Previous:</B> <A NAME="tex2html138"
51
+<B> Previous:</B> <A NAME="tex2html181"
52 52
   HREF="node1.html">Contents</A>
53
- &nbsp <B>  <A NAME="tex2html146"
53
+ &nbsp <B>  <A NAME="tex2html189"
54 54
   HREF="node1.html">Contents</A></B> 
55 55
 <BR>
56 56
 <BR>
... ...
@@ -66,10 +66,7 @@ Clam AntiVirus is an anti-virus toolkit for UNIX. The main purpose of this
66 66
     The package provides a flexible and scalable multi-threaded daemon, a
67 67
     command line scanner, and a tool for automatic updating via Internet. The
68 68
     programs are based on a shared library distributed with the Clam AntiVirus
69
-    package, which you can use with your own software. The virus database
70
-    is based on the virus database from OpenAntiVirus.org, but contains
71
-    additional signatures (including signatures for popular polymorphic viruses,
72
-    too) and is <B>kept up to date</B>.
69
+    package, which you can use with your own software.
73 70
 
74 71
 <P>
75 72
 <BR><HR>
... ...
@@ -77,18 +74,18 @@ Clam AntiVirus is an anti-virus toolkit for UNIX. The main purpose of this
77 77
 <A NAME="CHILD_LINKS"><STRONG>Subsections</STRONG></A>
78 78
 
79 79
 <UL>
80
-<LI><A NAME="tex2html149"
80
+<LI><A NAME="tex2html192"
81 81
   HREF="node3.html">Features</A>
82
-<LI><A NAME="tex2html150"
82
+<LI><A NAME="tex2html193"
83 83
   HREF="node4.html">Mailing lists</A>
84
-<LI><A NAME="tex2html151"
84
+<LI><A NAME="tex2html194"
85 85
   HREF="node5.html">Virus submitting</A>
86 86
 </UL>
87 87
 <!--End of Table of Child-Links-->
88 88
 <BR><HR>
89 89
 <ADDRESS>
90 90
 Tomasz Kojm
91
-2003-06-21
91
+2003-11-11
92 92
 </ADDRESS>
93 93
 </BODY>
94 94
 </HTML>
... ...
@@ -7,8 +7,8 @@ original version by:  Nikos Drakos, CBLU, University of Leeds
7 7
   Jens Lippmann, Marek Rouchal, Martin Wilck and others -->
8 8
 <HTML>
9 9
 <HEAD>
10
-<TITLE>Output format</TITLE>
11
-<META NAME="description" CONTENT="Output format">
10
+<TITLE>Signature Tool</TITLE>
11
+<META NAME="description" CONTENT="Signature Tool">
12 12
 <META NAME="keywords" CONTENT="clamdoc">
13 13
 <META NAME="resource-type" CONTENT="document">
14 14
 <META NAME="distribution" CONTENT="global">
... ...
@@ -19,126 +19,166 @@ original version by:  Nikos Drakos, CBLU, University of Leeds
19 19
 
20 20
 <LINK REL="STYLESHEET" HREF="clamdoc.css">
21 21
 
22
-<LINK REL="next" HREF="node21.html">
23 22
 <LINK REL="previous" HREF="node19.html">
24
-<LINK REL="up" HREF="node16.html">
23
+<LINK REL="up" HREF="node15.html">
25 24
 <LINK REL="next" HREF="node21.html">
26 25
 </HEAD>
27 26
 
28 27
 <BODY >
29 28
 <!--Navigation Panel-->
30
-<A NAME="tex2html376"
29
+<A NAME="tex2html416"
31 30
   HREF="node21.html">
32 31
 <IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next"
33 32
  SRC="/usr/share/latex2html/icons/next.png"></A> 
34
-<A NAME="tex2html372"
35
-  HREF="node16.html">
33
+<A NAME="tex2html412"
34
+  HREF="node15.html">
36 35
 <IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up"
37 36
  SRC="/usr/share/latex2html/icons/up.png"></A> 
38
-<A NAME="tex2html366"
37
+<A NAME="tex2html408"
39 38
   HREF="node19.html">
40 39
 <IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous"
41 40
  SRC="/usr/share/latex2html/icons/prev.png"></A> 
42
-<A NAME="tex2html374"
41
+<A NAME="tex2html414"
43 42
   HREF="node1.html">
44 43
 <IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents"
45 44
  SRC="/usr/share/latex2html/icons/contents.png"></A>  
46 45
 <BR>
47
-<B> Next:</B> <A NAME="tex2html377"
48
-  HREF="node21.html">Signature Tool</A>
49
-<B> Up:</B> <A NAME="tex2html373"
50
-  HREF="node16.html">Usage</A>
51
-<B> Previous:</B> <A NAME="tex2html367"
52
-  HREF="node19.html">Archives and compressed files</A>
53
- &nbsp <B>  <A NAME="tex2html375"
46
+<B> Next:</B> <A NAME="tex2html417"
47
+  HREF="node21.html">Problem solving</A>
48
+<B> Up:</B> <A NAME="tex2html413"
49
+  HREF="node15.html">Usage</A>
50
+<B> Previous:</B> <A NAME="tex2html409"
51
+  HREF="node19.html">Output format</A>
52
+ &nbsp <B>  <A NAME="tex2html415"
54 53
   HREF="node1.html">Contents</A></B> 
55 54
 <BR>
56 55
 <BR>
57 56
 <!--End of Navigation Panel-->
58 57
 
59
-<H2><A NAME="SECTION00044000000000000000">
60
-Output format</A>
58
+<H2><A NAME="SECTION00045000000000000000">
59
+Signature Tool</A>
61 60
 </H2>
62
-    <I>clamd</I> uses clamscan compatible (see below) output format.
61
+    <I>sigtool</I> automates signature creation. If you have got an infected
62
+    file not recognized by ClamAV and there is another anti-virus scanner
63
+    working in a console that detects the virus, then you can try to create
64
+    the signature automatically. <I>Sigtool is only partially useful because
65
+    it only detects a last part of a real signature. It will fail for multipart
66
+    signatures (often used to match polymorphic viruses).</I>
67
+    <I>Example of usage:</I>
68
+    Create a random file (with any content) and insert the <B>test1</B> file
69
+    content into it. We will use <I>clamscan</I> to generate the signature.
70
+    This is only an example - in real life you don't need such tricks - just
71
+    an infected file. Scan it with <I>clamscan -stdout testfile</I> - the
72
+    output should be:
63 73
     <PRE>
64
-	zolw@Wierszokleta:~$ telnet localhost 3310
65
-	Trying 127.0.0.1...
66
-	Connected to localhost.
67
-	Escape character is '^]'.
68
-	SCAN /home/zolw/infected
69
-	/home/zolw/infected/sobre.com: W32/Magistr.B FOUND
70
-	Connection closed by foreign host.
74
+	testfile: ClamAV-Test-Signature FOUND
75
+
76
+	----------- SCAN SUMMARY -----------
77
+	Known viruses: 10213
78
+	Scanned directories: 0
79
+	Scanned files: 1
80
+	Data scanned: 0.95 MB
81
+	Infected files: 1
82
+	I/O buffer size: 131072 bytes
83
+	Time: 0.245 sec (0 m 0 s)
71 84
 </PRE>
72
-    In <B>SCAN</B> mode it closes the connection when first virus is found.
73
-    In the case of archives, the output is exactly the same as with normal
74
-    files:
85
+    The unique string in this output is "ClamAV-Test-Signature" so run
86
+    <I>sigtool</I> with the following arguments:
75 87
     <PRE>
76
-	SCAN /home/zolw/Clam/test/test2.zip
77
-	/home/zolw/Clam/test/test2.zip: ClamAV-Test-Signature FOUND
88
+	$ sigtool -c "clamscan --stdout" -f testfile -s "ClamAV-Test"
78 89
 </PRE>
79
-    <B>CONTSCAN</B> displays all infected files found.
80
-<BR>
81
-Error messages are printed in the following format:
90
+    The program will concatenate arguments for <I>-c (-command)</I> and
91
+    <I>-f (-file)</I>, that's why the scanner's options must be given in the
92
+    proper order. At the end it will generate a file <I>testfile.sig</I>,
93
+    which should contain 100 bytes in our example. It contains the proper
94
+    signature.
82 95
     <PRE>
83
-	SCAN /no/such/file
84
-	/no/such/file: Can't stat() the file ERROR
85
-</PRE>
86
-    and they can be easily parsed.
96
+	Detected, decreasing end 20051 -&gt; 16040
97
+	Detected, decreasing end 16040 -&gt; 12029
98
+	Detected, decreasing end 12029 -&gt; 8018
99
+	Not detected at 8018, moving forward.
100
+	Detected, decreasing end 10024 -&gt; 8018
101
+	Not detected at 8018, moving forward.
102
+	Detected, decreasing end 9021 -&gt; 8018
103
+	Not detected at 8018, moving forward.
104
+	Not detected at 8520, moving forward.
105
+	Detected, decreasing end 8771 -&gt; 8520
106
+	Not detected at 8520, moving forward.
107
+	Not detected at 8646, moving forward.
108
+	Not detected at 8709, moving forward.
109
+	Detected, decreasing end 8741 -&gt; 8709
110
+	Not detected at 8709, moving forward.
111
+	Not detected at 8725, moving forward.
112
+	Detected, decreasing end 8733 -&gt; 8725
113
+	Not detected at 8725, moving forward.
114
+	Not detected at 8729, moving forward.
115
+	Detected, decreasing end 8731 -&gt; 8729
116
+	Not detected at 8729, moving forward.
117
+	Detected, decreasing end 8730 -&gt; 8729
118
+	Not detected at 8729, moving forward.
119
+	Increasing end 8729 -&gt; 8730
120
+	 *** Signature end found at 8730
121
+	Detected at 8680, moving forward.
122
+	Detected at 8680, moving forward.
123
+	Not detected, moving backward 8693 -&gt; 8680
124
+	Detected at 8680, moving forward.
125
+	Not detected, moving backward 8687 -&gt; 8680
126
+	Detected at 8680, moving forward.
127
+	Not detected, moving backward 8684 -&gt; 8680
128
+	Detected at 8680, moving forward.
129
+	Not detected, moving backward 8682 -&gt; 8680
130
+	Detected at 8680, moving forward.
131
+	Not detected, moving backward 8681 -&gt; 8680
132
+	Detected at 8680, moving forward.
133
+	Not detected, moving backward 8681 -&gt; 8680
134
+	Detected at 8680, moving forward.
135
+	Moving forward 8680 -&gt; 8681
136
+	 *** Signature start found at 8681
87 137
 
88
-<P>
89
-<I>clamscan</I> writes all messages (only help is written to <B>stdout</B>    by default) to <B>stderr</B>. In some situations
90
-    you may want to redirect it to <B>stdout</B> with <I>-stdout</I>.
91
-    <I>stdout</I> in contrast to <I>stderr</I> is buffered, that's why
92
-    <I>clamscan</I> flushes this buffer after each message, to prevent
93
-    the creation of trashes on the output. During scanning it writes something
94
-    like this:
95
-    <PRE>
96
-	/TEST/test: OK
97
-	/TEST/Makefile: OK
98
-	/TEST/getopt.c: OK
99
-	/TEST/virfile: Phantom #1 FOUND
138
+	The scanner was executed 33 times.
139
+	The signature length is 49 (98 hex)
140
+	Saving signature in testfile.sig file.
141
+	Saving binary signature in testfile.bsig file.
100 142
 </PRE>
101
-    When a virus is found, its name is printed between <I>filename:</I> and
102
-    <I>FOUND</I>.
103
-    If a virus is found in an archive scanned with an external unpacker
104
-    it's noticed with <I>Infected Archive</I>. "Infected Archives" are not
105
-    counted as infected files - just files in them are. Please note the
106
-    difference between an internal unarchiving - because it's realized
107
-    transparently by the libclamav, clamscan doesn't even know the file is
108
-    an archive.
143
+    To make the generated signature complete you only to add the
144
+    <I>VirusName=</I> string at the beginning of the hexadecimal signature in
145
+    testfile.sig.
146
+<BR>    <I><B>TIP:</B> ClamAV scanners read all .db files in the database
147
+    directory. You can create your own database files (e.g. local.db) and they
148
+    won't be modified by freshclam !</I>
109 149
 
110 150
 <P>
111 151
 <HR>
112 152
 <!--Navigation Panel-->
113
-<A NAME="tex2html376"
153
+<A NAME="tex2html416"
114 154
   HREF="node21.html">
115 155
 <IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next"
116 156
  SRC="/usr/share/latex2html/icons/next.png"></A> 
117
-<A NAME="tex2html372"
118
-  HREF="node16.html">
157
+<A NAME="tex2html412"
158
+  HREF="node15.html">
119 159
 <IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up"
120 160
  SRC="/usr/share/latex2html/icons/up.png"></A> 
121
-<A NAME="tex2html366"
161
+<A NAME="tex2html408"
122 162
   HREF="node19.html">
123 163
 <IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous"
124 164
  SRC="/usr/share/latex2html/icons/prev.png"></A> 
125
-<A NAME="tex2html374"
165
+<A NAME="tex2html414"
126 166
   HREF="node1.html">
127 167
 <IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents"
128 168
  SRC="/usr/share/latex2html/icons/contents.png"></A>  
129 169
 <BR>
130
-<B> Next:</B> <A NAME="tex2html377"
131
-  HREF="node21.html">Signature Tool</A>
132
-<B> Up:</B> <A NAME="tex2html373"
133
-  HREF="node16.html">Usage</A>
134
-<B> Previous:</B> <A NAME="tex2html367"
135
-  HREF="node19.html">Archives and compressed files</A>
136
- &nbsp <B>  <A NAME="tex2html375"
170
+<B> Next:</B> <A NAME="tex2html417"
171
+  HREF="node21.html">Problem solving</A>
172
+<B> Up:</B> <A NAME="tex2html413"
173
+  HREF="node15.html">Usage</A>
174
+<B> Previous:</B> <A NAME="tex2html409"
175
+  HREF="node19.html">Output format</A>
176
+ &nbsp <B>  <A NAME="tex2html415"
137 177
   HREF="node1.html">Contents</A></B> 
138 178
 <!--End of Navigation Panel-->
139 179
 <ADDRESS>
140 180
 Tomasz Kojm
141
-2003-06-21
181
+2003-11-11
142 182
 </ADDRESS>
143 183
 </BODY>
144 184
 </HTML>
... ...
@@ -7,8 +7,8 @@ original version by:  Nikos Drakos, CBLU, University of Leeds
7 7
   Jens Lippmann, Marek Rouchal, Martin Wilck and others -->
8 8
 <HTML>
9 9
 <HEAD>
10
-<TITLE>Signature Tool</TITLE>
11
-<META NAME="description" CONTENT="Signature Tool">
10
+<TITLE>Problem solving</TITLE>
11
+<META NAME="description" CONTENT="Problem solving">
12 12
 <META NAME="keywords" CONTENT="clamdoc">
13 13
 <META NAME="resource-type" CONTENT="document">
14 14
 <META NAME="distribution" CONTENT="global">
... ...
@@ -19,102 +19,61 @@ original version by:  Nikos Drakos, CBLU, University of Leeds
19 19
 
20 20
 <LINK REL="STYLESHEET" HREF="clamdoc.css">
21 21
 
22
-<LINK REL="previous" HREF="node20.html">
23
-<LINK REL="up" HREF="node16.html">
22
+<LINK REL="next" HREF="node23.html">
23
+<LINK REL="previous" HREF="node15.html">
24
+<LINK REL="up" HREF="clamdoc.html">
24 25
 <LINK REL="next" HREF="node22.html">
25 26
 </HEAD>
26 27
 
27 28
 <BODY >
28 29
 <!--Navigation Panel-->
29
-<A NAME="tex2html386"
30
+<A NAME="tex2html428"
30 31
   HREF="node22.html">
31 32
 <IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next"
32 33
  SRC="/usr/share/latex2html/icons/next.png"></A> 
33
-<A NAME="tex2html382"
34
-  HREF="node16.html">
34
+<A NAME="tex2html424"
35
+  HREF="clamdoc.html">
35 36
 <IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up"
36 37
  SRC="/usr/share/latex2html/icons/up.png"></A> 
37
-<A NAME="tex2html378"
38
+<A NAME="tex2html418"
38 39
   HREF="node20.html">
39 40
 <IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous"
40 41
  SRC="/usr/share/latex2html/icons/prev.png"></A> 
41
-<A NAME="tex2html384"
42
+<A NAME="tex2html426"
42 43
   HREF="node1.html">
43 44
 <IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents"
44 45
  SRC="/usr/share/latex2html/icons/contents.png"></A>  
45 46
 <BR>
46
-<B> Next:</B> <A NAME="tex2html387"
47
-  HREF="node22.html">Compatible software</A>
48
-<B> Up:</B> <A NAME="tex2html383"
49
-  HREF="node16.html">Usage</A>
50
-<B> Previous:</B> <A NAME="tex2html379"
51
-  HREF="node20.html">Output format</A>
52
- &nbsp <B>  <A NAME="tex2html385"
47
+<B> Next:</B> <A NAME="tex2html429"
48
+  HREF="node22.html">Return codes</A>
49
+<B> Up:</B> <A NAME="tex2html425"
50
+  HREF="clamdoc.html">clamdoc</A>
51
+<B> Previous:</B> <A NAME="tex2html419"
52
+  HREF="node20.html">Signature Tool</A>
53
+ &nbsp <B>  <A NAME="tex2html427"
53 54
   HREF="node1.html">Contents</A></B> 
54 55
 <BR>
55 56
 <BR>
56 57
 <!--End of Navigation Panel-->
57 58
 
58
-<H2><A NAME="SECTION00045000000000000000">
59
-Signature Tool</A>
60
-</H2>
61
-    <I>sigtool</I> automates signature creation. If you have an infected file,
62
-    which isn't detected by ClamAV, but it is by another anti-virus scanner
63
-    working in the console, you can create the signature easily.
64
-    <I>Example of usage:</I>
65
-    Create a random file and put the <B>test1</B> file content into it. We
66
-    will use <I>clamscan</I> to generate the signature, it's just an example.
67
-    Scan it with <I>clamscan -stdout testfile</I>, the output is
68
-    <PRE>
69
-	testfile: ClamAV-Test-Signature FOUND
70
-
71
-	----------- SCAN SUMMARY -----------
72
-	Known viruses: 7734
73
-	Scanned directories: 0
74
-	Scanned files: 1
75
-	Data scanned: 0.95 Mb
76
-	Infected files: 1
77
-	I/O buffer size: 131072 bytes
78
-	Time: 0.245 sec (0 m 0 s)
79
-</PRE>
80
-    The unique string in this output is "ClamAV-Test-Signature". Run
81
-    <I>sigtool</I> with the following parameters:
82
-    <PRE>
83
-	$ sigtool -c "clamscan --stdout" -f testfile -s "ClamAV-Test"
84
-</PRE>
85
-    The program will concatenate arguments for <I>-c (-command)</I> and
86
-    <I>-f (-file)</I>, that's why the scanner's options must be given in the
87
-    proper order. At the end it will generate a file <I>testfile.sig</I>,
88
-    which should contain 100 bytes in our example. It contains the proper
89
-    signature.
90
-    <PRE>
91
-	...
92
-	...
93
-	Detected at 12103, moving backward.
94
-	Detected at 11983, moving backward.
95
-	Detected at 11923, moving backward.
96
-	Not detected, increasing pos 11893 -&gt; 11923
97
-	Detected at 11923, moving backward.
98
-	Not detected, increasing pos 11908 -&gt; 11923
99
-	Detected at 11923, moving backward.
100
-	Not detected, increasing pos 11915 -&gt; 11923
101
-	Detected at 11923, moving backward.
102
-	Detected at 11919, moving backward.
103
-	Detected at 11917, moving backward.
104
-	Detected at 11916, moving backward.
105
-	Starting precise loop
106
-	 *** Found signature end at 11916
107
-
108
-	The scanner was executed 46 times.
109
-	Signature length is 50, so length of hex string should be 100
110
-	Saving signature in testfile.sig file.
111
-</PRE>
59
+<H1><A NAME="SECTION00050000000000000000">
60
+Problem solving</A>
61
+</H1>
112 62
 
113 63
 <P>
114 64
 <BR><HR>
65
+<!--Table of Child-Links-->
66
+<A NAME="CHILD_LINKS"><STRONG>Subsections</STRONG></A>
67
+
68
+<UL>
69
+<LI><A NAME="tex2html430"
70
+  HREF="node22.html">Return codes</A>
71
+</UL>
72
+<!--End of Table of Child-Links-->
73
+<BR><HR>
115 74
 <ADDRESS>
116 75
 Tomasz Kojm
117
-2003-06-21
76
+2003-11-11
118 77
 </ADDRESS>
119 78
 </BODY>
120 79
 </HTML>
... ...
@@ -7,8 +7,8 @@ original version by:  Nikos Drakos, CBLU, University of Leeds
7 7
   Jens Lippmann, Marek Rouchal, Martin Wilck and others -->
8 8
 <HTML>
9 9
 <HEAD>
10
-<TITLE>Compatible software</TITLE>
11
-<META NAME="description" CONTENT="Compatible software">
10
+<TITLE>Return codes</TITLE>
11
+<META NAME="description" CONTENT="Return codes">
12 12
 <META NAME="keywords" CONTENT="clamdoc">
13 13
 <META NAME="resource-type" CONTENT="document">
14 14
 <META NAME="distribution" CONTENT="global">
... ...
@@ -19,86 +19,121 @@ original version by:  Nikos Drakos, CBLU, University of Leeds
19 19
 
20 20
 <LINK REL="STYLESHEET" HREF="clamdoc.css">
21 21
 
22
-<LINK REL="next" HREF="node35.html">
23
-<LINK REL="previous" HREF="node16.html">
24
-<LINK REL="up" HREF="clamdoc.html">
22
+<LINK REL="previous" HREF="node21.html">
23
+<LINK REL="up" HREF="node21.html">
25 24
 <LINK REL="next" HREF="node23.html">
26 25
 </HEAD>
27 26
 
28 27
 <BODY >
29 28
 <!--Navigation Panel-->
30
-<A NAME="tex2html398"
29
+<A NAME="tex2html439"
31 30
   HREF="node23.html">
32 31
 <IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next"
33 32
  SRC="/usr/share/latex2html/icons/next.png"></A> 
34
-<A NAME="tex2html394"
35
-  HREF="clamdoc.html">
33
+<A NAME="tex2html435"
34
+  HREF="node21.html">
36 35
 <IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up"
37 36
  SRC="/usr/share/latex2html/icons/up.png"></A> 
38
-<A NAME="tex2html388"
37
+<A NAME="tex2html431"
39 38
   HREF="node21.html">
40 39
 <IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous"
41 40
  SRC="/usr/share/latex2html/icons/prev.png"></A> 
42
-<A NAME="tex2html396"
41
+<A NAME="tex2html437"
43 42
   HREF="node1.html">
44 43
 <IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents"
45 44
  SRC="/usr/share/latex2html/icons/contents.png"></A>  
46 45
 <BR>
47
-<B> Next:</B> <A NAME="tex2html399"
48
-  HREF="node23.html">clamav-milter</A>
49
-<B> Up:</B> <A NAME="tex2html395"
50
-  HREF="clamdoc.html">clamdoc</A>
51
-<B> Previous:</B> <A NAME="tex2html389"
52
-  HREF="node21.html">Signature Tool</A>
53
- &nbsp <B>  <A NAME="tex2html397"
46
+<B> Next:</B> <A NAME="tex2html440"
47
+  HREF="node23.html">Compatible software</A>
48
+<B> Up:</B> <A NAME="tex2html436"
49
+  HREF="node21.html">Problem solving</A>
50
+<B> Previous:</B> <A NAME="tex2html432"
51
+  HREF="node21.html">Problem solving</A>
52
+ &nbsp <B>  <A NAME="tex2html438"
54 53
   HREF="node1.html">Contents</A></B> 
55 54
 <BR>
56 55
 <BR>
57 56
 <!--End of Navigation Panel-->
58 57
 
59
-<H1><A NAME="SECTION00050000000000000000">
60
-Compatible software</A>
61
-</H1>
62
-    The following software supports ClamAV. It's specified which elements
63
-    are supported, please note that if the program doesn't
64
-    support clamd you can use clamdscan instead of clamscan.
65
-
58
+<H2><A NAME="SECTION00051000000000000000">
59
+Return codes</A>
60
+</H2>
61
+    Return codes are very useful, especially in system scripts. You may
62
+    check the return code from <I>clamscan</I>, by running the following
63
+    command:
64
+    <PRE>
65
+	$ clamscan; echo Return code: $?
66
+</PRE>
67
+    Here is a list of return codes for <I>clamscan</I>:
68
+<BR>
66 69
 <P>
67
-<BR><HR>
68
-<!--Table of Child-Links-->
69
-<A NAME="CHILD_LINKS"><STRONG>Subsections</STRONG></A>
70 70
 
71
-<UL>
72
-<LI><A NAME="tex2html400"
73
-  HREF="node23.html">clamav-milter</A>
74
-<LI><A NAME="tex2html401"
75
-  HREF="node24.html">mod_clamav</A>
76
-<LI><A NAME="tex2html402"
77
-  HREF="node25.html">TrashScan</A>
78
-<LI><A NAME="tex2html403"
79
-  HREF="node26.html">AMaViS - "Next Generation"</A>
80
-<LI><A NAME="tex2html404"
81
-  HREF="node27.html">amavisd-new</A>
82
-<LI><A NAME="tex2html405"
83
-  HREF="node28.html">Qmail-Scanner</A>
84
-<LI><A NAME="tex2html406"
85
-  HREF="node29.html">Sagator</A>
86
-<LI><A NAME="tex2html407"
87
-  HREF="node30.html">ClamdMail</A>
88
-<LI><A NAME="tex2html408"
89
-  HREF="node31.html">BlackHole</A>
90
-<LI><A NAME="tex2html409"
91
-  HREF="node32.html">MailScanner</A>
92
-<LI><A NAME="tex2html410"
93
-  HREF="node33.html">MIMEDefang</A>
94
-<LI><A NAME="tex2html411"
95
-  HREF="node34.html">Exiscan</A>
96
-</UL>
97
-<!--End of Table of Child-Links-->
98
-<BR><HR>
71
+    <B>0: </B> No virus was found.
72
+<BR>    <B>1: </B> Virus(es) detected.
73
+<BR>    <B>40: </B> Unknown option passed to <I>clamscan</I>. Please check
74
+	    <I>clamscan -help</I> or manual page for available options.
75
+<BR>    <B>50: </B> Virus database initialization error. Probably it doesn't exist
76
+	    at the default location or it's malformed (e.g. broken digital
77
+	    signature)
78
+<BR>    <B>52: </B> Not supported file type - clamscan only supports regular files,
79
+	    directories and symlinks.
80
+<BR>    <B>53: </B> Can't open directory.
81
+<BR>    <B>54: </B> Can't open file.<IMG
82
+ WIDTH="13" HEIGHT="21" ALIGN="BOTTOM" BORDER="0"
83
+ SRC="img4.png"
84
+ ALT="$^6$">
85
+<BR>    <B>55: </B> I/O error during read.
86
+	    <A NAME="tex2html26"
87
+  HREF="footnode.html#foot779"><SUP>6</SUP></A>
88
+<BR>    <B>56: </B> Can't stat input file or directory. File (or directory) you want to
89
+	    scan doesn't exist.
90
+<BR>    <B>57: </B> Can't get absolute pathname of current working directory. Your
91
+	    current pathname is longer then 200 characters. This is bad and
92
+	    you may need to recompile ClamAV to fix it.
93
+<BR>    <B>58: </B> I/O error. Please check the filesystem.
94
+<BR>    <B>59: </B> Can't get information about current user (running clamscan).
95
+<BR>    <B>60: </B> Can't get information about user <I>clamav</I>. User <I>clamav</I>
96
+	    (default unprivileged user) doesn't exist in /etc/passwd.
97
+<BR>    <B>61: </B> Can't fork. Can't create new process, please check your system limits.
98
+<BR>    <B>63: </B> Can't create temporary file or directory. Please check /tmp
99
+	    permissions or use -tempdir
100
+<BR>    <B>64: </B> Can't write to temporary directory. Please specify another one.
101
+<BR>    <B>70: </B> Can't allocate and clear memory. This is a critical error, please
102
+	    check your system.
103
+<BR>    <B>71: </B> Can't allocate memory. Look above.
104
+<BR>
105
+<P>
106
+<HR>
107
+<!--Navigation Panel-->
108
+<A NAME="tex2html439"
109
+  HREF="node23.html">
110
+<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next"
111
+ SRC="/usr/share/latex2html/icons/next.png"></A> 
112
+<A NAME="tex2html435"
113
+  HREF="node21.html">
114
+<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up"
115
+ SRC="/usr/share/latex2html/icons/up.png"></A> 
116
+<A NAME="tex2html431"
117
+  HREF="node21.html">
118
+<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous"
119
+ SRC="/usr/share/latex2html/icons/prev.png"></A> 
120
+<A NAME="tex2html437"
121
+  HREF="node1.html">
122
+<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents"
123
+ SRC="/usr/share/latex2html/icons/contents.png"></A>  
124
+<BR>
125
+<B> Next:</B> <A NAME="tex2html440"
126
+  HREF="node23.html">Compatible software</A>
127
+<B> Up:</B> <A NAME="tex2html436"
128
+  HREF="node21.html">Problem solving</A>
129
+<B> Previous:</B> <A NAME="tex2html432"
130
+  HREF="node21.html">Problem solving</A>
131
+ &nbsp <B>  <A NAME="tex2html438"
132
+  HREF="node1.html">Contents</A></B> 
133
+<!--End of Navigation Panel-->
99 134
 <ADDRESS>
100 135
 Tomasz Kojm
101
-2003-06-21
136
+2003-11-11
102 137
 </ADDRESS>
103 138
 </BODY>
104 139
 </HTML>
... ...
@@ -7,8 +7,8 @@ original version by:  Nikos Drakos, CBLU, University of Leeds
7 7
   Jens Lippmann, Marek Rouchal, Martin Wilck and others -->
8 8
 <HTML>
9 9
 <HEAD>
10
-<TITLE>clamav-milter</TITLE>
11
-<META NAME="description" CONTENT="clamav-milter">
10
+<TITLE>Compatible software</TITLE>
11
+<META NAME="description" CONTENT="Compatible software">
12 12
 <META NAME="keywords" CONTENT="clamdoc">
13 13
 <META NAME="resource-type" CONTENT="document">
14 14
 <META NAME="distribution" CONTENT="global">
... ...
@@ -19,83 +19,101 @@ original version by:  Nikos Drakos, CBLU, University of Leeds
19 19
 
20 20
 <LINK REL="STYLESHEET" HREF="clamdoc.css">
21 21
 
22
-<LINK REL="next" HREF="node24.html">
23
-<LINK REL="previous" HREF="node22.html">
24
-<LINK REL="up" HREF="node22.html">
22
+<LINK REL="next" HREF="node44.html">
23
+<LINK REL="previous" HREF="node21.html">
24
+<LINK REL="up" HREF="clamdoc.html">
25 25
 <LINK REL="next" HREF="node24.html">
26 26
 </HEAD>
27 27
 
28 28
 <BODY >
29 29
 <!--Navigation Panel-->
30
-<A NAME="tex2html422"
30
+<A NAME="tex2html451"
31 31
   HREF="node24.html">
32 32
 <IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next"
33 33
  SRC="/usr/share/latex2html/icons/next.png"></A> 
34
-<A NAME="tex2html418"
35
-  HREF="node22.html">
34
+<A NAME="tex2html447"
35
+  HREF="clamdoc.html">
36 36
 <IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up"
37 37
  SRC="/usr/share/latex2html/icons/up.png"></A> 
38
-<A NAME="tex2html412"
38
+<A NAME="tex2html441"
39 39
   HREF="node22.html">
40 40
 <IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous"
41 41
  SRC="/usr/share/latex2html/icons/prev.png"></A> 
42
-<A NAME="tex2html420"
42
+<A NAME="tex2html449"
43 43
   HREF="node1.html">
44 44
 <IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents"
45 45
  SRC="/usr/share/latex2html/icons/contents.png"></A>  
46 46
 <BR>
47
-<B> Next:</B> <A NAME="tex2html423"
48
-  HREF="node24.html">mod_clamav</A>
49
-<B> Up:</B> <A NAME="tex2html419"
50
-  HREF="node22.html">Compatible software</A>
51
-<B> Previous:</B> <A NAME="tex2html413"
52
-  HREF="node22.html">Compatible software</A>
53
- &nbsp <B>  <A NAME="tex2html421"
47
+<B> Next:</B> <A NAME="tex2html452"
48
+  HREF="node24.html">clamav-milter</A>
49
+<B> Up:</B> <A NAME="tex2html448"
50
+  HREF="clamdoc.html">clamdoc</A>
51
+<B> Previous:</B> <A NAME="tex2html442"
52
+  HREF="node22.html">Return codes</A>
53
+ &nbsp <B>  <A NAME="tex2html450"
54 54
   HREF="node1.html">Contents</A></B> 
55 55
 <BR>
56 56
 <BR>
57 57
 <!--End of Navigation Panel-->
58 58
 
59
-<H2><A NAME="SECTION00051000000000000000">
60
-clamav-milter</A>
61
-</H2>
62
-    <B>Location:</B> included in clamav package
63
-<BR>    <B>Supports:</B> clamd
64
-<BR>
65
-clamav-milter by Nigel Horne is a very fast email scanner designed for
66
-    sendmail. It's entirely written in C and uses ClamAV's internal mail
67
-    scanner (also written by Nigel).
68
-<BR>    <B>Installation:</B>
69
-<BR>
70
-You need libmilter development files. Configure ClamAV with
71
-    <PRE>
72
-    $ ./configure --enable-milter
73
-</PRE>
74
-    and recompile. The program will be installed in
75
-    /usr/local/sbin/clamav-milter. The following instructions were adopted
76
-    from Nigel's INSTALL file: add to /etc/mail/sendmail.mc:
77
-    <PRE>
78
-INPUT_MAIL_FILTER(`clmilter',`S=local:/var/run/clmilter.sock,
79
-F=, T=S:4m;R:4m')dnl
80
-define(`confINPUT_MAIL_FILTERS', `clmilter')
81
-</PRE>
82
-    Check entries in clamav.conf of the form:
83
-    <PRE>
84
-	LocalSocket /var/run/clamd.sock
85
-	ScanMail
86
-	SaveStreamToDisk
87
-</PRE>
88
-    Start clamav-milter:
89
-    <PRE>
90
-	/usr/local/sbin/clamav-milter -blo /var/run/clmilter.sock
91
-</PRE>
92
-    and restart sendmail.
59
+<H1><A NAME="SECTION00060000000000000000">
60
+Compatible software</A>
61
+</H1>
62
+    There are many projects that support ClamAV. Here is a list of software
63
+    that was tested and is known to work well.
93 64
 
94 65
 <P>
95 66
 <BR><HR>
67
+<!--Table of Child-Links-->
68
+<A NAME="CHILD_LINKS"><STRONG>Subsections</STRONG></A>
69
+
70
+<UL>
71
+<LI><A NAME="tex2html453"
72
+  HREF="node24.html">clamav-milter</A>
73
+<LI><A NAME="tex2html454"
74
+  HREF="node25.html">IVS Milter</A>
75
+<LI><A NAME="tex2html455"
76
+  HREF="node26.html">smtp-vilter</A>
77
+<LI><A NAME="tex2html456"
78
+  HREF="node27.html">mod_clamav</A>
79
+<LI><A NAME="tex2html457"
80
+  HREF="node28.html">TrashScan</A>
81
+<LI><A NAME="tex2html458"
82
+  HREF="node29.html">AMaViS - "Next Generation"</A>
83
+<LI><A NAME="tex2html459"
84
+  HREF="node30.html">amavisd-new</A>
85
+<LI><A NAME="tex2html460"
86
+  HREF="node31.html">Qmail-Scanner</A>
87
+<LI><A NAME="tex2html461"
88
+  HREF="node32.html">Sagator</A>
89
+<LI><A NAME="tex2html462"
90
+  HREF="node33.html">ClamdMail</A>
91
+<LI><A NAME="tex2html463"
92
+  HREF="node34.html">BlackHole</A>
93
+<LI><A NAME="tex2html464"
94
+  HREF="node35.html">MailScanner</A>
95
+<LI><A NAME="tex2html465"
96
+  HREF="node36.html">MIMEDefang</A>
97
+<LI><A NAME="tex2html466"
98
+  HREF="node37.html">exiscan</A>
99
+<LI><A NAME="tex2html467"
100
+  HREF="node38.html">scanexi</A>
101
+<LI><A NAME="tex2html468"
102
+  HREF="node39.html">Mail::ClamAV</A>
103
+<LI><A NAME="tex2html469"
104
+  HREF="node40.html">OpenAntiVirus samba-vscan</A>
105
+<LI><A NAME="tex2html470"
106
+  HREF="node41.html">Sylpheed Claws</A>
107
+<LI><A NAME="tex2html471"
108
+  HREF="node42.html">nclamd</A>
109
+<LI><A NAME="tex2html472"
110
+  HREF="node43.html">cgpav</A>
111
+</UL>
112
+<!--End of Table of Child-Links-->
113
+<BR><HR>
96 114
 <ADDRESS>
97 115
 Tomasz Kojm
98
-2003-06-21
116
+2003-11-11
99 117
 </ADDRESS>
100 118
 </BODY>
101 119
 </HTML>
... ...
@@ -7,8 +7,8 @@ original version by:  Nikos Drakos, CBLU, University of Leeds
7 7
   Jens Lippmann, Marek Rouchal, Martin Wilck and others -->
8 8
 <HTML>
9 9
 <HEAD>
10
-<TITLE>mod_clamav</TITLE>
11
-<META NAME="description" CONTENT="mod_clamav">
10
+<TITLE>clamav-milter</TITLE>
11
+<META NAME="description" CONTENT="clamav-milter">
12 12
 <META NAME="keywords" CONTENT="clamdoc">
13 13
 <META NAME="resource-type" CONTENT="document">
14 14
 <META NAME="distribution" CONTENT="global">
... ...
@@ -21,57 +21,81 @@ original version by:  Nikos Drakos, CBLU, University of Leeds
21 21
 
22 22
 <LINK REL="next" HREF="node25.html">
23 23
 <LINK REL="previous" HREF="node23.html">
24
-<LINK REL="up" HREF="node22.html">
24
+<LINK REL="up" HREF="node23.html">
25 25
 <LINK REL="next" HREF="node25.html">
26 26
 </HEAD>
27 27
 
28 28
 <BODY >
29 29
 <!--Navigation Panel-->
30
-<A NAME="tex2html434"
30
+<A NAME="tex2html483"
31 31
   HREF="node25.html">
32 32
 <IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next"
33 33
  SRC="/usr/share/latex2html/icons/next.png"></A> 
34
-<A NAME="tex2html430"
35
-  HREF="node22.html">
34
+<A NAME="tex2html479"
35
+  HREF="node23.html">
36 36
 <IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up"
37 37
  SRC="/usr/share/latex2html/icons/up.png"></A> 
38
-<A NAME="tex2html424"
38
+<A NAME="tex2html473"
39 39
   HREF="node23.html">
40 40
 <IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous"
41 41
  SRC="/usr/share/latex2html/icons/prev.png"></A> 
42
-<A NAME="tex2html432"
42
+<A NAME="tex2html481"
43 43
   HREF="node1.html">
44 44
 <IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents"
45 45
  SRC="/usr/share/latex2html/icons/contents.png"></A>  
46 46
 <BR>
47
-<B> Next:</B> <A NAME="tex2html435"
48
-  HREF="node25.html">TrashScan</A>
49
-<B> Up:</B> <A NAME="tex2html431"
50
-  HREF="node22.html">Compatible software</A>
51
-<B> Previous:</B> <A NAME="tex2html425"
52
-  HREF="node23.html">clamav-milter</A>
53
- &nbsp <B>  <A NAME="tex2html433"
47
+<B> Next:</B> <A NAME="tex2html484"
48
+  HREF="node25.html">IVS Milter</A>
49
+<B> Up:</B> <A NAME="tex2html480"
50
+  HREF="node23.html">Compatible software</A>
51
+<B> Previous:</B> <A NAME="tex2html474"
52
+  HREF="node23.html">Compatible software</A>
53
+ &nbsp <B>  <A NAME="tex2html482"
54 54
   HREF="node1.html">Contents</A></B> 
55 55
 <BR>
56 56
 <BR>
57 57
 <!--End of Navigation Panel-->
58 58
 
59
-<H2><A NAME="SECTION00052000000000000000">
60
-mod_clamav</A>
59
+<H2><A NAME="SECTION00061000000000000000">
60
+clamav-milter</A>
61 61
 </H2>
62
-    <B>Location:</B> <TT><A NAME="tex2html18"
63
-  HREF="http://software.othello.ch/mod_clamav">http://software.othello.ch/mod_clamav</A></TT>
64
-<BR>    <B>Supports:</B> libclamav, clamd
62
+    <B>Homepage:</B> included in clamav package
63
+<BR>    <B>Supports:</B> clamd
64
+<BR>
65
+Nigel Horne's clamav-milter is a very fast email scanner designed for
66
+    sendmail. It's written entirely in C and uses ClamAV's internal mail
67
+    scanner (also written by Nigel).
68
+<BR>    <B>Installation:</B>
65 69
 <BR>
66
-mod_clamav is an Apache virus scanning filter. It was written
67

                
68
-    documented and the installation is quite easy.
70
+You need libmilter development files. Configure ClamAV with
71
+    <PRE>
72
+    $ ./configure --enable-milter
73
+</PRE>
74
+    and recompile. The program will be installed in
75
+    /usr/local/sbin/clamav-milter. The following instructions were adopted
76
+    from Nigel's INSTALL file: add to /etc/mail/sendmail.mc:
77
+    <PRE>
78
+INPUT_MAIL_FILTER(`clmilter',`S=local:/var/run/clmilter.sock,
79
+F=, T=S:4m;R:4m')dnl
80
+define(`confINPUT_MAIL_FILTERS', `clmilter')
81
+</PRE>
82
+    Check entries in clamav.conf of the form:
83
+    <PRE>
84
+	LocalSocket /var/run/clamd.sock
85
+	ScanMail
86
+	StreamSaveToDisk
87
+</PRE>
88
+    Start clamav-milter:
89
+    <PRE>
90
+	/usr/local/sbin/clamav-milter -blo /var/run/clmilter.sock
91
+</PRE>
92
+    and restart sendmail.
69 93
 
70 94
 <P>
71 95
 <BR><HR>
72 96
 <ADDRESS>
73 97
 Tomasz Kojm
74
-2003-06-21
98
+2003-11-11
75 99
 </ADDRESS>
76 100
 </BODY>
77 101
 </HTML>
... ...
@@ -7,8 +7,8 @@ original version by:  Nikos Drakos, CBLU, University of Leeds
7 7
   Jens Lippmann, Marek Rouchal, Martin Wilck and others -->
8 8
 <HTML>
9 9
 <HEAD>
10
-<TITLE>TrashScan</TITLE>
11
-<META NAME="description" CONTENT="TrashScan">
10
+<TITLE>IVS Milter</TITLE>
11
+<META NAME="description" CONTENT="IVS Milter">
12 12
 <META NAME="keywords" CONTENT="clamdoc">
13 13
 <META NAME="resource-type" CONTENT="document">
14 14
 <META NAME="distribution" CONTENT="global">
... ...
@@ -21,57 +21,57 @@ original version by:  Nikos Drakos, CBLU, University of Leeds
21 21
 
22 22
 <LINK REL="next" HREF="node26.html">
23 23
 <LINK REL="previous" HREF="node24.html">
24
-<LINK REL="up" HREF="node22.html">
24
+<LINK REL="up" HREF="node23.html">
25 25
 <LINK REL="next" HREF="node26.html">
26 26
 </HEAD>
27 27
 
28 28
 <BODY >
29 29
 <!--Navigation Panel-->
30
-<A NAME="tex2html446"
30
+<A NAME="tex2html495"
31 31
   HREF="node26.html">
32 32
 <IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next"
33 33
  SRC="/usr/share/latex2html/icons/next.png"></A> 
34
-<A NAME="tex2html442"
35
-  HREF="node22.html">
34
+<A NAME="tex2html491"
35
+  HREF="node23.html">
36 36
 <IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up"
37 37
  SRC="/usr/share/latex2html/icons/up.png"></A> 
38
-<A NAME="tex2html436"
38
+<A NAME="tex2html485"
39 39
   HREF="node24.html">
40 40
 <IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous"
41 41
  SRC="/usr/share/latex2html/icons/prev.png"></A> 
42
-<A NAME="tex2html444"
42
+<A NAME="tex2html493"
43 43
   HREF="node1.html">
44 44
 <IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents"
45 45
  SRC="/usr/share/latex2html/icons/contents.png"></A>  
46 46
 <BR>
47
-<B> Next:</B> <A NAME="tex2html447"
48
-  HREF="node26.html">AMaViS - "Next Generation"</A>
49
-<B> Up:</B> <A NAME="tex2html443"
50
-  HREF="node22.html">Compatible software</A>
51
-<B> Previous:</B> <A NAME="tex2html437"
52
-  HREF="node24.html">mod_clamav</A>
53
- &nbsp <B>  <A NAME="tex2html445"
47
+<B> Next:</B> <A NAME="tex2html496"
48
+  HREF="node26.html">smtp-vilter</A>
49
+<B> Up:</B> <A NAME="tex2html492"
50
+  HREF="node23.html">Compatible software</A>
51
+<B> Previous:</B> <A NAME="tex2html486"
52
+  HREF="node24.html">clamav-milter</A>
53
+ &nbsp <B>  <A NAME="tex2html494"
54 54
   HREF="node1.html">Contents</A></B> 
55 55
 <BR>
56 56
 <BR>
57 57
 <!--End of Navigation Panel-->
58 58
 
59
-<H2><A NAME="SECTION00053000000000000000">
60
-TrashScan</A>
59
+<H2><A NAME="SECTION00062000000000000000">
60
+IVS Milter</A>
61 61
 </H2>
62
-    <B>Location:</B> clamav-sources/support/trashscan
63
-<BR>    <B>Supports:</B> clamscan
62
+    <B>Homepage:</B> <TT><A NAME="tex2html27"
63
+  HREF="http://ivs-milter.lbsd.net">http://ivs-milter.lbsd.net</A></TT>
64
+<BR>    <B>Supports:</B> clamd
64 65
 <BR>
65
-<P>
66
-This is a procmail based scanner from Trashware and it's extremely
67
-    easy to setup, however this is for single users only and not as
68
-    efficient as MTA based scanners.
66
+IVS Milter is a virus and spam scanning milter. The name stands for
67
+    Industrial Virus + Spam milter. It's designed to be used by anything
68
+    from home users to large ISP's.
69 69
 
70 70
 <P>
71 71
 <BR><HR>
72 72
 <ADDRESS>
73 73
 Tomasz Kojm
74
-2003-06-21
74
+2003-11-11
75 75
 </ADDRESS>
76 76
 </BODY>
77 77
 </HTML>
... ...
@@ -7,8 +7,8 @@ original version by:  Nikos Drakos, CBLU, University of Leeds
7 7
   Jens Lippmann, Marek Rouchal, Martin Wilck and others -->
8 8
 <HTML>
9 9
 <HEAD>
10
-<TITLE>AMaViS - "Next Generation"</TITLE>
11
-<META NAME="description" CONTENT="AMaViS - "Next Generation"">
10
+<TITLE>smtp-vilter</TITLE>
11
+<META NAME="description" CONTENT="smtp-vilter">
12 12
 <META NAME="keywords" CONTENT="clamdoc">
13 13
 <META NAME="resource-type" CONTENT="document">
14 14
 <META NAME="distribution" CONTENT="global">
... ...
@@ -21,71 +21,58 @@ original version by:  Nikos Drakos, CBLU, University of Leeds
21 21
 
22 22
 <LINK REL="next" HREF="node27.html">
23 23
 <LINK REL="previous" HREF="node25.html">
24
-<LINK REL="up" HREF="node22.html">
24
+<LINK REL="up" HREF="node23.html">
25 25
 <LINK REL="next" HREF="node27.html">
26 26
 </HEAD>
27 27
 
28 28
 <BODY >
29 29
 <!--Navigation Panel-->
30
-<A NAME="tex2html458"
30
+<A NAME="tex2html507"
31 31
   HREF="node27.html">
32 32
 <IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next"
33 33
  SRC="/usr/share/latex2html/icons/next.png"></A> 
34
-<A NAME="tex2html454"
35
-  HREF="node22.html">
34
+<A NAME="tex2html503"
35
+  HREF="node23.html">
36 36
 <IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up"
37 37
  SRC="/usr/share/latex2html/icons/up.png"></A> 
38
-<A NAME="tex2html448"
38
+<A NAME="tex2html497"
39 39
   HREF="node25.html">
40 40
 <IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous"
41 41
  SRC="/usr/share/latex2html/icons/prev.png"></A> 
42
-<A NAME="tex2html456"
42
+<A NAME="tex2html505"
43 43
   HREF="node1.html">
44 44
 <IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents"
45 45
  SRC="/usr/share/latex2html/icons/contents.png"></A>  
46 46
 <BR>
47
-<B> Next:</B> <A NAME="tex2html459"
48
-  HREF="node27.html">amavisd-new</A>
49
-<B> Up:</B> <A NAME="tex2html455"
50
-  HREF="node22.html">Compatible software</A>
51
-<B> Previous:</B> <A NAME="tex2html449"
52
-  HREF="node25.html">TrashScan</A>
53
- &nbsp <B>  <A NAME="tex2html457"
47
+<B> Next:</B> <A NAME="tex2html508"
48
+  HREF="node27.html">mod_clamav</A>
49
+<B> Up:</B> <A NAME="tex2html504"
50
+  HREF="node23.html">Compatible software</A>
51
+<B> Previous:</B> <A NAME="tex2html498"
52
+  HREF="node25.html">IVS Milter</A>
53
+ &nbsp <B>  <A NAME="tex2html506"
54 54
   HREF="node1.html">Contents</A></B> 
55 55
 <BR>
56 56
 <BR>
57 57
 <!--End of Navigation Panel-->
58 58
 
59
-<H2><A NAME="SECTION00054000000000000000">
60
-AMaViS - "Next Generation"</A>
59
+<H2><A NAME="SECTION00063000000000000000">
60
+smtp-vilter</A>
61 61
 </H2>
62
-    <B>Location:</B> <TT><A NAME="tex2html19"
63
-  HREF="http://sourceforge.net/projects/amavis">http://sourceforge.net/projects/amavis</A></TT>
64
-<BR>    <B>Supports:</B> clamscan
62
+    <B>Homepage:</B> <TT><A NAME="tex2html28"
63
+  HREF="http://www.etc.msys.ch/software/smtp-vilter">http://www.etc.msys.ch/software/smtp-vilter</A></TT>
64
+<BR>    <B>Supports:</B> clamd
65 65
 <BR>
66
-AMaViS-ng is a rewritten, more modular version of amavis-perl/amavisd,
67
-    developed by Hilko Bengen. Home site:
68
-<BR>    <B>Installation:</B>
69
-<BR>
70
-<P>
71
-Please download the newest version (at least 0.1.4).
72
-    After installation (which is quite easy), please uncomment the following
73
-    line in amavis.conf:
74
-    <PRE>
75
-	virus-scanner = CLAM
76
-</PRE>
77
-    and eventually change the path to clamscan in the <I>[CLAM]</I> section:
78
-    <PRE>
79
-	[CLAM]
80
-
81
-	clamscan = /usr/local/bin/clamscan
82
-</PRE>
66
+smtp-vilter is a high performance content filter for sendmail
67
+    using the milter API.  The software scans e-mail messages for
68
+    viruses and drops or marks infected messages. ClamAV is the default
69
+    scanner backend.
83 70
 
84 71
 <P>
85 72
 <BR><HR>
86 73
 <ADDRESS>
87 74
 Tomasz Kojm
88
-2003-06-21
75
+2003-11-11
89 76
 </ADDRESS>
90 77
 </BODY>
91 78
 </HTML>
... ...
@@ -7,8 +7,8 @@ original version by:  Nikos Drakos, CBLU, University of Leeds
7 7
   Jens Lippmann, Marek Rouchal, Martin Wilck and others -->
8 8
 <HTML>
9 9
 <HEAD>
10
-<TITLE>amavisd-new</TITLE>
11
-<META NAME="description" CONTENT="amavisd-new">
10
+<TITLE>mod_clamav</TITLE>
11
+<META NAME="description" CONTENT="mod_clamav">
12 12
 <META NAME="keywords" CONTENT="clamdoc">
13 13
 <META NAME="resource-type" CONTENT="document">
14 14
 <META NAME="distribution" CONTENT="global">
... ...
@@ -21,61 +21,57 @@ original version by:  Nikos Drakos, CBLU, University of Leeds
21 21
 
22 22
 <LINK REL="next" HREF="node28.html">
23 23
 <LINK REL="previous" HREF="node26.html">
24
-<LINK REL="up" HREF="node22.html">
24
+<LINK REL="up" HREF="node23.html">
25 25
 <LINK REL="next" HREF="node28.html">
26 26
 </HEAD>
27 27
 
28 28
 <BODY >
29 29
 <!--Navigation Panel-->
30
-<A NAME="tex2html470"
30
+<A NAME="tex2html519"
31 31
   HREF="node28.html">
32 32
 <IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next"
33 33
  SRC="/usr/share/latex2html/icons/next.png"></A> 
34
-<A NAME="tex2html466"
35
-  HREF="node22.html">
34
+<A NAME="tex2html515"
35
+  HREF="node23.html">
36 36
 <IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up"
37 37
  SRC="/usr/share/latex2html/icons/up.png"></A> 
38
-<A NAME="tex2html460"
38
+<A NAME="tex2html509"
39 39
   HREF="node26.html">
40 40
 <IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous"
41 41
  SRC="/usr/share/latex2html/icons/prev.png"></A> 
42
-<A NAME="tex2html468"
42
+<A NAME="tex2html517"
43 43
   HREF="node1.html">
44 44
 <IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents"
45 45
  SRC="/usr/share/latex2html/icons/contents.png"></A>  
46 46
 <BR>
47
-<B> Next:</B> <A NAME="tex2html471"
48
-  HREF="node28.html">Qmail-Scanner</A>
49
-<B> Up:</B> <A NAME="tex2html467"
50
-  HREF="node22.html">Compatible software</A>
51
-<B> Previous:</B> <A NAME="tex2html461"
52
-  HREF="node26.html">AMaViS - "Next Generation"</A>
53
- &nbsp <B>  <A NAME="tex2html469"
47
+<B> Next:</B> <A NAME="tex2html520"
48
+  HREF="node28.html">TrashScan</A>
49
+<B> Up:</B> <A NAME="tex2html516"
50
+  HREF="node23.html">Compatible software</A>
51
+<B> Previous:</B> <A NAME="tex2html510"
52
+  HREF="node26.html">smtp-vilter</A>
53
+ &nbsp <B>  <A NAME="tex2html518"
54 54
   HREF="node1.html">Contents</A></B> 
55 55
 <BR>
56 56
 <BR>
57 57
 <!--End of Navigation Panel-->
58 58
 
59
-<H2><A NAME="SECTION00055000000000000000">
60
-amavisd-new</A>
59
+<H2><A NAME="SECTION00064000000000000000">
60
+mod_clamav</A>
61 61
 </H2>
62
-    <B>Location:</B> <TT><A NAME="tex2html20"
63
-  HREF="http://www.ijs.si/software/amavisd">http://www.ijs.si/software/amavisd</A></TT>
64
-<BR>    <B>Supports:</B> clamd, clamscan
62
+    <B>Homepage:</B> <TT><A NAME="tex2html29"
63
+  HREF="http://software.othello.ch/mod_clamav">http://software.othello.ch/mod_clamav</A></TT>
64
+<BR>    <B>Supports:</B> libclamav, clamd
65 65
 <BR>
66
-amavisd-new is a rewritten version of amavis maintained by
67
-    Mark Martinec.
68
-<BR>    <B>Installation:</B>
69
-<BR>
70
-clamscan is enabled automatically if clamscan binary is found
71
-    at amavisd-new starup time. clamd is activated by uncommenting
72
-    its entry in the @av_scanners list, file /etc/amavisd.conf.
66
+mod_clamav is an Apache virus scanning filter. It was written
67
+    and is currently maintained by Andreas Muller. The project is very well
68
+    documented and the installation is quite easy.
73 69
 
74 70
 <P>
75 71
 <BR><HR>
76 72
 <ADDRESS>
77 73
 Tomasz Kojm
78
-2003-06-21
74
+2003-11-11
79 75
 </ADDRESS>
80 76
 </BODY>
81 77
 </HTML>
... ...
@@ -7,8 +7,8 @@ original version by:  Nikos Drakos, CBLU, University of Leeds
7 7
   Jens Lippmann, Marek Rouchal, Martin Wilck and others -->
8 8
 <HTML>
9 9
 <HEAD>
10
-<TITLE>Qmail-Scanner</TITLE>
11
-<META NAME="description" CONTENT="Qmail-Scanner">
10
+<TITLE>TrashScan</TITLE>
11
+<META NAME="description" CONTENT="TrashScan">
12 12
 <META NAME="keywords" CONTENT="clamdoc">
13 13
 <META NAME="resource-type" CONTENT="document">
14 14
 <META NAME="distribution" CONTENT="global">
... ...
@@ -21,55 +21,56 @@ original version by:  Nikos Drakos, CBLU, University of Leeds
21 21
 
22 22
 <LINK REL="next" HREF="node29.html">
23 23
 <LINK REL="previous" HREF="node27.html">
24
-<LINK REL="up" HREF="node22.html">
24
+<LINK REL="up" HREF="node23.html">
25 25
 <LINK REL="next" HREF="node29.html">
26 26
 </HEAD>
27 27
 
28 28
 <BODY >
29 29
 <!--Navigation Panel-->
30
-<A NAME="tex2html482"
30
+<A NAME="tex2html531"
31 31
   HREF="node29.html">
32 32
 <IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next"
33 33
  SRC="/usr/share/latex2html/icons/next.png"></A> 
34
-<A NAME="tex2html478"
35
-  HREF="node22.html">
34
+<A NAME="tex2html527"
35
+  HREF="node23.html">
36 36
 <IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up"
37 37
  SRC="/usr/share/latex2html/icons/up.png"></A> 
38
-<A NAME="tex2html472"
38
+<A NAME="tex2html521"
39 39
   HREF="node27.html">
40 40
 <IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous"
41 41
  SRC="/usr/share/latex2html/icons/prev.png"></A> 
42
-<A NAME="tex2html480"
42
+<A NAME="tex2html529"
43 43
   HREF="node1.html">
44 44
 <IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents"
45 45
  SRC="/usr/share/latex2html/icons/contents.png"></A>  
46 46
 <BR>
47
-<B> Next:</B> <A NAME="tex2html483"
48
-  HREF="node29.html">Sagator</A>
49
-<B> Up:</B> <A NAME="tex2html479"
50
-  HREF="node22.html">Compatible software</A>
51
-<B> Previous:</B> <A NAME="tex2html473"
52
-  HREF="node27.html">amavisd-new</A>
53
- &nbsp <B>  <A NAME="tex2html481"
47
+<B> Next:</B> <A NAME="tex2html532"
48
+  HREF="node29.html">AMaViS - "Next Generation"</A>
49
+<B> Up:</B> <A NAME="tex2html528"
50
+  HREF="node23.html">Compatible software</A>
51
+<B> Previous:</B> <A NAME="tex2html522"
52
+  HREF="node27.html">mod_clamav</A>
53
+ &nbsp <B>  <A NAME="tex2html530"
54 54
   HREF="node1.html">Contents</A></B> 
55 55
 <BR>
56 56
 <BR>
57 57
 <!--End of Navigation Panel-->
58 58
 
59
-<H2><A NAME="SECTION00056000000000000000">
60
-Qmail-Scanner</A>
59
+<H2><A NAME="SECTION00065000000000000000">
60
+TrashScan</A>
61 61
 </H2>
62
-    <B>Location:</B> <TT><A NAME="tex2html21"
63
-  HREF="http://qmail-scanner.sf.net">http://qmail-scanner.sf.net</A></TT>
62
+    <B>Homepage:</B> clamav-sources/support/trashscan
64 63
 <BR>    <B>Supports:</B> clamscan
65 64
 <BR>
66
-You must increase softlimit value or wait for a daemon support.
65
+This is a procmail based scanner from Trashware and it's extremely
66
+    easy to setup, however this is for single users only and not as
67
+    efficient as MTA based scanners.
67 68
 
68 69
 <P>
69 70
 <BR><HR>
70 71
 <ADDRESS>
71 72
 Tomasz Kojm
72
-2003-06-21
73
+2003-11-11
73 74
 </ADDRESS>
74 75
 </BODY>
75 76
 </HTML>
... ...
@@ -7,8 +7,8 @@ original version by:  Nikos Drakos, CBLU, University of Leeds
7 7
   Jens Lippmann, Marek Rouchal, Martin Wilck and others -->
8 8
 <HTML>
9 9
 <HEAD>
10
-<TITLE>Sagator</TITLE>
11
-<META NAME="description" CONTENT="Sagator">
10
+<TITLE>AMaViS - "Next Generation"</TITLE>
11
+<META NAME="description" CONTENT="AMaViS - "Next Generation"">
12 12
 <META NAME="keywords" CONTENT="clamdoc">
13 13
 <META NAME="resource-type" CONTENT="document">
14 14
 <META NAME="distribution" CONTENT="global">
... ...
@@ -21,58 +21,71 @@ original version by:  Nikos Drakos, CBLU, University of Leeds
21 21
 
22 22
 <LINK REL="next" HREF="node30.html">
23 23
 <LINK REL="previous" HREF="node28.html">
24
-<LINK REL="up" HREF="node22.html">
24
+<LINK REL="up" HREF="node23.html">
25 25
 <LINK REL="next" HREF="node30.html">
26 26
 </HEAD>
27 27
 
28 28
 <BODY >
29 29
 <!--Navigation Panel-->
30
-<A NAME="tex2html494"
30
+<A NAME="tex2html543"
31 31
   HREF="node30.html">
32 32
 <IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next"
33 33
  SRC="/usr/share/latex2html/icons/next.png"></A> 
34
-<A NAME="tex2html490"
35
-  HREF="node22.html">
34
+<A NAME="tex2html539"
35
+  HREF="node23.html">
36 36
 <IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up"
37 37
  SRC="/usr/share/latex2html/icons/up.png"></A> 
38
-<A NAME="tex2html484"
38
+<A NAME="tex2html533"
39 39
   HREF="node28.html">
40 40
 <IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous"
41 41
  SRC="/usr/share/latex2html/icons/prev.png"></A> 
42
-<A NAME="tex2html492"
42
+<A NAME="tex2html541"
43 43
   HREF="node1.html">
44 44
 <IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents"
45 45
  SRC="/usr/share/latex2html/icons/contents.png"></A>  
46 46
 <BR>
47
-<B> Next:</B> <A NAME="tex2html495"
48
-  HREF="node30.html">ClamdMail</A>
49
-<B> Up:</B> <A NAME="tex2html491"
50
-  HREF="node22.html">Compatible software</A>
51
-<B> Previous:</B> <A NAME="tex2html485"
52
-  HREF="node28.html">Qmail-Scanner</A>
53
- &nbsp <B>  <A NAME="tex2html493"
47
+<B> Next:</B> <A NAME="tex2html544"
48
+  HREF="node30.html">amavisd-new</A>
49
+<B> Up:</B> <A NAME="tex2html540"
50
+  HREF="node23.html">Compatible software</A>
51
+<B> Previous:</B> <A NAME="tex2html534"
52
+  HREF="node28.html">TrashScan</A>
53
+ &nbsp <B>  <A NAME="tex2html542"
54 54
   HREF="node1.html">Contents</A></B> 
55 55
 <BR>
56 56
 <BR>
57 57
 <!--End of Navigation Panel-->
58 58
 
59
-<H2><A NAME="SECTION00057000000000000000">
60
-Sagator</A>
59
+<H2><A NAME="SECTION00066000000000000000">
60
+AMaViS - "Next Generation"</A>
61 61
 </H2>
62
-    <B>Location:</B> <TT><A NAME="tex2html22"
63
-  HREF="http://www.salstar.sk/sagator">http://www.salstar.sk/sagator</A></TT>
64
-<BR>    <B>Supports:</B> clamscan, clamd, libclamav
62
+    <B>Homepage:</B> <TT><A NAME="tex2html30"
63
+  HREF="http://sourceforge.net/projects/amavis">http://sourceforge.net/projects/amavis</A></TT>
64
+<BR>    <B>Supports:</B> clamscan
65 65
 <BR>
66
-This program is an email antivirus/antispam gateway. It is an interface
67
-    to the postfix (or any other smtpd), which runs antivirus
68
-    and/or spamchecker. Its modular architecture can use any
69
-    combination of antivirus/spamchecker according to configuration.
66
+AMaViS-ng is a rewritten, more modular version of amavis-perl/amavisd,
67
+    developed by Hilko Bengen. Home site:
68
+<BR>    <B>Installation:</B>
69
+<BR>
70
+<P>
71
+Please download the newest version (at least 0.1.4).
72
+    After installation (which is quite easy), please uncomment the following
73
+    line in amavis.conf:
74
+    <PRE>
75
+	virus-scanner = CLAM
76
+</PRE>
77
+    and eventually change the path to clamscan in the <I>[CLAM]</I> section:
78
+    <PRE>
79
+	[CLAM]
80
+
81
+	clamscan = /usr/local/bin/clamscan
82
+</PRE>
70 83
 
71 84
 <P>
72 85
 <BR><HR>
73 86
 <ADDRESS>
74 87
 Tomasz Kojm
75
-2003-06-21
88
+2003-11-11
76 89
 </ADDRESS>
77 90
 </BODY>
78 91
 </HTML>
... ...
@@ -27,30 +27,30 @@ original version by:  Nikos Drakos, CBLU, University of Leeds
27 27
 
28 28
 <BODY >
29 29
 <!--Navigation Panel-->
30
-<A NAME="tex2html162"
30
+<A NAME="tex2html205"
31 31
   HREF="node4.html">
32 32
 <IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next"
33 33
  SRC="/usr/share/latex2html/icons/next.png"></A> 
34
-<A NAME="tex2html158"
34
+<A NAME="tex2html201"
35 35
   HREF="node2.html">
36 36
 <IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up"
37 37
  SRC="/usr/share/latex2html/icons/up.png"></A> 
38
-<A NAME="tex2html152"
38
+<A NAME="tex2html195"
39 39
   HREF="node2.html">
40 40
 <IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous"
41 41
  SRC="/usr/share/latex2html/icons/prev.png"></A> 
42
-<A NAME="tex2html160"
42
+<A NAME="tex2html203"
43 43
   HREF="node1.html">
44 44
 <IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents"
45 45
  SRC="/usr/share/latex2html/icons/contents.png"></A>  
46 46
 <BR>
47
-<B> Next:</B> <A NAME="tex2html163"
47
+<B> Next:</B> <A NAME="tex2html206"
48 48
   HREF="node4.html">Mailing lists</A>
49
-<B> Up:</B> <A NAME="tex2html159"
49
+<B> Up:</B> <A NAME="tex2html202"
50 50
   HREF="node2.html">Introduction</A>
51
-<B> Previous:</B> <A NAME="tex2html153"
51
+<B> Previous:</B> <A NAME="tex2html196"
52 52
   HREF="node2.html">Introduction</A>
53
- &nbsp <B>  <A NAME="tex2html161"
53
+ &nbsp <B>  <A NAME="tex2html204"
54 54
   HREF="node1.html">Contents</A></B> 
55 55
 <BR>
56 56
 <BR>
... ...
@@ -63,25 +63,25 @@ Features</A>
63 63
 <P>
64 64
 
65 65
 <UL>
66
-<LI>GNU GPL v2 license
66
+<LI>Licensed under the GNU General Public License, Version 2
67 67
 </LI>
68 68
 <LI>POSIX compliant, portable
69 69
 </LI>
70
-<LI>Secure
70
+<LI>Very fast scanning
71 71
 </LI>
72
-<LI>Very fast
72
+<LI>On-access scanning (Linux only)
73 73
 </LI>
74
-<LI>Multi-threaded
74
+<LI>Detects over 10000 viruses, worms and trojans
75 75
 </LI>
76
-<LI>User friendly
76
+<LI>Supports archives and compressed files
77 77
 </LI>
78
-<LI>On-access scanning (Linux only)
78
+<LI>Built-in support for RAR (2.0), Zip, Gzip, Bzip2
79 79
 </LI>
80
-<LI>Detects over 7000 viruses, worms and trojans
80
+<LI>Built-in protection against archive bombs
81 81
 </LI>
82
-<LI>Supports compressed files and archives
82
+<LI>Built-in support for Mbox, Maildir and raw mail files
83 83
 </LI>
84
-<LI>Built-in support for RAR (2.0), Zip, Gzip, Bzip2
84
+<LI>Includes a database updater with support for digital signatures
85 85
     
86 86
 </LI>
87 87
 </UL>
... ...
@@ -90,7 +90,7 @@ Features</A>
90 90
 <BR><HR>
91 91
 <ADDRESS>
92 92
 Tomasz Kojm
93
-2003-06-21
93
+2003-11-11
94 94
 </ADDRESS>
95 95
 </BODY>
96 96
 </HTML>
... ...
@@ -7,8 +7,8 @@ original version by:  Nikos Drakos, CBLU, University of Leeds
7 7
   Jens Lippmann, Marek Rouchal, Martin Wilck and others -->
8 8
 <HTML>
9 9
 <HEAD>
10
-<TITLE>ClamdMail</TITLE>
11
-<META NAME="description" CONTENT="ClamdMail">
10
+<TITLE>amavisd-new</TITLE>
11
+<META NAME="description" CONTENT="amavisd-new">
12 12
 <META NAME="keywords" CONTENT="clamdoc">
13 13
 <META NAME="resource-type" CONTENT="document">
14 14
 <META NAME="distribution" CONTENT="global">
... ...
@@ -21,55 +21,61 @@ original version by:  Nikos Drakos, CBLU, University of Leeds
21 21
 
22 22
 <LINK REL="next" HREF="node31.html">
23 23
 <LINK REL="previous" HREF="node29.html">
24
-<LINK REL="up" HREF="node22.html">
24
+<LINK REL="up" HREF="node23.html">
25 25
 <LINK REL="next" HREF="node31.html">
26 26
 </HEAD>
27 27
 
28 28
 <BODY >
29 29
 <!--Navigation Panel-->
30
-<A NAME="tex2html506"
30
+<A NAME="tex2html555"
31 31
   HREF="node31.html">
32 32
 <IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next"
33 33
  SRC="/usr/share/latex2html/icons/next.png"></A> 
34
-<A NAME="tex2html502"
35
-  HREF="node22.html">
34
+<A NAME="tex2html551"
35
+  HREF="node23.html">
36 36
 <IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up"
37 37
  SRC="/usr/share/latex2html/icons/up.png"></A> 
38
-<A NAME="tex2html496"
38
+<A NAME="tex2html545"
39 39
   HREF="node29.html">
40 40
 <IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous"
41 41
  SRC="/usr/share/latex2html/icons/prev.png"></A> 
42
-<A NAME="tex2html504"
42
+<A NAME="tex2html553"
43 43
   HREF="node1.html">
44 44
 <IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents"
45 45
  SRC="/usr/share/latex2html/icons/contents.png"></A>  
46 46
 <BR>
47
-<B> Next:</B> <A NAME="tex2html507"
48
-  HREF="node31.html">BlackHole</A>
49
-<B> Up:</B> <A NAME="tex2html503"
50
-  HREF="node22.html">Compatible software</A>
51
-<B> Previous:</B> <A NAME="tex2html497"
52
-  HREF="node29.html">Sagator</A>
53
- &nbsp <B>  <A NAME="tex2html505"
47
+<B> Next:</B> <A NAME="tex2html556"
48
+  HREF="node31.html">Qmail-Scanner</A>
49
+<B> Up:</B> <A NAME="tex2html552"
50
+  HREF="node23.html">Compatible software</A>
51
+<B> Previous:</B> <A NAME="tex2html546"
52
+  HREF="node29.html">AMaViS - "Next Generation"</A>
53
+ &nbsp <B>  <A NAME="tex2html554"
54 54
   HREF="node1.html">Contents</A></B> 
55 55
 <BR>
56 56
 <BR>
57 57
 <!--End of Navigation Panel-->
58 58
 
59
-<H2><A NAME="SECTION00058000000000000000">
60
-ClamdMail</A>
59
+<H2><A NAME="SECTION00067000000000000000">
60
+amavisd-new</A>
61 61
 </H2>
62
-    <B>Location:</B> <TT><A NAME="tex2html23"
63
-  HREF="http://clamdmail.sf.net">http://clamdmail.sf.net</A></TT>
64
-<BR>    <B>Supports:</B> clamd
62
+    <B>Homepage:</B> <TT><A NAME="tex2html31"
63
+  HREF="http://www.ijs.si/software/amavisd">http://www.ijs.si/software/amavisd</A></TT>
64
+<BR>    <B>Supports:</B> clamd, clamscan
65 65
 <BR>
66
-A mail processing client for ClamAV. Small, fast and easy to install.
66
+amavisd-new is a rewritten version of amavis maintained by
67
+    Mark Martinec.
68
+<BR>    <B>Installation:</B>
69
+<BR>
70
+clamscan is enabled automatically if clamscan binary is found
71
+    at amavisd-new starup time. clamd is activated by uncommenting
72
+    its entry in the @av_scanners list, file /etc/amavisd.conf.
67 73
 
68 74
 <P>
69 75
 <BR><HR>
70 76
 <ADDRESS>
71 77
 Tomasz Kojm
72
-2003-06-21
78
+2003-11-11
73 79
 </ADDRESS>
74 80
 </BODY>
75 81
 </HTML>
... ...
@@ -7,8 +7,8 @@ original version by:  Nikos Drakos, CBLU, University of Leeds
7 7
   Jens Lippmann, Marek Rouchal, Martin Wilck and others -->
8 8
 <HTML>
9 9
 <HEAD>
10
-<TITLE>BlackHole</TITLE>
11
-<META NAME="description" CONTENT="BlackHole">
10
+<TITLE>Qmail-Scanner</TITLE>
11
+<META NAME="description" CONTENT="Qmail-Scanner">
12 12
 <META NAME="keywords" CONTENT="clamdoc">
13 13
 <META NAME="resource-type" CONTENT="document">
14 14
 <META NAME="distribution" CONTENT="global">
... ...
@@ -21,57 +21,55 @@ original version by:  Nikos Drakos, CBLU, University of Leeds
21 21
 
22 22
 <LINK REL="next" HREF="node32.html">
23 23
 <LINK REL="previous" HREF="node30.html">
24
-<LINK REL="up" HREF="node22.html">
24
+<LINK REL="up" HREF="node23.html">
25 25
 <LINK REL="next" HREF="node32.html">
26 26
 </HEAD>
27 27
 
28 28
 <BODY >
29 29
 <!--Navigation Panel-->
30
-<A NAME="tex2html518"
30
+<A NAME="tex2html567"
31 31
   HREF="node32.html">
32 32
 <IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next"
33 33
  SRC="/usr/share/latex2html/icons/next.png"></A> 
34
-<A NAME="tex2html514"
35
-  HREF="node22.html">
34
+<A NAME="tex2html563"
35
+  HREF="node23.html">
36 36
 <IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up"
37 37
  SRC="/usr/share/latex2html/icons/up.png"></A> 
38
-<A NAME="tex2html508"
38
+<A NAME="tex2html557"
39 39
   HREF="node30.html">
40 40
 <IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous"
41 41
  SRC="/usr/share/latex2html/icons/prev.png"></A> 
42
-<A NAME="tex2html516"
42
+<A NAME="tex2html565"
43 43
   HREF="node1.html">
44 44
 <IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents"
45 45
  SRC="/usr/share/latex2html/icons/contents.png"></A>  
46 46
 <BR>
47
-<B> Next:</B> <A NAME="tex2html519"
48
-  HREF="node32.html">MailScanner</A>
49
-<B> Up:</B> <A NAME="tex2html515"
50
-  HREF="node22.html">Compatible software</A>
51
-<B> Previous:</B> <A NAME="tex2html509"
52
-  HREF="node30.html">ClamdMail</A>
53
- &nbsp <B>  <A NAME="tex2html517"
47
+<B> Next:</B> <A NAME="tex2html568"
48
+  HREF="node32.html">Sagator</A>
49
+<B> Up:</B> <A NAME="tex2html564"
50
+  HREF="node23.html">Compatible software</A>
51
+<B> Previous:</B> <A NAME="tex2html558"
52
+  HREF="node30.html">amavisd-new</A>
53
+ &nbsp <B>  <A NAME="tex2html566"
54 54
   HREF="node1.html">Contents</A></B> 
55 55
 <BR>
56 56
 <BR>
57 57
 <!--End of Navigation Panel-->
58 58
 
59
-<H2><A NAME="SECTION00059000000000000000">
60
-BlackHole</A>
59
+<H2><A NAME="SECTION00068000000000000000">
60
+Qmail-Scanner</A>
61 61
 </H2>
62
-    <B>Location:</B> <TT><A NAME="tex2html24"
63
-  HREF="http://www.groovy.org/blackhole.shtml">http://www.groovy.org/blackhole.shtml</A></TT>
64
-<BR>    <B>Supports:</B> clamscan, clamd
62
+    <B>Homepage:</B> <TT><A NAME="tex2html32"
63
+  HREF="http://qmail-scanner.sf.net">http://qmail-scanner.sf.net</A></TT>
64
+<BR>    <B>Supports:</B> clamscan
65 65
 <BR>
66
-BlackHole is an advanced spam / virus filter for Qmail, Postfix, Sendmail,
67
-    Exim and Courier written by Chris Kennedy. This tool is for advanced
68
-    administrators (installation is hard).
66
+You must increase softlimit value or wait for a daemon support.
69 67
 
70 68
 <P>
71 69
 <BR><HR>
72 70
 <ADDRESS>
73 71
 Tomasz Kojm
74
-2003-06-21
72
+2003-11-11
75 73
 </ADDRESS>
76 74
 </BODY>
77 75
 </HTML>
... ...
@@ -7,8 +7,8 @@ original version by:  Nikos Drakos, CBLU, University of Leeds
7 7
   Jens Lippmann, Marek Rouchal, Martin Wilck and others -->
8 8
 <HTML>
9 9
 <HEAD>
10
-<TITLE>MailScanner</TITLE>
11
-<META NAME="description" CONTENT="MailScanner">
10
+<TITLE>Sagator</TITLE>
11
+<META NAME="description" CONTENT="Sagator">
12 12
 <META NAME="keywords" CONTENT="clamdoc">
13 13
 <META NAME="resource-type" CONTENT="document">
14 14
 <META NAME="distribution" CONTENT="global">
... ...
@@ -21,58 +21,58 @@ original version by:  Nikos Drakos, CBLU, University of Leeds
21 21
 
22 22
 <LINK REL="next" HREF="node33.html">
23 23
 <LINK REL="previous" HREF="node31.html">
24
-<LINK REL="up" HREF="node22.html">
24
+<LINK REL="up" HREF="node23.html">
25 25
 <LINK REL="next" HREF="node33.html">
26 26
 </HEAD>
27 27
 
28 28
 <BODY >
29 29
 <!--Navigation Panel-->
30
-<A NAME="tex2html530"
30
+<A NAME="tex2html579"
31 31
   HREF="node33.html">
32 32
 <IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next"
33 33
  SRC="/usr/share/latex2html/icons/next.png"></A> 
34
-<A NAME="tex2html526"
35
-  HREF="node22.html">
34
+<A NAME="tex2html575"
35
+  HREF="node23.html">
36 36
 <IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up"
37 37
  SRC="/usr/share/latex2html/icons/up.png"></A> 
38
-<A NAME="tex2html520"
38
+<A NAME="tex2html569"
39 39
   HREF="node31.html">
40 40
 <IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous"
41 41
  SRC="/usr/share/latex2html/icons/prev.png"></A> 
42
-<A NAME="tex2html528"
42
+<A NAME="tex2html577"
43 43
   HREF="node1.html">
44 44
 <IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents"
45 45
  SRC="/usr/share/latex2html/icons/contents.png"></A>  
46 46
 <BR>
47
-<B> Next:</B> <A NAME="tex2html531"
48
-  HREF="node33.html">MIMEDefang</A>
49
-<B> Up:</B> <A NAME="tex2html527"
50
-  HREF="node22.html">Compatible software</A>
51
-<B> Previous:</B> <A NAME="tex2html521"
52
-  HREF="node31.html">BlackHole</A>
53
- &nbsp <B>  <A NAME="tex2html529"
47
+<B> Next:</B> <A NAME="tex2html580"
48
+  HREF="node33.html">ClamdMail</A>
49
+<B> Up:</B> <A NAME="tex2html576"
50
+  HREF="node23.html">Compatible software</A>
51
+<B> Previous:</B> <A NAME="tex2html570"
52
+  HREF="node31.html">Qmail-Scanner</A>
53
+ &nbsp <B>  <A NAME="tex2html578"
54 54
   HREF="node1.html">Contents</A></B> 
55 55
 <BR>
56 56
 <BR>
57 57
 <!--End of Navigation Panel-->
58 58
 
59
-<H2><A NAME="SECTION000510000000000000000">
60
-MailScanner</A>
59
+<H2><A NAME="SECTION00069000000000000000">
60
+Sagator</A>
61 61
 </H2>
62
-    <B>Location:</B> <TT><A NAME="tex2html25"
63
-  HREF="http://www.mailscanner.info">http://www.mailscanner.info</A></TT>
64
-<BR>    <B>Supports:</B> clamscan
62
+    <B>Homepage:</B> <TT><A NAME="tex2html33"
63
+  HREF="http://www.salstar.sk/sagator">http://www.salstar.sk/sagator</A></TT>
64
+<BR>    <B>Supports:</B> clamscan, clamd, libclamav
65 65
 <BR>
66
-MailScanner scans all e-mail for viruses, spam and attacks against
67
-    security vulnerabilities. It is not tied to any particular virus
68
-    scanner, but can be used with any combination of 14 different virus
69
-    scanners, allowing sites to choose the "best of breed" virus scanner.
66
+This program is an email antivirus/antispam gateway. It is an interface
67
+    to the postfix (or any other smtpd), which runs antivirus
68
+    and/or spamchecker. Its modular architecture can use any
69
+    combination of antivirus/spamchecker according to configuration.
70 70
 
71 71
 <P>
72 72
 <BR><HR>
73 73
 <ADDRESS>
74 74
 Tomasz Kojm
75
-2003-06-21
75
+2003-11-11
76 76
 </ADDRESS>
77 77
 </BODY>
78 78
 </HTML>
... ...
@@ -7,8 +7,8 @@ original version by:  Nikos Drakos, CBLU, University of Leeds
7 7
   Jens Lippmann, Marek Rouchal, Martin Wilck and others -->
8 8
 <HTML>
9 9
 <HEAD>
10
-<TITLE>MIMEDefang</TITLE>
11
-<META NAME="description" CONTENT="MIMEDefang">
10
+<TITLE>ClamdMail</TITLE>
11
+<META NAME="description" CONTENT="ClamdMail">
12 12
 <META NAME="keywords" CONTENT="clamdoc">
13 13
 <META NAME="resource-type" CONTENT="document">
14 14
 <META NAME="distribution" CONTENT="global">
... ...
@@ -21,55 +21,55 @@ original version by:  Nikos Drakos, CBLU, University of Leeds
21 21
 
22 22
 <LINK REL="next" HREF="node34.html">
23 23
 <LINK REL="previous" HREF="node32.html">
24
-<LINK REL="up" HREF="node22.html">
24
+<LINK REL="up" HREF="node23.html">
25 25
 <LINK REL="next" HREF="node34.html">
26 26
 </HEAD>
27 27
 
28 28
 <BODY >
29 29
 <!--Navigation Panel-->
30
-<A NAME="tex2html542"
30
+<A NAME="tex2html591"
31 31
   HREF="node34.html">
32 32
 <IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next"
33 33
  SRC="/usr/share/latex2html/icons/next.png"></A> 
34
-<A NAME="tex2html538"
35
-  HREF="node22.html">
34
+<A NAME="tex2html587"
35
+  HREF="node23.html">
36 36
 <IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up"
37 37
  SRC="/usr/share/latex2html/icons/up.png"></A> 
38
-<A NAME="tex2html532"
38
+<A NAME="tex2html581"
39 39
   HREF="node32.html">
40 40
 <IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous"
41 41
  SRC="/usr/share/latex2html/icons/prev.png"></A> 
42
-<A NAME="tex2html540"
42
+<A NAME="tex2html589"
43 43
   HREF="node1.html">
44 44
 <IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents"
45 45
  SRC="/usr/share/latex2html/icons/contents.png"></A>  
46 46
 <BR>
47
-<B> Next:</B> <A NAME="tex2html543"
48
-  HREF="node34.html">Exiscan</A>
49
-<B> Up:</B> <A NAME="tex2html539"
50
-  HREF="node22.html">Compatible software</A>
51
-<B> Previous:</B> <A NAME="tex2html533"
52
-  HREF="node32.html">MailScanner</A>
53
- &nbsp <B>  <A NAME="tex2html541"
47
+<B> Next:</B> <A NAME="tex2html592"
48
+  HREF="node34.html">BlackHole</A>
49
+<B> Up:</B> <A NAME="tex2html588"
50
+  HREF="node23.html">Compatible software</A>
51
+<B> Previous:</B> <A NAME="tex2html582"
52
+  HREF="node32.html">Sagator</A>
53
+ &nbsp <B>  <A NAME="tex2html590"
54 54
   HREF="node1.html">Contents</A></B> 
55 55
 <BR>
56 56
 <BR>
57 57
 <!--End of Navigation Panel-->
58 58
 
59
-<H2><A NAME="SECTION000511000000000000000">
60
-MIMEDefang</A>
59
+<H2><A NAME="SECTION000610000000000000000">
60
+ClamdMail</A>
61 61
 </H2>
62
-    <B>Location:</B> <TT><A NAME="tex2html26"
63
-  HREF="http://www.roaringpenguin.com/mimedefang">http://www.roaringpenguin.com/mimedefang</A></TT>
64
-<BR>    <B>Supports:</B> clamscan, clamd
62
+    <B>Homepage:</B> <TT><A NAME="tex2html34"
63
+  HREF="http://clamdmail.sf.net">http://clamdmail.sf.net</A></TT>
64
+<BR>    <B>Supports:</B> clamd
65 65
 <BR>
66
-This is an efficient mail scanner for Sendmail/milter.
66
+A mail processing client for ClamAV. Small, fast and easy to install.
67 67
 
68 68
 <P>
69 69
 <BR><HR>
70 70
 <ADDRESS>
71 71
 Tomasz Kojm
72
-2003-06-21
72
+2003-11-11
73 73
 </ADDRESS>
74 74
 </BODY>
75 75
 </HTML>
... ...
@@ -7,8 +7,8 @@ original version by:  Nikos Drakos, CBLU, University of Leeds
7 7
   Jens Lippmann, Marek Rouchal, Martin Wilck and others -->
8 8
 <HTML>
9 9
 <HEAD>
10
-<TITLE>Exiscan</TITLE>
11
-<META NAME="description" CONTENT="Exiscan">
10
+<TITLE>BlackHole</TITLE>
11
+<META NAME="description" CONTENT="BlackHole">
12 12
 <META NAME="keywords" CONTENT="clamdoc">
13 13
 <META NAME="resource-type" CONTENT="document">
14 14
 <META NAME="distribution" CONTENT="global">
... ...
@@ -19,59 +19,59 @@ original version by:  Nikos Drakos, CBLU, University of Leeds
19 19
 
20 20
 <LINK REL="STYLESHEET" HREF="clamdoc.css">
21 21
 
22
+<LINK REL="next" HREF="node35.html">
22 23
 <LINK REL="previous" HREF="node33.html">
23
-<LINK REL="up" HREF="node22.html">
24
+<LINK REL="up" HREF="node23.html">
24 25
 <LINK REL="next" HREF="node35.html">
25 26
 </HEAD>
26 27
 
27 28
 <BODY >
28 29
 <!--Navigation Panel-->
29
-<A NAME="tex2html552"
30
+<A NAME="tex2html603"
30 31
   HREF="node35.html">
31 32
 <IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next"
32 33
  SRC="/usr/share/latex2html/icons/next.png"></A> 
33
-<A NAME="tex2html548"
34
-  HREF="node22.html">
34
+<A NAME="tex2html599"
35
+  HREF="node23.html">
35 36
 <IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up"
36 37
  SRC="/usr/share/latex2html/icons/up.png"></A> 
37
-<A NAME="tex2html544"
38
+<A NAME="tex2html593"
38 39
   HREF="node33.html">
39 40
 <IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous"
40 41
  SRC="/usr/share/latex2html/icons/prev.png"></A> 
41
-<A NAME="tex2html550"
42
+<A NAME="tex2html601"
42 43
   HREF="node1.html">
43 44
 <IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents"
44 45
  SRC="/usr/share/latex2html/icons/contents.png"></A>  
45 46
 <BR>
46
-<B> Next:</B> <A NAME="tex2html553"
47
-  HREF="node35.html">LibClamAV</A>
48
-<B> Up:</B> <A NAME="tex2html549"
49
-  HREF="node22.html">Compatible software</A>
50
-<B> Previous:</B> <A NAME="tex2html545"
51
-  HREF="node33.html">MIMEDefang</A>
52
- &nbsp <B>  <A NAME="tex2html551"
47
+<B> Next:</B> <A NAME="tex2html604"
48
+  HREF="node35.html">MailScanner</A>
49
+<B> Up:</B> <A NAME="tex2html600"
50
+  HREF="node23.html">Compatible software</A>
51
+<B> Previous:</B> <A NAME="tex2html594"
52
+  HREF="node33.html">ClamdMail</A>
53
+ &nbsp <B>  <A NAME="tex2html602"
53 54
   HREF="node1.html">Contents</A></B> 
54 55
 <BR>
55 56
 <BR>
56 57
 <!--End of Navigation Panel-->
57 58
 
58
-<H2><A NAME="SECTION000512000000000000000">
59
-Exiscan</A>
59
+<H2><A NAME="SECTION000611000000000000000">
60
+BlackHole</A>
60 61
 </H2>
61
-    <B>Location:</B> <TT><A NAME="tex2html27"
62
-  HREF="http://duncanthrax.net/exiscan">http://duncanthrax.net/exiscan</A></TT>
62
+    <B>Homepage:</B> <TT><A NAME="tex2html35"
63
+  HREF="http://www.groovy.org/blackhole.shtml">http://www.groovy.org/blackhole.shtml</A></TT>
63 64
 <BR>    <B>Supports:</B> clamscan, clamd
64 65
 <BR>
65
-exiscan is a patch against exim version 4, providing support for content
66
-    scanning in email messages received by exim. Four different scanning
67
-    facilities are supported: antivirus, antispam, regular expressions, and
68
-    file extensions.
66
+BlackHole is an advanced spam / virus filter for Qmail, Postfix, Sendmail,
67
+    Exim and Courier written by Chris Kennedy. This tool is for advanced
68
+    administrators (installation is hard).
69 69
 
70 70
 <P>
71 71
 <BR><HR>
72 72
 <ADDRESS>
73 73
 Tomasz Kojm
74
-2003-06-21
74
+2003-11-11
75 75
 </ADDRESS>
76 76
 </BODY>
77 77
 </HTML>
... ...
@@ -7,8 +7,8 @@ original version by:  Nikos Drakos, CBLU, University of Leeds
7 7
   Jens Lippmann, Marek Rouchal, Martin Wilck and others -->
8 8
 <HTML>
9 9
 <HEAD>
10
-<TITLE>LibClamAV</TITLE>
11
-<META NAME="description" CONTENT="LibClamAV">
10
+<TITLE>MailScanner</TITLE>
11
+<META NAME="description" CONTENT="MailScanner">
12 12
 <META NAME="keywords" CONTENT="clamdoc">
13 13
 <META NAME="resource-type" CONTENT="document">
14 14
 <META NAME="distribution" CONTENT="global">
... ...
@@ -19,64 +19,60 @@ original version by:  Nikos Drakos, CBLU, University of Leeds
19 19
 
20 20
 <LINK REL="STYLESHEET" HREF="clamdoc.css">
21 21
 
22
-<LINK REL="next" HREF="node37.html">
23
-<LINK REL="previous" HREF="node22.html">
24
-<LINK REL="up" HREF="clamdoc.html">
22
+<LINK REL="next" HREF="node36.html">
23
+<LINK REL="previous" HREF="node34.html">
24
+<LINK REL="up" HREF="node23.html">
25 25
 <LINK REL="next" HREF="node36.html">
26 26
 </HEAD>
27 27
 
28 28
 <BODY >
29 29
 <!--Navigation Panel-->
30
-<A NAME="tex2html564"
30
+<A NAME="tex2html615"
31 31
   HREF="node36.html">
32 32
 <IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next"
33 33
  SRC="/usr/share/latex2html/icons/next.png"></A> 
34
-<A NAME="tex2html560"
35
-  HREF="clamdoc.html">
34
+<A NAME="tex2html611"
35
+  HREF="node23.html">
36 36
 <IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up"
37 37
  SRC="/usr/share/latex2html/icons/up.png"></A> 
38
-<A NAME="tex2html554"
38
+<A NAME="tex2html605"
39 39
   HREF="node34.html">
40 40
 <IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous"
41 41
  SRC="/usr/share/latex2html/icons/prev.png"></A> 
42
-<A NAME="tex2html562"
42
+<A NAME="tex2html613"
43 43
   HREF="node1.html">
44 44
 <IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents"
45 45
  SRC="/usr/share/latex2html/icons/contents.png"></A>  
46 46
 <BR>
47
-<B> Next:</B> <A NAME="tex2html565"
48
-  HREF="node36.html">API</A>
49
-<B> Up:</B> <A NAME="tex2html561"
50
-  HREF="clamdoc.html">clamdoc</A>
51
-<B> Previous:</B> <A NAME="tex2html555"
52
-  HREF="node34.html">Exiscan</A>
53
- &nbsp <B>  <A NAME="tex2html563"
47
+<B> Next:</B> <A NAME="tex2html616"
48
+  HREF="node36.html">MIMEDefang</A>
49
+<B> Up:</B> <A NAME="tex2html612"
50
+  HREF="node23.html">Compatible software</A>
51
+<B> Previous:</B> <A NAME="tex2html606"
52
+  HREF="node34.html">BlackHole</A>
53
+ &nbsp <B>  <A NAME="tex2html614"
54 54
   HREF="node1.html">Contents</A></B> 
55 55
 <BR>
56 56
 <BR>
57 57
 <!--End of Navigation Panel-->
58 58
 
59
-<H1><A NAME="SECTION00060000000000000000">
60
-LibClamAV</A>
61
-</H1>
62
-    libclamav may be used to add a virus protection into your software.
63
-    The library is thread-safe, automatically recognizes and scans an
64
-    archives. Scanning is very fast - in most cases it won't be noticeable.
59
+<H2><A NAME="SECTION000612000000000000000">
60
+MailScanner</A>
61
+</H2>
62
+    <B>Homepage:</B> <TT><A NAME="tex2html36"
63
+  HREF="http://www.mailscanner.info">http://www.mailscanner.info</A></TT>
64
+<BR>    <B>Supports:</B> clamscan
65
+<BR>
66
+MailScanner scans all e-mail for viruses, spam and attacks against
67
+    security vulnerabilities. It is not tied to any particular virus
68
+    scanner, but can be used with any combination of 14 different virus
69
+    scanners, allowing sites to choose the "best of breed" virus scanner.
65 70
 
66 71
 <P>
67 72
 <BR><HR>
68
-<!--Table of Child-Links-->
69
-<A NAME="CHILD_LINKS"><STRONG>Subsections</STRONG></A>
70
-
71
-<UL>
72
-<LI><A NAME="tex2html566"
73
-  HREF="node36.html">API</A>
74
-</UL>
75
-<!--End of Table of Child-Links-->
76
-<BR><HR>
77 73
 <ADDRESS>
78 74
 Tomasz Kojm
79
-2003-06-21
75
+2003-11-11
80 76
 </ADDRESS>
81 77
 </BODY>
82 78
 </HTML>
... ...
@@ -7,8 +7,8 @@ original version by:  Nikos Drakos, CBLU, University of Leeds
7 7
   Jens Lippmann, Marek Rouchal, Martin Wilck and others -->
8 8
 <HTML>
9 9
 <HEAD>
10
-<TITLE>API</TITLE>
11
-<META NAME="description" CONTENT="API">
10
+<TITLE>MIMEDefang</TITLE>
11
+<META NAME="description" CONTENT="MIMEDefang">
12 12
 <META NAME="keywords" CONTENT="clamdoc">
13 13
 <META NAME="resource-type" CONTENT="document">
14 14
 <META NAME="distribution" CONTENT="global">
... ...
@@ -19,191 +19,57 @@ original version by:  Nikos Drakos, CBLU, University of Leeds
19 19
 
20 20
 <LINK REL="STYLESHEET" HREF="clamdoc.css">
21 21
 
22
+<LINK REL="next" HREF="node37.html">
22 23
 <LINK REL="previous" HREF="node35.html">
23
-<LINK REL="up" HREF="node35.html">
24
+<LINK REL="up" HREF="node23.html">
24 25
 <LINK REL="next" HREF="node37.html">
25 26
 </HEAD>
26 27
 
27 28
 <BODY >
28 29
 <!--Navigation Panel-->
29
-<A NAME="tex2html575"
30
+<A NAME="tex2html627"
30 31
   HREF="node37.html">
31 32
 <IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next"
32 33
  SRC="/usr/share/latex2html/icons/next.png"></A> 
33
-<A NAME="tex2html571"
34
-  HREF="node35.html">
34
+<A NAME="tex2html623"
35
+  HREF="node23.html">
35 36
 <IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up"
36 37
  SRC="/usr/share/latex2html/icons/up.png"></A> 
37
-<A NAME="tex2html567"
38
+<A NAME="tex2html617"
38 39
   HREF="node35.html">
39 40
 <IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous"
40 41
  SRC="/usr/share/latex2html/icons/prev.png"></A> 
41
-<A NAME="tex2html573"
42
+<A NAME="tex2html625"
42 43
   HREF="node1.html">
43 44
 <IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents"
44 45
  SRC="/usr/share/latex2html/icons/contents.png"></A>  
45 46
 <BR>
46
-<B> Next:</B> <A NAME="tex2html576"
47
-  HREF="node37.html">Problem solving</A>
48
-<B> Up:</B> <A NAME="tex2html572"
49
-  HREF="node35.html">LibClamAV</A>
50
-<B> Previous:</B> <A NAME="tex2html568"
51
-  HREF="node35.html">LibClamAV</A>
52
- &nbsp <B>  <A NAME="tex2html574"
47
+<B> Next:</B> <A NAME="tex2html628"
48
+  HREF="node37.html">exiscan</A>
49
+<B> Up:</B> <A NAME="tex2html624"
50
+  HREF="node23.html">Compatible software</A>
51
+<B> Previous:</B> <A NAME="tex2html618"
52
+  HREF="node35.html">MailScanner</A>
53
+ &nbsp <B>  <A NAME="tex2html626"
53 54
   HREF="node1.html">Contents</A></B> 
54 55
 <BR>
55 56
 <BR>
56 57
 <!--End of Navigation Panel-->
57 58
 
58
-<H2><A NAME="SECTION00061000000000000000">
59
-API</A>
59
+<H2><A NAME="SECTION000613000000000000000">
60
+MIMEDefang</A>
60 61
 </H2>
61
-    Each program using libclamav must include <I>clamav.h</I> header file:
62
-    <PRE>
63
-	#include &lt;clamav.h&gt;
64
-</PRE>
65
-    The first step is an engine initialization. There are three functions
66
-    available:
67
-    <PRE>
68
-	int cl_loaddb(const char *filename, struct cl_node **root,
69
-	int *virnum);
70
-
71
-	int cl_loaddbdir(const char *dirname, struct cl_node **root,
72
-	int *virnum);
73
-
74
-	char *cl_retdbdir(void);
75
-</PRE>
76
-    <I>cl_loaddb()</I> loads one database per time, <I>cl_loaddbdir()</I>
77
-    loads all <I>.db</I> and .db2 files from the directory <I>dirname</I>.
78
-    <I>cl_retdbdir()</I> returns hardcoded database directory path.
79
-    The database will be saved under <I>root</I> and the number of the loaded
80
-    signatures will be <B>added</B> to <I>virnum</I>. Pointer to the tree
81
-    structure (trie, see <A HREF="node41.html#engine">7.2</A>) must initially point to the NULL. If you
82
-    don't want to save the number of signatures loaded pass the NULL as the
83
-    third argument. <I>cl_loaddb</I> functions return 0 on success and
84
-    other value on failure.
85
-    <PRE>
86
-	    struct cl_node *root = NULL;
87
-	    int ret;
88
-
89
-	ret = cl_loaddbdir(cl_retdbdir(), &amp;root, NULL);
90
-</PRE>
91
-    There's elegant way to print libclamav's error codes:
92
-    <PRE>
93
-	char *cl_perror(int clerror);
94
-</PRE>
95
-    <I>cl_perror()</I> returns a (statically allocated) string describing
96
-    <I>clerror</I> code:
97
-    <PRE>
98
-	if(ret) {
99
-	    printf("cl_loaddbdir() error: %s\n", cl_perror(ret));
100
-	    exit(1);
101
-	}
102
-</PRE>
103
-    When database is loaded, you must create the proper trie with:
104
-    <PRE>
105
-	void cl_buildtrie(struct cl_node *root);
106
-</PRE>
107
-    In our example:
108
-    <PRE>
109
-	cl_buildtrie(root);
110
-</PRE>
111
-    OK, now you can scan a buffer, descriptor or file with:
112
-    <PRE>
113
-	int cl_scanbuff(const char *buffer, unsigned int length,
114
-	char **virname, const struct cl_node *root);
115
-
116
-	int cl_scandesc(int desc, char **virname, unsigned long int
117
-	*scanned, const struct cl_node *root, const struct cl_limits
118
-	*limits, int options);
119
-
120
-	int cl_scanfile(const char *filename, char **virname,
121
-	unsigned long int *scanned, const struct cl_node *root,
122
-	const struct cl_limits *limits, int options);
123
-</PRE>
124
-    All the functions save a virus name address under <I>virname</I> pointer.
125
-    <I>virname</I> points to the name in the trie structure, thus it can't be
126
-    released directly. <I>cl_scandesc()</I> and <I>cl_scanfile()</I> can
127
-    increase <I>scanned</I> value in CL_COUNT_PRECISION units. They also
128
-    support archive limits:
129
-    <PRE>
130
-	struct cl_limits {
131
-	    int maxreclevel;
132
-	    int maxfiles;
133
-	    long int maxfilesize;
134
-	};
135
-</PRE>
136
-    The last argument configures scan engine. Currently it supports
137
-    <B>CL_ARCHIVE</B> (enables archive scanning), <B>CL_RAW</B>
138
-    (disables archive scanning) and <B>CL_MAIL</B> (enables mbox
139
-    and Maildir scanning).
140
-    The functions return 0 (<B>CL_CLEAN</B>) when no virus is found,
141
-    <B>CL_VIRUS</B> when virus is found and other value on failure.
142
-    <PRE>
143
-	    struct cl_limits limits;
144
-	    char *virname;
145
-
146
-	/* maximal number of files in archive */;
147
-	limits.maxfiles = 100
148
-	/* maximal archived file size == 10 Mb */
149
-	limits.maxfilesize = 10 * 1048576;
150
-	/* maximal recursion level */
151
-	limits.maxreclevel = 8;
152
-
153
-
154
-	if((ret = cl_scanfile("/home/zolw/test", &amp;virname, NULL, root,
155
-	&amp;limits, CL_ARCHIVE)) == CL_VIRUS) {
156
-	    printf("Detected %s virus.\n", virname);
157
-	} else {
158
-	    printf("No virus detected.\n");
159
-	    if(ret != CL_CLEAN)
160
-	        printf("Error: %s\n", cl_perror(ret));
161
-	}
162
-</PRE>
163
-    When you don't need to scan more files, the trie should be released
164
-    with:
165
-    <PRE>
166
-	void cl_freetrie(struct cl_node *root);
167
-</PRE>
168
-    You will find some examples in clamav sources. Each program using
169
-    libclamav must be linked against it:
170
-    <PRE>
171
-	gcc -Wall ex1.c -o ex1 -lclamav
172
-</PRE>
173
-    Enjoy !
62
+    <B>Homepage:</B> <TT><A NAME="tex2html37"
63
+  HREF="http://www.roaringpenguin.com/mimedefang">http://www.roaringpenguin.com/mimedefang</A></TT>
64
+<BR>    <B>Supports:</B> clamscan, clamd
65
+<BR>
66
+This is an efficient mail scanner for Sendmail/milter.
174 67
 
175 68
 <P>
176
-<HR>
177
-<!--Navigation Panel-->
178
-<A NAME="tex2html575"
179
-  HREF="node37.html">
180
-<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next"
181
- SRC="/usr/share/latex2html/icons/next.png"></A> 
182
-<A NAME="tex2html571"
183
-  HREF="node35.html">
184
-<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up"
185
- SRC="/usr/share/latex2html/icons/up.png"></A> 
186
-<A NAME="tex2html567"
187
-  HREF="node35.html">
188
-<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous"
189
- SRC="/usr/share/latex2html/icons/prev.png"></A> 
190
-<A NAME="tex2html573"
191
-  HREF="node1.html">
192
-<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents"
193
- SRC="/usr/share/latex2html/icons/contents.png"></A>  
194
-<BR>
195
-<B> Next:</B> <A NAME="tex2html576"
196
-  HREF="node37.html">Problem solving</A>
197
-<B> Up:</B> <A NAME="tex2html572"
198
-  HREF="node35.html">LibClamAV</A>
199
-<B> Previous:</B> <A NAME="tex2html568"
200
-  HREF="node35.html">LibClamAV</A>
201
- &nbsp <B>  <A NAME="tex2html574"
202
-  HREF="node1.html">Contents</A></B> 
203
-<!--End of Navigation Panel-->
69
+<BR><HR>
204 70
 <ADDRESS>
205 71
 Tomasz Kojm
206
-2003-06-21
72
+2003-11-11
207 73
 </ADDRESS>
208 74
 </BODY>
209 75
 </HTML>
... ...
@@ -7,8 +7,8 @@ original version by:  Nikos Drakos, CBLU, University of Leeds
7 7
   Jens Lippmann, Marek Rouchal, Martin Wilck and others -->
8 8
 <HTML>
9 9
 <HEAD>
10
-<TITLE>Problem solving</TITLE>
11
-<META NAME="description" CONTENT="Problem solving">
10
+<TITLE>exiscan</TITLE>
11
+<META NAME="description" CONTENT="exiscan">
12 12
 <META NAME="keywords" CONTENT="clamdoc">
13 13
 <META NAME="resource-type" CONTENT="document">
14 14
 <META NAME="distribution" CONTENT="global">
... ...
@@ -19,61 +19,60 @@ original version by:  Nikos Drakos, CBLU, University of Leeds
19 19
 
20 20
 <LINK REL="STYLESHEET" HREF="clamdoc.css">
21 21
 
22
-<LINK REL="next" HREF="node39.html">
23
-<LINK REL="previous" HREF="node35.html">
24
-<LINK REL="up" HREF="clamdoc.html">
22
+<LINK REL="next" HREF="node38.html">
23
+<LINK REL="previous" HREF="node36.html">
24
+<LINK REL="up" HREF="node23.html">
25 25
 <LINK REL="next" HREF="node38.html">
26 26
 </HEAD>
27 27
 
28 28
 <BODY >
29 29
 <!--Navigation Panel-->
30
-<A NAME="tex2html587"
30
+<A NAME="tex2html639"
31 31
   HREF="node38.html">
32 32
 <IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next"
33 33
  SRC="/usr/share/latex2html/icons/next.png"></A> 
34
-<A NAME="tex2html583"
35
-  HREF="clamdoc.html">
34
+<A NAME="tex2html635"
35
+  HREF="node23.html">
36 36
 <IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up"
37 37
  SRC="/usr/share/latex2html/icons/up.png"></A> 
38
-<A NAME="tex2html577"
38
+<A NAME="tex2html629"
39 39
   HREF="node36.html">
40 40
 <IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous"
41 41
  SRC="/usr/share/latex2html/icons/prev.png"></A> 
42
-<A NAME="tex2html585"
42
+<A NAME="tex2html637"
43 43
   HREF="node1.html">
44 44
 <IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents"
45 45
  SRC="/usr/share/latex2html/icons/contents.png"></A>  
46 46
 <BR>
47
-<B> Next:</B> <A NAME="tex2html588"
48
-  HREF="node38.html">Return codes</A>
49
-<B> Up:</B> <A NAME="tex2html584"
50
-  HREF="clamdoc.html">clamdoc</A>
51
-<B> Previous:</B> <A NAME="tex2html578"
52
-  HREF="node36.html">API</A>
53
- &nbsp <B>  <A NAME="tex2html586"
47
+<B> Next:</B> <A NAME="tex2html640"
48
+  HREF="node38.html">scanexi</A>
49
+<B> Up:</B> <A NAME="tex2html636"
50
+  HREF="node23.html">Compatible software</A>
51
+<B> Previous:</B> <A NAME="tex2html630"
52
+  HREF="node36.html">MIMEDefang</A>
53
+ &nbsp <B>  <A NAME="tex2html638"
54 54
   HREF="node1.html">Contents</A></B> 
55 55
 <BR>
56 56
 <BR>
57 57
 <!--End of Navigation Panel-->
58 58
 
59
-<H1><A NAME="SECTION00070000000000000000">
60
-Problem solving</A>
61
-</H1>
59
+<H2><A NAME="SECTION000614000000000000000">
60
+exiscan</A>
61
+</H2>
62
+    <B>Homepage:</B> <TT><A NAME="tex2html38"
63
+  HREF="http://duncanthrax.net/exiscan">http://duncanthrax.net/exiscan</A></TT>
64
+<BR>    <B>Supports:</B> clamscan, clamd
65
+<BR>
66
+exiscan is a patch against exim version 4, providing support for content
67
+    scanning in email messages received by exim. Four different scanning
68
+    facilities are supported: antivirus, antispam, regular expressions, and
69
+    file extensions.
62 70
 
63 71
 <P>
64 72
 <BR><HR>
65
-<!--Table of Child-Links-->
66
-<A NAME="CHILD_LINKS"><STRONG>Subsections</STRONG></A>
67
-
68
-<UL>
69
-<LI><A NAME="tex2html589"
70
-  HREF="node38.html">Return codes</A>
71
-</UL>
72
-<!--End of Table of Child-Links-->
73
-<BR><HR>
74 73
 <ADDRESS>
75 74
 Tomasz Kojm
76
-2003-06-21
75
+2003-11-11
77 76
 </ADDRESS>
78 77
 </BODY>
79 78
 </HTML>
... ...
@@ -7,8 +7,8 @@ original version by:  Nikos Drakos, CBLU, University of Leeds
7 7
   Jens Lippmann, Marek Rouchal, Martin Wilck and others -->
8 8
 <HTML>
9 9
 <HEAD>
10
-<TITLE>Return codes</TITLE>
11
-<META NAME="description" CONTENT="Return codes">
10
+<TITLE>scanexi</TITLE>
11
+<META NAME="description" CONTENT="scanexi">
12 12
 <META NAME="keywords" CONTENT="clamdoc">
13 13
 <META NAME="resource-type" CONTENT="document">
14 14
 <META NAME="distribution" CONTENT="global">
... ...
@@ -19,127 +19,58 @@ original version by:  Nikos Drakos, CBLU, University of Leeds
19 19
 
20 20
 <LINK REL="STYLESHEET" HREF="clamdoc.css">
21 21
 
22
+<LINK REL="next" HREF="node39.html">
22 23
 <LINK REL="previous" HREF="node37.html">
23
-<LINK REL="up" HREF="node37.html">
24
+<LINK REL="up" HREF="node23.html">
24 25
 <LINK REL="next" HREF="node39.html">
25 26
 </HEAD>
26 27
 
27 28
 <BODY >
28 29
 <!--Navigation Panel-->
29
-<A NAME="tex2html598"
30
+<A NAME="tex2html651"
30 31
   HREF="node39.html">
31 32
 <IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next"
32 33
  SRC="/usr/share/latex2html/icons/next.png"></A> 
33
-<A NAME="tex2html594"
34
-  HREF="node37.html">
34
+<A NAME="tex2html647"
35
+  HREF="node23.html">
35 36
 <IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up"
36 37
  SRC="/usr/share/latex2html/icons/up.png"></A> 
37
-<A NAME="tex2html590"
38
+<A NAME="tex2html641"
38 39
   HREF="node37.html">
39 40
 <IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous"
40 41
  SRC="/usr/share/latex2html/icons/prev.png"></A> 
41
-<A NAME="tex2html596"
42
+<A NAME="tex2html649"
42 43
   HREF="node1.html">
43 44
 <IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents"
44 45
  SRC="/usr/share/latex2html/icons/contents.png"></A>  
45 46
 <BR>
46
-<B> Next:</B> <A NAME="tex2html599"
47
-  HREF="node39.html">Technicals</A>
48
-<B> Up:</B> <A NAME="tex2html595"
49
-  HREF="node37.html">Problem solving</A>
50
-<B> Previous:</B> <A NAME="tex2html591"
51
-  HREF="node37.html">Problem solving</A>
52
- &nbsp <B>  <A NAME="tex2html597"
47
+<B> Next:</B> <A NAME="tex2html652"
48
+  HREF="node39.html">Mail::ClamAV</A>
49
+<B> Up:</B> <A NAME="tex2html648"
50
+  HREF="node23.html">Compatible software</A>
51
+<B> Previous:</B> <A NAME="tex2html642"
52
+  HREF="node37.html">exiscan</A>
53
+ &nbsp <B>  <A NAME="tex2html650"
53 54
   HREF="node1.html">Contents</A></B> 
54 55
 <BR>
55 56
 <BR>
56 57
 <!--End of Navigation Panel-->
57 58
 
58
-<H2><A NAME="SECTION00071000000000000000">
59
-Return codes</A>
59
+<H2><A NAME="SECTION000615000000000000000">
60
+scanexi</A>
60 61
 </H2>
61
-    Return codes are very useful, especially in system scripts. You may
62
-    check the return code from <I>clamscan</I>, by running the following
63
-    command directly after the scanner exits:
64
-    <PRE>
65
-	$ echo $?
66
-</PRE>
67
-    Here is a list of return codes from <I>clamscan</I>:
62
+    <B>Homepage:</B> <TT><A NAME="tex2html39"
63
+  HREF="http://w1.231.telia.com/~u23107873/scanexi.html">http://w1.231.telia.com/~u23107873/scanexi.html</A></TT>
64
+<BR>    <B>Supports:</B> clamscan, clamd
68 65
 <BR>
69
-<P>
66
+scanexi is a plugin for exim version 4.14 with dlopen patch, providing
67
+    support for content scanning in email messages received by exim.
70 68
 
71
-    <B>0: </B> No virus was found.
72
-<BR>    <B>1: </B> Virus(es) detected.
73
-<BR>    <B>40: </B> Unknown option was passed to <I>clamscan</I>. Please check
74
-	    <I>clamscan -help</I> or manual page for available options.
75
-<BR>    <B>50: </B> Problem with initialization of virus database. Probably
76
-	    it doesn't exist in the default place or wrong file was passed
77
-	    to <I>-database</I>.
78
-<BR>    <B>51: </B> Wrong number of threads was passed to <I>-threads</I>. It
79
-	    must be a natural number <IMG
80
- WIDTH="33" HEIGHT="34" ALIGN="MIDDLE" BORDER="0"
81
- SRC="img3.png"
82
- ALT="$ \ge 0$">.
83
-<BR>    <B>52: </B> Not supported file type. Scanner supports regular files,
84
-	    directories and symlinks.
85
-<BR>    <B>53: </B> Can't open directory.
86
-<BR>    <B>54: </B> Can't open file.<IMG
87
- WIDTH="13" HEIGHT="21" ALIGN="BOTTOM" BORDER="0"
88
- SRC="img4.png"
89
- ALT="$^5$">
90
-<BR>    <B>55: </B> Error reading file. Probably the medium you are reading is broken.
91
-	    <A NAME="tex2html28"
92
-  HREF="footnode.html#foot657"><SUP>5</SUP></A>
93
-<BR>    <B>56: </B> Can't stat input file or directory. File / directory you want to
94
-	    scan doesn't exist.
95
-<BR>    <B>57: </B> Can't get absolute pathname of current working directory. Your
96
-	    current pathname is longer then 200 characters. When clamscan
97
-	    is started without a input file / directory it scans the current
98
-	    directory. For some reasons it needs absolute pathnames, the buffer
99
-	    is hardcoded to 200 characters and that should be sufficient.
100
-<BR>    <B>58: </B> I/O error. Please check the filesystem.
101
-<BR>    <B>59: </B> Can't get information about current user (running clamscan).
102
-<BR>    <B>60: </B> Can't get information about user <I>clamav</I>. User <I>clamav</I>
103
-	    (default unprivileged user) doesn't exist in /etc/passwd.
104
-<BR>    <B>61: </B> Can't fork. Can't create new process, please check your limits.
105
-<BR>    <B>63: </B> Can't create temporary file or directory. Please check permissions.
106
-<BR>    <B>64: </B> Can't write to temporary directory. Please specify another one.
107
-<BR>    <B>70: </B> Can't allocate and clear memory. This is a critical error, please
108
-	    check your system.
109
-<BR>    <B>71: </B> Can't allocate memory. Look above.
110
-<BR>
111 69
 <P>
112
-<HR>
113
-<!--Navigation Panel-->
114
-<A NAME="tex2html598"
115
-  HREF="node39.html">
116
-<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next"
117
- SRC="/usr/share/latex2html/icons/next.png"></A> 
118
-<A NAME="tex2html594"
119
-  HREF="node37.html">
120
-<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up"
121
- SRC="/usr/share/latex2html/icons/up.png"></A> 
122
-<A NAME="tex2html590"
123
-  HREF="node37.html">
124
-<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous"
125
- SRC="/usr/share/latex2html/icons/prev.png"></A> 
126
-<A NAME="tex2html596"
127
-  HREF="node1.html">
128
-<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents"
129
- SRC="/usr/share/latex2html/icons/contents.png"></A>  
130
-<BR>
131
-<B> Next:</B> <A NAME="tex2html599"
132
-  HREF="node39.html">Technicals</A>
133
-<B> Up:</B> <A NAME="tex2html595"
134
-  HREF="node37.html">Problem solving</A>
135
-<B> Previous:</B> <A NAME="tex2html591"
136
-  HREF="node37.html">Problem solving</A>
137
- &nbsp <B>  <A NAME="tex2html597"
138
-  HREF="node1.html">Contents</A></B> 
139
-<!--End of Navigation Panel-->
70
+<BR><HR>
140 71
 <ADDRESS>
141 72
 Tomasz Kojm
142
-2003-06-21
73
+2003-11-11
143 74
 </ADDRESS>
144 75
 </BODY>
145 76
 </HTML>
... ...
@@ -7,8 +7,8 @@ original version by:  Nikos Drakos, CBLU, University of Leeds
7 7
   Jens Lippmann, Marek Rouchal, Martin Wilck and others -->
8 8
 <HTML>
9 9
 <HEAD>
10
-<TITLE>Technicals</TITLE>
11
-<META NAME="description" CONTENT="Technicals">
10
+<TITLE>Mail::ClamAV</TITLE>
11
+<META NAME="description" CONTENT="Mail::ClamAV">
12 12
 <META NAME="keywords" CONTENT="clamdoc">
13 13
 <META NAME="resource-type" CONTENT="document">
14 14
 <META NAME="distribution" CONTENT="global">
... ...
@@ -19,63 +19,57 @@ original version by:  Nikos Drakos, CBLU, University of Leeds
19 19
 
20 20
 <LINK REL="STYLESHEET" HREF="clamdoc.css">
21 21
 
22
-<LINK REL="next" HREF="node42.html">
23
-<LINK REL="previous" HREF="node37.html">
24
-<LINK REL="up" HREF="clamdoc.html">
22
+<LINK REL="next" HREF="node40.html">
23
+<LINK REL="previous" HREF="node38.html">
24
+<LINK REL="up" HREF="node23.html">
25 25
 <LINK REL="next" HREF="node40.html">
26 26
 </HEAD>
27 27
 
28 28
 <BODY >
29 29
 <!--Navigation Panel-->
30
-<A NAME="tex2html610"
30
+<A NAME="tex2html663"
31 31
   HREF="node40.html">
32 32
 <IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next"
33 33
  SRC="/usr/share/latex2html/icons/next.png"></A> 
34
-<A NAME="tex2html606"
35
-  HREF="clamdoc.html">
34
+<A NAME="tex2html659"
35
+  HREF="node23.html">
36 36
 <IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up"
37 37
  SRC="/usr/share/latex2html/icons/up.png"></A> 
38
-<A NAME="tex2html600"
38
+<A NAME="tex2html653"
39 39
   HREF="node38.html">
40 40
 <IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous"
41 41
  SRC="/usr/share/latex2html/icons/prev.png"></A> 
42
-<A NAME="tex2html608"
42
+<A NAME="tex2html661"
43 43
   HREF="node1.html">
44 44
 <IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents"
45 45
  SRC="/usr/share/latex2html/icons/contents.png"></A>  
46 46
 <BR>
47
-<B> Next:</B> <A NAME="tex2html611"
48
-  HREF="node40.html">Security</A>
49
-<B> Up:</B> <A NAME="tex2html607"
50
-  HREF="clamdoc.html">clamdoc</A>
51
-<B> Previous:</B> <A NAME="tex2html601"
52
-  HREF="node38.html">Return codes</A>
53
- &nbsp <B>  <A NAME="tex2html609"
47
+<B> Next:</B> <A NAME="tex2html664"
48
+  HREF="node40.html">OpenAntiVirus samba-vscan</A>
49
+<B> Up:</B> <A NAME="tex2html660"
50
+  HREF="node23.html">Compatible software</A>
51
+<B> Previous:</B> <A NAME="tex2html654"
52
+  HREF="node38.html">scanexi</A>
53
+ &nbsp <B>  <A NAME="tex2html662"
54 54
   HREF="node1.html">Contents</A></B> 
55 55
 <BR>
56 56
 <BR>
57 57
 <!--End of Navigation Panel-->
58 58
 
59
-<H1><A NAME="SECTION00080000000000000000">
60
-Technicals</A>
61
-</H1>
59
+<H2><A NAME="SECTION000616000000000000000">
60
+Mail::ClamAV</A>
61
+</H2>
62
+    <B>Homepage:</B> <TT><A NAME="tex2html40"
63
+  HREF="http://cpan.gossamer-threads.com/modules/by-authors/id/S/SA/SABECK/">http://cpan.gossamer-threads.com/modules/by-authors/id/S/SA/SABECK/</A></TT>
64
+<BR>    <B>Supports:</B> libclamav
65
+<BR>
66
+Perl extension for the libclamav library.
62 67
 
63 68
 <P>
64 69
 <BR><HR>
65
-<!--Table of Child-Links-->
66
-<A NAME="CHILD_LINKS"><STRONG>Subsections</STRONG></A>
67
-
68
-<UL>
69
-<LI><A NAME="tex2html612"
70
-  HREF="node40.html">Security</A>
71
-<LI><A NAME="tex2html613"
72
-  HREF="node41.html">Scan engine</A>
73
-</UL>
74
-<!--End of Table of Child-Links-->
75
-<BR><HR>
76 70
 <ADDRESS>
77 71
 Tomasz Kojm
78
-2003-06-21
72
+2003-11-11
79 73
 </ADDRESS>
80 74
 </BODY>
81 75
 </HTML>
... ...
@@ -27,30 +27,30 @@ original version by:  Nikos Drakos, CBLU, University of Leeds
27 27
 
28 28
 <BODY >
29 29
 <!--Navigation Panel-->
30
-<A NAME="tex2html174"
30
+<A NAME="tex2html217"
31 31
   HREF="node5.html">
32 32
 <IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next"
33 33
  SRC="/usr/share/latex2html/icons/next.png"></A> 
34
-<A NAME="tex2html170"
34
+<A NAME="tex2html213"
35 35
   HREF="node2.html">
36 36
 <IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up"
37 37
  SRC="/usr/share/latex2html/icons/up.png"></A> 
38
-<A NAME="tex2html164"
38
+<A NAME="tex2html207"
39 39
   HREF="node3.html">
40 40
 <IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous"
41 41
  SRC="/usr/share/latex2html/icons/prev.png"></A> 
42
-<A NAME="tex2html172"
42
+<A NAME="tex2html215"
43 43
   HREF="node1.html">
44 44
 <IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents"
45 45
  SRC="/usr/share/latex2html/icons/contents.png"></A>  
46 46
 <BR>
47
-<B> Next:</B> <A NAME="tex2html175"
47
+<B> Next:</B> <A NAME="tex2html218"
48 48
   HREF="node5.html">Virus submitting</A>
49
-<B> Up:</B> <A NAME="tex2html171"
49
+<B> Up:</B> <A NAME="tex2html214"
50 50
   HREF="node2.html">Introduction</A>
51
-<B> Previous:</B> <A NAME="tex2html165"
51
+<B> Previous:</B> <A NAME="tex2html208"
52 52
   HREF="node3.html">Features</A>
53
- &nbsp <B>  <A NAME="tex2html173"
53
+ &nbsp <B>  <A NAME="tex2html216"
54 54
   HREF="node1.html">Contents</A></B> 
55 55
 <BR>
56 56
 <BR>
... ...
@@ -59,43 +59,31 @@ original version by:  Nikos Drakos, CBLU, University of Leeds
59 59
 <H2><A NAME="SECTION00022000000000000000">
60 60
 Mailing lists</A>
61 61
 </H2>
62
-    There are three mailing lists available:
62
+    There are four mailing lists available:
63 63
     
64 64
 <UL>
65
-<LI><B>announce@clamav.elektrapro.com</B> - info about new versions
65
+<LI><B>clamav-announce*lists.sf.net</B> - info about new versions
66 66
 <BR>    (including debian package releases), moderated<A NAME="tex2html1"
67
-  HREF="footnode.html#foot75"><SUP>1</SUP></A>.
67
+  HREF="footnode.html#foot85"><SUP>1</SUP></A>.
68 68
 </LI>
69
-<LI><B>users@clamav.elektrapro.com</B> - user questions
69
+<LI><B>clamav-users*lists.sf.net</B> - user questions
70 70
 </LI>
71
-<LI><B>devel@clamav.elektrapro.com</B> - developement
71
+<LI><B>clamav-devel*lists.sf.net</B> - developement
72 72
 </LI>
73
-<LI><B>virusdb@clamav.elektrapro.com</B> - database update information
73
+<LI><B>clamav-virusdb*lists.sf.net</B> - database update
74
+						      announcements
74 75
     
75 76
 </LI>
76 77
 </UL>
77
-
78
-<P>
79
-You can subscribe by sending an empty email to
80
-<BR>
81
-listname-subscribe@clamav.elektrapro.com, or via www at
82
-<BR>    <TT><A NAME="tex2html2"
83
-  HREF="http://clamav.elektrapro.com/ml">http://clamav.elektrapro.com/ml</A></TT>
84
-<BR>
85
-After subscribing you must reply to a special message sent at your address.
86
-
87
-<P>
88
-Mailing lists are archived at: 
89
-<BR>    <TT><A NAME="tex2html3"
90
-  HREF="http://archive.elektrapro.com/clamav.elektrapro.com/users/">http://archive.elektrapro.com/clamav.elektrapro.com/users/</A></TT>
91
-<BR>    <TT><A NAME="tex2html4"
92
-  HREF="http://archive.elektrapro.com/clamav.elektrapro.com/devel/">http://archive.elektrapro.com/clamav.elektrapro.com/devel/</A></TT>
78
+    You can subscribe and check the mailing list archives at: 
79
+    <TT><A NAME="tex2html2"
80
+  HREF="http://www.clamav.net/ml">http://www.clamav.net/ml</A></TT>
93 81
 <BR>
94 82
 <P>
95 83
 <BR><HR>
96 84
 <ADDRESS>
97 85
 Tomasz Kojm
98
-2003-06-21
86
+2003-11-11
99 87
 </ADDRESS>
100 88
 </BODY>
101 89
 </HTML>
... ...
@@ -7,8 +7,8 @@ original version by:  Nikos Drakos, CBLU, University of Leeds
7 7
   Jens Lippmann, Marek Rouchal, Martin Wilck and others -->
8 8
 <HTML>
9 9
 <HEAD>
10
-<TITLE>Security</TITLE>
11
-<META NAME="description" CONTENT="Security">
10
+<TITLE>OpenAntiVirus samba-vscan</TITLE>
11
+<META NAME="description" CONTENT="OpenAntiVirus samba-vscan">
12 12
 <META NAME="keywords" CONTENT="clamdoc">
13 13
 <META NAME="resource-type" CONTENT="document">
14 14
 <META NAME="distribution" CONTENT="global">
... ...
@@ -21,63 +21,57 @@ original version by:  Nikos Drakos, CBLU, University of Leeds
21 21
 
22 22
 <LINK REL="next" HREF="node41.html">
23 23
 <LINK REL="previous" HREF="node39.html">
24
-<LINK REL="up" HREF="node39.html">
24
+<LINK REL="up" HREF="node23.html">
25 25
 <LINK REL="next" HREF="node41.html">
26 26
 </HEAD>
27 27
 
28 28
 <BODY >
29 29
 <!--Navigation Panel-->
30
-<A NAME="tex2html624"
30
+<A NAME="tex2html675"
31 31
   HREF="node41.html">
32 32
 <IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next"
33 33
  SRC="/usr/share/latex2html/icons/next.png"></A> 
34
-<A NAME="tex2html620"
35
-  HREF="node39.html">
34
+<A NAME="tex2html671"
35
+  HREF="node23.html">
36 36
 <IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up"
37 37
  SRC="/usr/share/latex2html/icons/up.png"></A> 
38
-<A NAME="tex2html614"
38
+<A NAME="tex2html665"
39 39
   HREF="node39.html">
40 40
 <IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous"
41 41
  SRC="/usr/share/latex2html/icons/prev.png"></A> 
42
-<A NAME="tex2html622"
42
+<A NAME="tex2html673"
43 43
   HREF="node1.html">
44 44
 <IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents"
45 45
  SRC="/usr/share/latex2html/icons/contents.png"></A>  
46 46
 <BR>
47
-<B> Next:</B> <A NAME="tex2html625"
48
-  HREF="node41.html">Scan engine</A>
49
-<B> Up:</B> <A NAME="tex2html621"
50
-  HREF="node39.html">Technicals</A>
51
-<B> Previous:</B> <A NAME="tex2html615"
52
-  HREF="node39.html">Technicals</A>
53
- &nbsp <B>  <A NAME="tex2html623"
47
+<B> Next:</B> <A NAME="tex2html676"
48
+  HREF="node41.html">Sylpheed Claws</A>
49
+<B> Up:</B> <A NAME="tex2html672"
50
+  HREF="node23.html">Compatible software</A>
51
+<B> Previous:</B> <A NAME="tex2html666"
52
+  HREF="node39.html">Mail::ClamAV</A>
53
+ &nbsp <B>  <A NAME="tex2html674"
54 54
   HREF="node1.html">Contents</A></B> 
55 55
 <BR>
56 56
 <BR>
57 57
 <!--End of Navigation Panel-->
58 58
 
59
-<H2><A NAME="SECTION00081000000000000000">
60
-Security</A>
59
+<H2><A NAME="SECTION000617000000000000000"></A><A NAME="samba-vscan"></A>
60
+<BR>
61
+OpenAntiVirus samba-vscan
61 62
 </H2>
62
-    Clam AntiVirus cares about security. Dangerous operations in clamscan
63
-    (such as extracting, temporary file creation, unlink() operations) are
64
-    executed with <I>clamav</I> privileges. <B>But there are no programs
65
-    without bugs.</B> This is a young project and everything is possible. In some
66
-    places it uses the <I>snprintf()</I> function, some older systems (C
67
-    libraries) however the buffer length in this function isn't checked. This
68
-    example shows, that you should check your system first. Never set SUID/SGID
69
-    bits on Clam AntiVirus executables. If the SUID bit is set and
70
-    <I>clamscan</I> is owned by root, every file on the system may be modified
71
-    with the <I>-log</I> option. Normal users may use <I>clamscan</I> to scan
72
-    their files, other files shouldn't interest them. Clam AntiVirus Daemon
73
-    was written with security in mind - it doesn't allow external unpackers
74
-    (uses only libclamav unarchivers) and contains some additional protections.
63
+    <B>Homepage:</B> <TT><A NAME="tex2html41"
64
+  HREF="http://www.openantivirus.org/projects.php#samba-vscan">http://www.openantivirus.org/projects.php#samba-vscan</A></TT>
65
+<BR>    <B>Supports:</B> clamd
66
+<BR>
67
+samba-vscan provides on-access scanning of Samba shares. It supports
68
+    Samba 2.2.x/3.0 with working virtual file system (VFS) support. 
75 69
 
76 70
 <P>
77 71
 <BR><HR>
78 72
 <ADDRESS>
79 73
 Tomasz Kojm
80
-2003-06-21
74
+2003-11-11
81 75
 </ADDRESS>
82 76
 </BODY>
83 77
 </HTML>
... ...
@@ -7,8 +7,8 @@ original version by:  Nikos Drakos, CBLU, University of Leeds
7 7
   Jens Lippmann, Marek Rouchal, Martin Wilck and others -->
8 8
 <HTML>
9 9
 <HEAD>
10
-<TITLE>Scan engine</TITLE>
11
-<META NAME="description" CONTENT="Scan engine">
10
+<TITLE>Sylpheed Claws</TITLE>
11
+<META NAME="description" CONTENT="Sylpheed Claws">
12 12
 <META NAME="keywords" CONTENT="clamdoc">
13 13
 <META NAME="resource-type" CONTENT="document">
14 14
 <META NAME="distribution" CONTENT="global">
... ...
@@ -19,71 +19,59 @@ original version by:  Nikos Drakos, CBLU, University of Leeds
19 19
 
20 20
 <LINK REL="STYLESHEET" HREF="clamdoc.css">
21 21
 
22
+<LINK REL="next" HREF="node42.html">
22 23
 <LINK REL="previous" HREF="node40.html">
23
-<LINK REL="up" HREF="node39.html">
24
+<LINK REL="up" HREF="node23.html">
24 25
 <LINK REL="next" HREF="node42.html">
25 26
 </HEAD>
26 27
 
27 28
 <BODY >
28 29
 <!--Navigation Panel-->
29
-<A NAME="tex2html634"
30
+<A NAME="tex2html687"
30 31
   HREF="node42.html">
31 32
 <IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next"
32 33
  SRC="/usr/share/latex2html/icons/next.png"></A> 
33
-<A NAME="tex2html630"
34
-  HREF="node39.html">
34
+<A NAME="tex2html683"
35
+  HREF="node23.html">
35 36
 <IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up"
36 37
  SRC="/usr/share/latex2html/icons/up.png"></A> 
37
-<A NAME="tex2html626"
38
+<A NAME="tex2html677"
38 39
   HREF="node40.html">
39 40
 <IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous"
40 41
  SRC="/usr/share/latex2html/icons/prev.png"></A> 
41
-<A NAME="tex2html632"
42
+<A NAME="tex2html685"
42 43
   HREF="node1.html">
43 44
 <IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents"
44 45
  SRC="/usr/share/latex2html/icons/contents.png"></A>  
45 46
 <BR>
46
-<B> Next:</B> <A NAME="tex2html635"
47
-  HREF="node42.html">Credits</A>
48
-<B> Up:</B> <A NAME="tex2html631"
49
-  HREF="node39.html">Technicals</A>
50
-<B> Previous:</B> <A NAME="tex2html627"
51
-  HREF="node40.html">Security</A>
52
- &nbsp <B>  <A NAME="tex2html633"
47
+<B> Next:</B> <A NAME="tex2html688"
48
+  HREF="node42.html">nclamd</A>
49
+<B> Up:</B> <A NAME="tex2html684"
50
+  HREF="node23.html">Compatible software</A>
51
+<B> Previous:</B> <A NAME="tex2html678"
52
+  HREF="node40.html">OpenAntiVirus samba-vscan</A>
53
+ &nbsp <B>  <A NAME="tex2html686"
53 54
   HREF="node1.html">Contents</A></B> 
54 55
 <BR>
55 56
 <BR>
56 57
 <!--End of Navigation Panel-->
57 58
 
58
-<H2><A NAME="SECTION00082000000000000000"></A><A NAME="engine"></A>
59
-<BR>
60
-Scan engine
59
+<H2><A NAME="SECTION000618000000000000000">
60
+Sylpheed Claws</A>
61 61
 </H2>
62
-    New versions of Clam AntiVirus are using a mutation of Aho-Corasick
63
-    pattern matching algorithm. This algorithm uses a finite state pattern
64
-    matching automaton [<A
65
- HREF="node44.html#clr">1</A>]. The algorithm itself is a generalization of
66
-    the Knuth-Morris-Pratt algorithm. Please look at <I>matcher.h</I> for data
67
-    type definitions. The automaton is represented by the trie. Trie is
68
-    a rooted tree with some specific properties [<A
69
- HREF="node44.html#acwww">2</A>]. Each node
70
-    of the trie represents some state of the automaton. In the implementation,
71
-    the node is defined as following:
72
-    <PRE>
73
-	struct node {
74
-	    int islast;
75
-	    struct patt *list;
76
-	    int maxpatlen;
77
-	    struct node *next[NUM_CHILDS], *trans[NUM_CHILDS], *fail;
78
-	};
79
-</PRE>
80
-    [To be continued...]
62
+    <B>Homepage:</B> <TT><A NAME="tex2html42"
63
+  HREF="http://claws.sylpheed.org">http://claws.sylpheed.org</A></TT>
64
+<BR>    <B>Supports:</B> libclamav
65
+<BR>
66
+Sylpheed Claws is a bleeding edge branch of Sylpheed, a light weight mail
67
+    user agent for UNIX. It can scan attachments in mail received from a POP
68
+    account and optionally delete the mail or save it to a designated folder.
81 69
 
82 70
 <P>
83 71
 <BR><HR>
84 72
 <ADDRESS>
85 73
 Tomasz Kojm
86
-2003-06-21
74
+2003-11-11
87 75
 </ADDRESS>
88 76
 </BODY>
89 77
 </HTML>
... ...
@@ -7,8 +7,8 @@ original version by:  Nikos Drakos, CBLU, University of Leeds
7 7
   Jens Lippmann, Marek Rouchal, Martin Wilck and others -->
8 8
 <HTML>
9 9
 <HEAD>
10
-<TITLE>Credits</TITLE>
11
-<META NAME="description" CONTENT="Credits">
10
+<TITLE>nclamd</TITLE>
11
+<META NAME="description" CONTENT="nclamd">
12 12
 <META NAME="keywords" CONTENT="clamdoc">
13 13
 <META NAME="resource-type" CONTENT="document">
14 14
 <META NAME="distribution" CONTENT="global">
... ...
@@ -20,329 +20,58 @@ original version by:  Nikos Drakos, CBLU, University of Leeds
20 20
 <LINK REL="STYLESHEET" HREF="clamdoc.css">
21 21
 
22 22
 <LINK REL="next" HREF="node43.html">
23
-<LINK REL="previous" HREF="node39.html">
24
-<LINK REL="up" HREF="clamdoc.html">
23
+<LINK REL="previous" HREF="node41.html">
24
+<LINK REL="up" HREF="node23.html">
25 25
 <LINK REL="next" HREF="node43.html">
26 26
 </HEAD>
27 27
 
28 28
 <BODY >
29 29
 <!--Navigation Panel-->
30
-<A NAME="tex2html646"
30
+<A NAME="tex2html699"
31 31
   HREF="node43.html">
32 32
 <IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next"
33 33
  SRC="/usr/share/latex2html/icons/next.png"></A> 
34
-<A NAME="tex2html642"
35
-  HREF="clamdoc.html">
34
+<A NAME="tex2html695"
35
+  HREF="node23.html">
36 36
 <IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up"
37 37
  SRC="/usr/share/latex2html/icons/up.png"></A> 
38
-<A NAME="tex2html636"
38
+<A NAME="tex2html689"
39 39
   HREF="node41.html">
40 40
 <IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous"
41 41
  SRC="/usr/share/latex2html/icons/prev.png"></A> 
42
-<A NAME="tex2html644"
42
+<A NAME="tex2html697"
43 43
   HREF="node1.html">
44 44
 <IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents"
45 45
  SRC="/usr/share/latex2html/icons/contents.png"></A>  
46 46
 <BR>
47
-<B> Next:</B> <A NAME="tex2html647"
48
-  HREF="node43.html">Authors</A>
49
-<B> Up:</B> <A NAME="tex2html643"
50
-  HREF="clamdoc.html">clamdoc</A>
51
-<B> Previous:</B> <A NAME="tex2html637"
52
-  HREF="node41.html">Scan engine</A>
53
- &nbsp <B>  <A NAME="tex2html645"
47
+<B> Next:</B> <A NAME="tex2html700"
48
+  HREF="node43.html">cgpav</A>
49
+<B> Up:</B> <A NAME="tex2html696"
50
+  HREF="node23.html">Compatible software</A>
51
+<B> Previous:</B> <A NAME="tex2html690"
52
+  HREF="node41.html">Sylpheed Claws</A>
53
+ &nbsp <B>  <A NAME="tex2html698"
54 54
   HREF="node1.html">Contents</A></B> 
55 55
 <BR>
56 56
 <BR>
57 57
 <!--End of Navigation Panel-->
58 58
 
59
-<H1><A NAME="SECTION00090000000000000000">
60
-Credits</A>
61
-</H1>
62
-    In alphabetical order:
63
-    
64
-<UL>
65
-<LI>AIX PDSLIB, University of California at Los Angeles 
66
-<BR>	      <TT><A NAME="tex2html29"
67
-  HREF="http://aixpdslib.seas.ucla.edu">http://aixpdslib.seas.ucla.edu</A></TT> - binary packages for AIX
68
-</LI>
69
-<LI>Kamil Andrusz &lt;wizz(.at.)mniam.net&gt; - OpenBSD support
70
-	      patch
71
-</LI>
72
-<LI>Jean-Edouard BABIN &lt;Jeb(.at.)jeb.com.fr&gt; - NetBSD support;
73
-	      made his NetBSD box available to me.
74
-</LI>
75
-<LI>Marc Baudoin &lt;babafou(.at.)babafou.eu.org&gt; - NetBSD
76
-	      testing
77
-</LI>
78
-<LI>Hilko Bengen &lt;bengen(.at.)vdst-ka.inka.de&gt; - support for
79
-	      Clam AntiVirus in his AMaViS - "Next Generation"
80
-</LI>
81
-<LI>Patrick Bihan-Faou &lt;patrick(.at.)mindstep.com&gt; - support
82
-	      for -with-user/group in the configure script.
83
-</LI>
84
-<LI>Eric I. Lopez Carreon &lt;elopezc(.at.)technitrade.com&gt; -
85
-	      Spanish
86
-<BR>"Sendmail + AMaViS + ClamAV Installation" how-to
87
-</LI>
88
-<LI>Nicholas Chua &lt;nicholas(.at.)ncmbox.net&gt; - big database
89
-	      updates
90
-</LI>
91
-<LI>Damien Curtain &lt;damien(.at.)pagefault.org&gt; - fix for the
92
-	      -remove option in clamscan (it didn't work with internal
93
-	      archivers); implementation of the -move option in clamscan,
94
-	      mirroring support in freshclam.
95
-</LI>
96
-<LI>Krisztian Czako &lt;slapic(.at.)linux.co.hu&gt; - virus
97
-	      signatures.
98
-</LI>
99
-<LI>Diego d'Ambra &lt;da@softcom.dk&gt; - virus samples.
100
-</LI>
101
-<LI>Alejandro Dubrovsky &lt;s328940(.at.)student.uq.edu.au&gt; -
102
-	      patch for including and excluding multiple patterns.
103
-</LI>
104
-<LI>Magnus Ekdahl &lt;magnus(.at.)debian.org&gt; - Debian
105
-<BR>	      (<TT><A NAME="tex2html30"
106
-  HREF="http://www.debian.org">http://www.debian.org</A></TT>) package maintainer; fixes and
107
-	      improvements.
108
-</LI>
109
-<LI>Jason Englander &lt;jason(.at.)englanders.cc&gt; - bug report:
110
-	      clamd recursive scanning of the directories on non standard
111
-	      file systems; configure script support for id checking. Database
112
-	      maintainer.
113
-</LI>
114
-<LI>Oden Eriksson &lt;oden.eriksson(.at.)kvikkjokk.net&gt; -
115
-	      Mandrake
116
-<BR>
117
-package maintainer.
118
-</LI>
119
-<LI>Edison Figueira Junior &lt;edison(.at.)brc.com.br&gt; - money
120
-	      donation.
121
-</LI>
122
-<LI>David Ford &lt;david+cert(.at.)blue-labs.org&gt; - gcc 3.x
123
-	      support fix.
124
-</LI>
125
-<LI>Piotr Gackiewicz &lt;gacek(.at.)intertele.pl&gt; - bug report:
126
-	      clamd
127
-<BR>
128
-THREXIT bug
129
-</LI>
130
-<LI>Nick Gazaloff &lt;nick(.at.)sbin.org&gt; - socket descriptors
131
-	      leak fix in clamd.
132
-</LI>
133
-<LI>Wieslaw Glod &lt;wkg(.at.)x2.pl&gt; - bug report: FreeBSD
134
-	      compile problem in 0.22.
135
-</LI>
136
-<LI>Matthew A. Grant &lt;grantma(.at.)anathoth.gen.nz&gt; -
137
-	      OpenAntiVirus Update script (<I>oav-update</I>)
138
-</LI>
139
-<LI>Hrvoje Habjanic &lt;hrvoje.habjanic(.at.)zg.hinet.hr&gt; -
140
-	      syslog support patch for clamd; virus provider.
141
-</LI>
142
-<LI>Michal Hajduczenia &lt;michalis(.at.)mat.uni.torun.pl&gt; - Clam
143
-	      title logo.
144
-</LI>
145
-<LI>Paul Hoadley &lt;paulh(.at.)logixsquad.net - "Installing
146
-	      qmail-scanner, Clam AntiVirus and SpamAssassin under FreeBSD"
147
-	      how-to.
148
-</LI>
149
-<LI>Thomas W. Holt Jr. &lt;twh(.at.)cohesive.net&gt; -
150
-	      information about ClamAV compiling on Solaris 2.6 and Cobalt
151
-	      MIPS boxes.
152
-</LI>
153
-<LI>Douglas J Hunley &lt;doug(.at.)hunley.homeip.net&gt; -
154
-<BR>
155
-clamav.linux-sxs.org mirror, ideas.
156
-</LI>
157
-<LI>Kurt Huwig &lt;kurt(.at.)iku-netz.de&gt; - smart suggestions,
158
-	      ScannerDaemon (OpenAntiVirus) author.
159
-</LI>
160
-<LI>Dave Jones &lt;dave(.at.)kalkbay.co.za&gt; - bug report: problem
161
-	      in option parser.
162
-</LI>
163
-<LI>Kazuhiko &lt;kazuhiko(.at.)fdiary.net&gt; - Qmail-Scanner 0.12
164
-	      support patch.
165
-</LI>
166
-<LI>Robbert Kouprie &lt;robbert(.at.)exx.nl&gt; - patch for unrarlib
167
-	      buffer overflow.
168
-</LI>
169
-<LI>Henk Kuipers &lt;henk(.at.)opensourcesolutions.nl&gt; - bug
170
-	      report:
171
-<BR>
172
-0.50 compile problem.
173
-</LI>
174
-<LI>Nigel Kukard &lt;nkukard(.at.)lbsd.net&gt; - virus signatures.
175
-</LI>
176
-<LI>Dr Andrzej Kurpiel &lt;akurpiel(.at.)mat.uni.torun.pl&gt; -
177
-	      choice of
178
-<BR>
179
-this project from my list.
180
-</LI>
181
-<LI>Dennis Leeuw &lt;dleeuw(.at.)made-it.com&gt; - <I>"Debian
182
-	      GNU/Linux Mail Server"</I> how-to, <B>corrections of this
183
-	      document</B>.
184
-</LI>
185
-<LI>Free Oscar &lt;freeoscar(.at.)wp.pl&gt; - hex2str() enhancement
186
-</LI>
187
-<LI>Martin Lesser &lt;admin-debian(.at.)bettercom.de&gt; - patch for
188
-	      the
189
-<BR>
190
-http-proxy problem in 0.51.
191
-</LI>
192
-<LI>Peter N Lewis &lt;peter(.at.)stairways.com.au&gt; - Mac OS X
193
-	      data type problem bugfix.
194
-</LI>
195
-<LI>Mike Loewen &lt;mloewen(.at.)sturgeon.cac.psu.edu&gt; - bug
196
-	      report:
197
-<BR>
198
-clamscan 0.24 compile error on Solaris 8; various
199
-	      Solaris and AIX tips.
200
-</LI>
201
-<LI>Stefan Martig &lt;sm(.at.)officeco.ch&gt; - bug report:
202
-	      /proc/cpuinfo problem analysis on Linux/Alpha, providing me with
203
-	      access to the Linux/Alpha system.
204
-</LI>
205
-<LI>Brian May &lt;bam(.at.)debian.org&gt; - bug report: clamd
206
-	      writing to an undefined file.
207
-</LI>
208
-<LI>Ken McKittrick &lt;klmac(.at.)usadatanet.com&gt; - intensive
209
-	      FreeBSD
210
-<BR>
211
-testing, hdd donation.
212
-</LI>
213
-<LI>Chris van Meerendonk &lt;cvm(.at.)castel.nl&gt; - virus
214
-	      samples, clamav.essentkabel.com mirror.
215
-</LI>
216
-<LI>Arkadiusz Miskiewicz &lt;misiek(.at.)pld.org.pl&gt; - Polish(ed)
217
-	      Linux
218
-<BR>
219
-Distribution (<TT><A NAME="tex2html31"
220
-  HREF="http://www.pld.org.pl">http://www.pld.org.pl</A></TT>) rpm package
221
-	      maintainer; fixes and ideas.
222
-</LI>
223
-<LI>Doug Monroe &lt;doug(.at.)planetconnect.com&gt; - Qmail-Scanner
224
-	      problem analysis.
225
-</LI>
226
-<LI>Hendrik Muhs &lt;Hendrik.Muhs(.at.)student.uni-magdeburg.de&gt;	      -
227
-<BR>
228
-pattern matcher optimization.
229
-</LI>
230
-<LI>Luca 'NERvOus' Gibelli &lt;nervous(.at.)nervous.it&gt; -
231
-	      ElektraPro.com administrator.
232
-</LI>
233
-<LI>Wojciech Noworyta &lt;wnow(.at.)konarski.edu.pl&gt; - bug
234
-	      report: buffer overflow in clamscan's help under Windows.
235
-</LI>
236
-<LI>Joe Oaks &lt;joe.oaks(.at.)hp.com&gt; - HPUX support.
237
-</LI>
238
-<LI>Washington Odhiambo &lt;wash(.at.)wananchi.com&gt; - extensive
239
-	      mbox
240
-<BR>
241
-code testing, bug reports.
242
-</LI>
243
-<LI>Masaki Ogawa &lt;proc(.at.)mac.com&gt; - Mac OS X support,
244
-	      Japanese documentation.
245
-</LI>
246
-<LI>Martijn van Oosterhout &lt;kleptog(.at.)svana.org&gt; - code
247
-	      analysis and suggestions.
248
-</LI>
249
-<LI>OpenAntiVirus.org Team - virus database.
250
-</LI>
251
-<LI>Eric Parsonage eric(.at.)eparsonage.com - "Installing
252
-	      qmail-scanner, Clam Antivirus and SpamAssassin under FreeBSD"
253
-	      how-to.
254
-</LI>
255
-<LI>Oliver Paukstadt &lt;pstadt(.at.)stud.fh-heilbronn.de&gt; - bug
256
-	      report: crash with strange Zip archives.
257
-</LI>
258
-<LI>Kristof Petr &lt;Kristof.P(.at.)fce.vutbr.cz&gt; - bug report:
259
-	      socket descriptors leak in clamd; file decriptors leak in
260
-	      clamd, clamscan and libclamav.
261
-</LI>
262
-<LI>Ed Phillips &lt;ed(.at.)UDel.Edu&gt; - patch for the internal
263
-	      logger in clamd.
264
-</LI>
265
-<LI>Andreas Piesk &lt;Andreas.Piesk(.at.)heise.de&gt; - clamd:
266
-<BR>
267
-ScannerDaemonOutputFormat option.
268
-</LI>
269
-<LI>Ant La Porte &lt;ant(.at.)dvere.net&gt; - proxy support
270
-	      enhancement.
271
-</LI>
272
-<LI>Sergei Pronin &lt;sp(.at.)finndesign.fi&gt; - bug report:
273
-	      access problems in superuser mode.
274
-</LI>
275
-<LI>Thomas Quinot &lt;thomas(.at.)cuivre.fr.eu.org&gt; - patch for
276
-<BR>
277
-non-default prefix and incoherent database location
278
-	      specification in defaults.h of clamscan and freshclam.
279
-</LI>
280
-<LI>David Sanchez &lt;dsanchez(.at.)veloxia.com&gt; - bug report:
281
-	      thread deadlocking
282
-<BR>
283
-in a critical error situation.
284
-</LI>
285
-<LI>Martin Schitter - bug report: libclamav crash on certain
286
-	      zip files.
287
-</LI>
288
-<LI>Enrico Scholz
289
-	      &lt;enrico.scholz(.at.)informatik.tu-chemnitz.de&gt; -
290
-	      daemonize() enhancements.
291
-</LI>
292
-<LI>Dr Zbigniew Szewczak &lt;zssz(.at.)mat.uni.torun.pl&gt; - ideas,
293
-	      suggestions and time spent on discussing some aspects of ClamAV.
294
-</LI>
295
-<LI>Gernot Tenchio &lt;g.tenchio(.at.)telco-tech.de&gt; - proxy
296
-	      authorization support in freshclam.
297
-</LI>
298
-<LI>Masahiro Teramoto &lt;markun@onohara.to&gt; - official FreeBSD
299
-	      port maintainer.
300
-</LI>
301
-<LI>Trashware trashware(.at.)gmx.net - TrashScan
302
-</LI>
303
-<LI>Troy Wollenslegel &lt;troy(.at.)intranet.org&gt; - bug report:
304
-	      handling inaccessible directories in archives.
305
-</LI>
306
-<LI>Andoni Zubimendi &lt;andoni(.at.)lpsat.net&gt; - fix for
307
-	      segmentation
308
-<BR>
309
-fault in 0.12 (NULL pointer dereference).
310
-    
311
-</LI>
312
-</UL>
59
+<H2><A NAME="SECTION000619000000000000000">
60
+nclamd</A>
61
+</H2>
62
+    <B>Homepage:</B> <TT><A NAME="tex2html43"
63
+  HREF="http://www.kyzo.com/nclamd">http://www.kyzo.com/nclamd</A></TT>
64
+<BR>    <B>Supports:</B> libclamav
65
+<BR>
66
+nclamd, nclamav-milter and nclamdscan are rewritten versions of the
67
+    original tools and use processes instead of threads and ripMIME instead
68
+    of the clamav built-in MIME decoder.
313 69
 
314 70
 <P>
315
-<HR>
316
-<!--Navigation Panel-->
317
-<A NAME="tex2html646"
318
-  HREF="node43.html">
319
-<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next"
320
- SRC="/usr/share/latex2html/icons/next.png"></A> 
321
-<A NAME="tex2html642"
322
-  HREF="clamdoc.html">
323
-<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up"
324
- SRC="/usr/share/latex2html/icons/up.png"></A> 
325
-<A NAME="tex2html636"
326
-  HREF="node41.html">
327
-<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous"
328
- SRC="/usr/share/latex2html/icons/prev.png"></A> 
329
-<A NAME="tex2html644"
330
-  HREF="node1.html">
331
-<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents"
332
- SRC="/usr/share/latex2html/icons/contents.png"></A>  
333
-<BR>
334
-<B> Next:</B> <A NAME="tex2html647"
335
-  HREF="node43.html">Authors</A>
336
-<B> Up:</B> <A NAME="tex2html643"
337
-  HREF="clamdoc.html">clamdoc</A>
338
-<B> Previous:</B> <A NAME="tex2html637"
339
-  HREF="node41.html">Scan engine</A>
340
- &nbsp <B>  <A NAME="tex2html645"
341
-  HREF="node1.html">Contents</A></B> 
342
-<!--End of Navigation Panel-->
71
+<BR><HR>
343 72
 <ADDRESS>
344 73
 Tomasz Kojm
345
-2003-06-21
74
+2003-11-11
346 75
 </ADDRESS>
347 76
 </BODY>
348 77
 </HTML>
... ...
@@ -7,8 +7,8 @@ original version by:  Nikos Drakos, CBLU, University of Leeds
7 7
   Jens Lippmann, Marek Rouchal, Martin Wilck and others -->
8 8
 <HTML>
9 9
 <HEAD>
10
-<TITLE>Authors</TITLE>
11
-<META NAME="description" CONTENT="Authors">
10
+<TITLE>cgpav</TITLE>
11
+<META NAME="description" CONTENT="cgpav">
12 12
 <META NAME="keywords" CONTENT="clamdoc">
13 13
 <META NAME="resource-type" CONTENT="document">
14 14
 <META NAME="distribution" CONTENT="global">
... ...
@@ -19,58 +19,57 @@ original version by:  Nikos Drakos, CBLU, University of Leeds
19 19
 
20 20
 <LINK REL="STYLESHEET" HREF="clamdoc.css">
21 21
 
22
-<LINK REL="next" HREF="node44.html">
23 22
 <LINK REL="previous" HREF="node42.html">
24
-<LINK REL="up" HREF="clamdoc.html">
23
+<LINK REL="up" HREF="node23.html">
25 24
 <LINK REL="next" HREF="node44.html">
26 25
 </HEAD>
27 26
 
28 27
 <BODY >
29 28
 <!--Navigation Panel-->
30
-<A NAME="tex2html658"
29
+<A NAME="tex2html709"
31 30
   HREF="node44.html">
32 31
 <IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next"
33 32
  SRC="/usr/share/latex2html/icons/next.png"></A> 
34
-<A NAME="tex2html654"
35
-  HREF="clamdoc.html">
33
+<A NAME="tex2html705"
34
+  HREF="node23.html">
36 35
 <IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up"
37 36
  SRC="/usr/share/latex2html/icons/up.png"></A> 
38
-<A NAME="tex2html648"
37
+<A NAME="tex2html701"
39 38
   HREF="node42.html">
40 39
 <IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous"
41 40
  SRC="/usr/share/latex2html/icons/prev.png"></A> 
42
-<A NAME="tex2html656"
41
+<A NAME="tex2html707"
43 42
   HREF="node1.html">
44 43
 <IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents"
45 44
  SRC="/usr/share/latex2html/icons/contents.png"></A>  
46 45
 <BR>
47
-<B> Next:</B> <A NAME="tex2html659"
48
-  HREF="node44.html">Bibliography</A>
49
-<B> Up:</B> <A NAME="tex2html655"
50
-  HREF="clamdoc.html">clamdoc</A>
51
-<B> Previous:</B> <A NAME="tex2html649"
52
-  HREF="node42.html">Credits</A>
53
- &nbsp <B>  <A NAME="tex2html657"
46
+<B> Next:</B> <A NAME="tex2html710"
47
+  HREF="node44.html">LibClamAV</A>
48
+<B> Up:</B> <A NAME="tex2html706"
49
+  HREF="node23.html">Compatible software</A>
50
+<B> Previous:</B> <A NAME="tex2html702"
51
+  HREF="node42.html">nclamd</A>
52
+ &nbsp <B>  <A NAME="tex2html708"
54 53
   HREF="node1.html">Contents</A></B> 
55 54
 <BR>
56 55
 <BR>
57 56
 <!--End of Navigation Panel-->
58 57
 
59
-<H1><A NAME="SECTION000100000000000000000">
60
-Authors</A>
61
-</H1>
62
-    Nigel Horne &lt;njh(.at.)bandsman.co.uk&gt; is an active ClamAV developer
63
-    responsible for the mbox code in libclamav and clamav-milter. I take care
64
-    most of these things are working ;) If you have some questions, feel free
65
-    to mail us.
58
+<H2><A NAME="SECTION000620000000000000000">
59
+cgpav</A>
60
+</H2>
61
+    <B>Homepage:</B> <TT><A NAME="tex2html44"
62
+  HREF="http://program.farit.ru">http://program.farit.ru</A></TT>
63
+<BR>    <B>Supports:</B> clamd
66 64
 <BR>
67
-<P>
68
-Tomasz Kojm &lt;zolw(.at.)konarski.edu.pl&gt;
65
+This is a fast (written in C) CommuniGate Pro anti-virus plugin with
66
+    support for clamd.
67
+
69 68
 <P>
70 69
 <BR><HR>
71 70
 <ADDRESS>
72 71
 Tomasz Kojm
73
-2003-06-21
72
+2003-11-11
74 73
 </ADDRESS>
75 74
 </BODY>
76 75
 </HTML>
... ...
@@ -7,8 +7,8 @@ original version by:  Nikos Drakos, CBLU, University of Leeds
7 7
   Jens Lippmann, Marek Rouchal, Martin Wilck and others -->
8 8
 <HTML>
9 9
 <HEAD>
10
-<TITLE>Bibliography</TITLE>
11
-<META NAME="description" CONTENT="Bibliography">
10
+<TITLE>LibClamAV</TITLE>
11
+<META NAME="description" CONTENT="LibClamAV">
12 12
 <META NAME="keywords" CONTENT="clamdoc">
13 13
 <META NAME="resource-type" CONTENT="document">
14 14
 <META NAME="distribution" CONTENT="global">
... ...
@@ -19,57 +19,71 @@ original version by:  Nikos Drakos, CBLU, University of Leeds
19 19
 
20 20
 <LINK REL="STYLESHEET" HREF="clamdoc.css">
21 21
 
22
-<LINK REL="next" HREF="node45.html">
23
-<LINK REL="previous" HREF="node43.html">
22
+<LINK REL="next" HREF="node49.html">
23
+<LINK REL="previous" HREF="node23.html">
24 24
 <LINK REL="up" HREF="clamdoc.html">
25 25
 <LINK REL="next" HREF="node45.html">
26 26
 </HEAD>
27 27
 
28 28
 <BODY >
29 29
 <!--Navigation Panel-->
30
-<A NAME="tex2html670"
30
+<A NAME="tex2html721"
31 31
   HREF="node45.html">
32 32
 <IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next"
33 33
  SRC="/usr/share/latex2html/icons/next.png"></A> 
34
-<A NAME="tex2html666"
34
+<A NAME="tex2html717"
35 35
   HREF="clamdoc.html">
36 36
 <IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up"
37 37
  SRC="/usr/share/latex2html/icons/up.png"></A> 
38
-<A NAME="tex2html660"
38
+<A NAME="tex2html711"
39 39
   HREF="node43.html">
40 40
 <IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous"
41 41
  SRC="/usr/share/latex2html/icons/prev.png"></A> 
42
-<A NAME="tex2html668"
42
+<A NAME="tex2html719"
43 43
   HREF="node1.html">
44 44
 <IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents"
45 45
  SRC="/usr/share/latex2html/icons/contents.png"></A>  
46 46
 <BR>
47
-<B> Next:</B> <A NAME="tex2html671"
48
-  HREF="node45.html">About this document ...</A>
49
-<B> Up:</B> <A NAME="tex2html667"
47
+<B> Next:</B> <A NAME="tex2html722"
48
+  HREF="node45.html">General API</A>
49
+<B> Up:</B> <A NAME="tex2html718"
50 50
   HREF="clamdoc.html">clamdoc</A>
51
-<B> Previous:</B> <A NAME="tex2html661"
52
-  HREF="node43.html">Authors</A>
53
- &nbsp <B>  <A NAME="tex2html669"
51
+<B> Previous:</B> <A NAME="tex2html712"
52
+  HREF="node43.html">cgpav</A>
53
+ &nbsp <B>  <A NAME="tex2html720"
54 54
   HREF="node1.html">Contents</A></B> 
55
-<BR><BR>
55
+<BR>
56
+<BR>
56 57
 <!--End of Navigation Panel-->
57
- 
58
-<H2><A NAME="SECTION000110000000000000000">
59
-Bibliography</A>
60
-</H2><DL COMPACT><DD><P></P><DT><A NAME="clr">1</A>
61
-<DD>
62
-	    Cormen, Leiserson, Rivest: <I>Introduction to Algorithms</I>,
63
-	    Chapter 34, MIT Press.
64
-	<P></P><DT><A NAME="acwww">2</A>
65
-<DD>
66
-	    <FONT SIZE="-1">	    <TT><A NAME="tex2html32"
67
-  HREF="http://www-sr.informatik.uni-tuebingen.de/~buehler/AC/AC.html">http://www-sr.informatik.uni-tuebingen.de/~buehler/AC/AC.html</A></TT></FONT>:
68
-	    Aho-Corasick algorithm description
69
-</DL><BR><HR>
58
+
59
+<H1><A NAME="SECTION00070000000000000000">
60
+LibClamAV</A>
61
+</H1>
62
+    libclamav may be used to add a virus protection to your software.
63
+    The library is thread-safe, automatically recognizes and scans
64
+    archives. Scanning is very fast - in most cases it won't be even
65
+    noticeable.
66
+
67
+<P>
68
+<BR><HR>
69
+<!--Table of Child-Links-->
70
+<A NAME="CHILD_LINKS"><STRONG>Subsections</STRONG></A>
71
+
72
+<UL>
73
+<LI><A NAME="tex2html723"
74
+  HREF="node45.html">General API</A>
75
+<LI><A NAME="tex2html724"
76
+  HREF="node46.html">Database reloading</A>
77
+<LI><A NAME="tex2html725"
78
+  HREF="node47.html">Scan engine</A>
79
+<LI><A NAME="tex2html726"
80
+  HREF="node48.html">CVD format</A>
81
+</UL>
82
+<!--End of Table of Child-Links-->
83
+<BR><HR>
70 84
 <ADDRESS>
71 85
 Tomasz Kojm
72
-2003-06-21
86
+2003-11-11
73 87
 </ADDRESS>
74 88
 </BODY>
75 89
 </HTML>
... ...
@@ -7,8 +7,8 @@ original version by:  Nikos Drakos, CBLU, University of Leeds
7 7
   Jens Lippmann, Marek Rouchal, Martin Wilck and others -->
8 8
 <HTML>
9 9
 <HEAD>
10
-<TITLE>About this document ...</TITLE>
11
-<META NAME="description" CONTENT="About this document ...">
10
+<TITLE>General API</TITLE>
11
+<META NAME="description" CONTENT="General API">
12 12
 <META NAME="keywords" CONTENT="clamdoc">
13 13
 <META NAME="resource-type" CONTENT="document">
14 14
 <META NAME="distribution" CONTENT="global">
... ...
@@ -19,61 +19,193 @@ original version by:  Nikos Drakos, CBLU, University of Leeds
19 19
 
20 20
 <LINK REL="STYLESHEET" HREF="clamdoc.css">
21 21
 
22
+<LINK REL="next" HREF="node46.html">
22 23
 <LINK REL="previous" HREF="node44.html">
23
-<LINK REL="up" HREF="clamdoc.html">
24
+<LINK REL="up" HREF="node44.html">
25
+<LINK REL="next" HREF="node46.html">
24 26
 </HEAD>
25 27
 
26 28
 <BODY >
27 29
 <!--Navigation Panel-->
30
+<A NAME="tex2html737"
31
+  HREF="node46.html">
28 32
 <IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next"
29
- SRC="/usr/share/latex2html/icons/next_g.png"> 
30
-<A NAME="tex2html676"
31
-  HREF="clamdoc.html">
33
+ SRC="/usr/share/latex2html/icons/next.png"></A> 
34
+<A NAME="tex2html733"
35
+  HREF="node44.html">
32 36
 <IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up"
33 37
  SRC="/usr/share/latex2html/icons/up.png"></A> 
34
-<A NAME="tex2html672"
38
+<A NAME="tex2html727"
35 39
   HREF="node44.html">
36 40
 <IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous"
37 41
  SRC="/usr/share/latex2html/icons/prev.png"></A> 
38
-<A NAME="tex2html678"
42
+<A NAME="tex2html735"
39 43
   HREF="node1.html">
40 44
 <IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents"
41 45
  SRC="/usr/share/latex2html/icons/contents.png"></A>  
42 46
 <BR>
43
-<B> Up:</B> <A NAME="tex2html677"
44
-  HREF="clamdoc.html">clamdoc</A>
45
-<B> Previous:</B> <A NAME="tex2html673"
46
-  HREF="node44.html">Bibliography</A>
47
- &nbsp <B>  <A NAME="tex2html679"
47
+<B> Next:</B> <A NAME="tex2html738"
48
+  HREF="node46.html">Database reloading</A>
49
+<B> Up:</B> <A NAME="tex2html734"
50
+  HREF="node44.html">LibClamAV</A>
51
+<B> Previous:</B> <A NAME="tex2html728"
52
+  HREF="node44.html">LibClamAV</A>
53
+ &nbsp <B>  <A NAME="tex2html736"
48 54
   HREF="node1.html">Contents</A></B> 
49 55
 <BR>
50 56
 <BR>
51 57
 <!--End of Navigation Panel-->
52 58
 
53
-<H1><A NAME="SECTION000120000000000000000">
54
-About this document ...</A>
55
-</H1>
56
- <P>
57
-This document was generated using the
58
-<A HREF="http://www-texdev.mpce.mq.edu.au/l2h/docs/manual/"><STRONG>LaTeX</STRONG>2<tt>HTML</tt></A> translator Version 2K.1beta (1.48)
59
+<H2><A NAME="SECTION00071000000000000000">
60
+General API</A>
61
+</H2>
62
+    Every program based on libclamav must include the <I>clamav.h</I> header
63
+    file:
64
+    <PRE>
65
+	#include &lt;clamav.h&gt;
66
+</PRE>
67
+    A first step is to initialize the scanning engine. There are three
68
+    functions available:
69
+    <PRE>
70
+	int cl_loaddb(const char *filename, struct cl_node **root,
71
+	int *virnum);
72
+
73
+	int cl_loaddbdir(const char *dirname, struct cl_node **root,
74
+	int *virnum);
75
+
76
+	char *cl_retdbdir(void);
77
+</PRE>
78
+    <I>cl_loaddb()</I> loads a particular database, <I>cl_loaddbdir()</I>
79
+    loads all <I>.cvd</I> (and older <I>.db</I>, .db2) databases from a
80
+    directory <I>dirname</I>. <I>cl_retdbdir()</I> returns a hardcoded
81
+    database directory path. Initial internal database (Aho-Corasick tree,
82
+    trie; see <A HREF="node47.html#engine">6.3</A>) will be saved under <I>root</I> and a number of
83
+    signatures loaded will be <B>added</B> <A NAME="tex2html45"
84
+  HREF="footnode.html#foot510"><SUP>7</SUP></A> to <I>virnum</I>. Pointer to the trie
85
+    must initially point to NULL. If you don't care about number of signatures
86
+    pass NULL as a third argument. <I>cl_loaddb</I> functions return 0 on
87
+    success and other value on failure.
88
+    <PRE>
89
+	    struct cl_node *root = NULL;
90
+	    int ret;
91
+
92
+	ret = cl_loaddbdir(cl_retdbdir(), &amp;root, NULL);
93
+</PRE>
94
+    There's an elegant way to print libclamav's error codes:
95
+    <PRE>
96
+	char *cl_strerror(int clerror);
97
+</PRE>
98
+    <I>cl_strerror()</I> returns a (statically allocated) string describing
99
+    a <I>clerror</I> code:
100
+    <PRE>
101
+	if(ret) {
102
+	    printf("cl_loaddbdir() error: %s\n", cl_strerror(ret));
103
+	    exit(1);
104
+	}
105
+</PRE>
106
+    When database is loaded you must build the final trie with:
107
+    <PRE>
108
+	void cl_buildtrie(struct cl_node *root);
109
+</PRE>
110
+    In our example:
111
+    <PRE>
112
+	cl_buildtrie(root);
113
+</PRE>
114
+    OK, now you can scan a buffer, a descriptor or a file with:
115
+    <PRE>
116
+	int cl_scanbuff(const char *buffer, unsigned int length,
117
+	char **virname, const struct cl_node *root);
118
+
119
+	int cl_scandesc(int desc, char **virname, unsigned long int
120
+	*scanned, const struct cl_node *root, const struct cl_limits
121
+	*limits, int options);
122
+
123
+	int cl_scanfile(const char *filename, char **virname,
124
+	unsigned long int *scanned, const struct cl_node *root,
125
+	const struct cl_limits *limits, int options);
126
+</PRE>
127
+    All the functions save a virus name address under <I>virname</I> pointer.
128
+    <I>virname</I> points to a name in the trie structure thus it can't be
129
+    released directly. <I>cl_scandesc()</I> and <I>cl_scanfile()</I> can
130
+    increase the <I>scanned</I> value in CL_COUNT_PRECISION units, they also
131
+    support archive limits:
132
+    <PRE>
133
+	struct cl_limits {
134
+	    int maxreclevel;
135
+	    int maxfiles;
136
+	    long int maxfilesize;
137
+	};
138
+</PRE>
139
+    The last argument configures scan engine. Currently it supports
140
+    <B>CL_ARCHIVE</B> (enables archive scanning), <B>CL_RAW</B>
141
+    (disables archive scanning) and <B>CL_MAIL</B> (enables mbox
142
+    and Maildir scanning) and <B>CL_DISABLERAR</B> (disables the built-in
143
+    RAR unpacker which leaks like hell). These functions return 0
144
+    (<B>CL_CLEAN</B>) when no virus is found, <B>CL_VIRUS</B> when virus
145
+    is found and other value on failure.
146
+    <PRE>
147
+	    struct cl_limits limits;
148
+	    char *virname;
149
+
150
+	/* maximal number of files in archive */;
151
+	limits.maxfiles = 1000
152
+	/* maximal archived file size == 10 MB */
153
+	limits.maxfilesize = 10 * 1048576;
154
+	/* maximal recursion level */
155
+	limits.maxreclevel = 5;
156
+
157
+	if((ret = cl_scanfile("/home/zolw/test", &amp;virname, NULL, root,
158
+	&amp;limits, CL_ARCHIVE)) == CL_VIRUS) {
159
+	    printf("Detected %s virus.\n", virname);
160
+	} else {
161
+	    printf("No virus detected.\n");
162
+	    if(ret != CL_CLEAN)
163
+	        printf("Error: %s\n", cl_strerror(ret));
164
+	}
165
+</PRE>
166
+    Release the trie if you no longer need it:
167
+    <PRE>
168
+	void cl_freetrie(struct cl_node *root);
169
+</PRE>
170
+    You will find an example scanner in clamav sources (/example). Program
171
+    based on libclamav must be linked against it:
172
+    <PRE>
173
+	gcc -Wall ex1.c -o ex1 -lclamav
174
+</PRE>
175
+    Enjoy !
176
+
59 177
 <P>
60
-Copyright &#169; 1993, 1994, 1995, 1996,
61
-<A HREF="http://cbl.leeds.ac.uk/nikos/personal.html">Nikos Drakos</A>, 
62
-Computer Based Learning Unit, University of Leeds.
178
+<HR>
179
+<!--Navigation Panel-->
180
+<A NAME="tex2html737"
181
+  HREF="node46.html">
182
+<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next"
183
+ SRC="/usr/share/latex2html/icons/next.png"></A> 
184
+<A NAME="tex2html733"
185
+  HREF="node44.html">
186
+<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up"
187
+ SRC="/usr/share/latex2html/icons/up.png"></A> 
188
+<A NAME="tex2html727"
189
+  HREF="node44.html">
190
+<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous"
191
+ SRC="/usr/share/latex2html/icons/prev.png"></A> 
192
+<A NAME="tex2html735"
193
+  HREF="node1.html">
194
+<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents"
195
+ SRC="/usr/share/latex2html/icons/contents.png"></A>  
63 196
 <BR>
64
-Copyright &#169; 1997, 1998, 1999,
65
-<A HREF="http://www.maths.mq.edu.au/~ross/">Ross Moore</A>, 
66
-Mathematics Department, Macquarie University, Sydney.
67
-<P>
68
-The command line arguments were: <BR>
69
- <STRONG>latex2html</STRONG> <TT><A NAME="tex2html33"
70
-  HREF="../clamdoc.tex">clamdoc.tex</A></TT>
71
-<P>
72
-The translation was initiated by Tomasz Kojm on 2003-06-21
73
-<BR><HR>
197
+<B> Next:</B> <A NAME="tex2html738"
198
+  HREF="node46.html">Database reloading</A>
199
+<B> Up:</B> <A NAME="tex2html734"
200
+  HREF="node44.html">LibClamAV</A>
201
+<B> Previous:</B> <A NAME="tex2html728"
202
+  HREF="node44.html">LibClamAV</A>
203
+ &nbsp <B>  <A NAME="tex2html736"
204
+  HREF="node1.html">Contents</A></B> 
205
+<!--End of Navigation Panel-->
74 206
 <ADDRESS>
75 207
 Tomasz Kojm
76
-2003-06-21
208
+2003-11-11
77 209
 </ADDRESS>
78 210
 </BODY>
79 211
 </HTML>
... ...
@@ -26,30 +26,30 @@ original version by:  Nikos Drakos, CBLU, University of Leeds
26 26
 
27 27
 <BODY >
28 28
 <!--Navigation Panel-->
29
-<A NAME="tex2html184"
29
+<A NAME="tex2html227"
30 30
   HREF="node6.html">
31 31
 <IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next"
32 32
  SRC="/usr/share/latex2html/icons/next.png"></A> 
33
-<A NAME="tex2html180"
33
+<A NAME="tex2html223"
34 34
   HREF="node2.html">
35 35
 <IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up"
36 36
  SRC="/usr/share/latex2html/icons/up.png"></A> 
37
-<A NAME="tex2html176"
37
+<A NAME="tex2html219"
38 38
   HREF="node4.html">
39 39
 <IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous"
40 40
  SRC="/usr/share/latex2html/icons/prev.png"></A> 
41
-<A NAME="tex2html182"
41
+<A NAME="tex2html225"
42 42
   HREF="node1.html">
43 43
 <IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents"
44 44
  SRC="/usr/share/latex2html/icons/contents.png"></A>  
45 45
 <BR>
46
-<B> Next:</B> <A NAME="tex2html185"
46
+<B> Next:</B> <A NAME="tex2html228"
47 47
   HREF="node6.html">Installation</A>
48
-<B> Up:</B> <A NAME="tex2html181"
48
+<B> Up:</B> <A NAME="tex2html224"
49 49
   HREF="node2.html">Introduction</A>
50
-<B> Previous:</B> <A NAME="tex2html177"
50
+<B> Previous:</B> <A NAME="tex2html220"
51 51
   HREF="node4.html">Mailing lists</A>
52
- &nbsp <B>  <A NAME="tex2html183"
52
+ &nbsp <B>  <A NAME="tex2html226"
53 53
   HREF="node1.html">Contents</A></B> 
54 54
 <BR>
55 55
 <BR>
... ...
@@ -58,19 +58,29 @@ original version by:  Nikos Drakos, CBLU, University of Leeds
58 58
 <H2><A NAME="SECTION00023000000000000000">
59 59
 Virus submitting</A>
60 60
 </H2>
61
-    If you have a virus that is not detected by ClamAV with the latest database,
62
-    please send it (as a normal attachment) to:
61
+    If you have got a virus that is not detected by your ClamAV with latest
62
+    databases, please check it with the <I>ClamAV Online Specimen Scanner</I>:
63 63
     <DIV ALIGN="CENTER">
64
-virus@clamav.elektrapro.com
64
+<TT><A NAME="tex2html3"
65
+  HREF="http://www.gietl.com/test-clamav">http://www.gietl.com/test-clamav</A></TT>
65 66
 </DIV>
66
-If your system doesn't allow you to send infected files, please
67
-    archive the virus sample into a zip archive with password: <I>virus</I>
67
+and then submit on our website:
68
+    <DIV ALIGN="CENTER">
69
+<TT><A NAME="tex2html4"
70
+  HREF="http://www.clamav.net/cgi-bin/sendvirus.cgi">http://www.clamav.net/cgi-bin/sendvirus.cgi</A></TT>
71
+</DIV>
72
+Alternatively you can send it to this address:
73
+    <DIV ALIGN="CENTER">
74
+virus*clamav.net
75
+</DIV>
76
+If your system doesn't allow to send infected files, please
77
+    create a zip archive protected with the password: <I>virus</I>
68 78
 
69 79
 <P>
70 80
 <BR><HR>
71 81
 <ADDRESS>
72 82
 Tomasz Kojm
73
-2003-06-21
83
+2003-11-11
74 84
 </ADDRESS>
75 85
 </BODY>
76 86
 </HTML>
... ...
@@ -19,7 +19,7 @@ original version by:  Nikos Drakos, CBLU, University of Leeds
19 19
 
20 20
 <LINK REL="STYLESHEET" HREF="clamdoc.css">
21 21
 
22
-<LINK REL="next" HREF="node16.html">
22
+<LINK REL="next" HREF="node15.html">
23 23
 <LINK REL="previous" HREF="node2.html">
24 24
 <LINK REL="up" HREF="clamdoc.html">
25 25
 <LINK REL="next" HREF="node7.html">
... ...
@@ -27,30 +27,30 @@ original version by:  Nikos Drakos, CBLU, University of Leeds
27 27
 
28 28
 <BODY >
29 29
 <!--Navigation Panel-->
30
-<A NAME="tex2html196"
30
+<A NAME="tex2html239"
31 31
   HREF="node7.html">
32 32
 <IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next"
33 33
  SRC="/usr/share/latex2html/icons/next.png"></A> 
34
-<A NAME="tex2html192"
34
+<A NAME="tex2html235"
35 35
   HREF="clamdoc.html">
36 36
 <IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up"
37 37
  SRC="/usr/share/latex2html/icons/up.png"></A> 
38
-<A NAME="tex2html186"
38
+<A NAME="tex2html229"
39 39
   HREF="node5.html">
40 40
 <IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous"
41 41
  SRC="/usr/share/latex2html/icons/prev.png"></A> 
42
-<A NAME="tex2html194"
42
+<A NAME="tex2html237"
43 43
   HREF="node1.html">
44 44
 <IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents"
45 45
  SRC="/usr/share/latex2html/icons/contents.png"></A>  
46 46
 <BR>
47
-<B> Next:</B> <A NAME="tex2html197"
47
+<B> Next:</B> <A NAME="tex2html240"
48 48
   HREF="node7.html">Requirements</A>
49
-<B> Up:</B> <A NAME="tex2html193"
49
+<B> Up:</B> <A NAME="tex2html236"
50 50
   HREF="clamdoc.html">clamdoc</A>
51
-<B> Previous:</B> <A NAME="tex2html187"
51
+<B> Previous:</B> <A NAME="tex2html230"
52 52
   HREF="node5.html">Virus submitting</A>
53
- &nbsp <B>  <A NAME="tex2html195"
53
+ &nbsp <B>  <A NAME="tex2html238"
54 54
   HREF="node1.html">Contents</A></B> 
55 55
 <BR>
56 56
 <BR>
... ...
@@ -66,30 +66,28 @@ Installation</A>
66 66
 <A NAME="CHILD_LINKS"><STRONG>Subsections</STRONG></A>
67 67
 
68 68
 <UL>
69
-<LI><A NAME="tex2html198"
69
+<LI><A NAME="tex2html241"
70 70
   HREF="node7.html">Requirements</A>
71
-<LI><A NAME="tex2html199"
71
+<LI><A NAME="tex2html242"
72 72
   HREF="node8.html">Supported platforms</A>
73
-<LI><A NAME="tex2html200"
74
-  HREF="node9.html">Actual versions</A>
75
-<LI><A NAME="tex2html201"
76
-  HREF="node10.html">Binary packages</A>
77
-<LI><A NAME="tex2html202"
78
-  HREF="node11.html">Installation</A>
79
-<LI><A NAME="tex2html203"
80
-  HREF="node12.html">Configuration</A>
81
-<LI><A NAME="tex2html204"
82
-  HREF="node13.html">Testing</A>
83
-<LI><A NAME="tex2html205"
84
-  HREF="node14.html">FreshClam: Setting up auto-updating</A>
85
-<LI><A NAME="tex2html206"
86
-  HREF="node15.html">FreshClam: Mirrors and mirrors.txt</A>
73
+<LI><A NAME="tex2html243"
74
+  HREF="node9.html">Binary packages</A>
75
+<LI><A NAME="tex2html244"
76
+  HREF="node10.html">Installation</A>
77
+<LI><A NAME="tex2html245"
78
+  HREF="node11.html">Configuration</A>
79
+<LI><A NAME="tex2html246"
80
+  HREF="node12.html">Testing</A>
81
+<LI><A NAME="tex2html247"
82
+  HREF="node13.html">freshclam: Setting up auto-updating</A>
83
+<LI><A NAME="tex2html248"
84
+  HREF="node14.html">freshclam: Mirrors and mirrors.txt</A>
87 85
 </UL>
88 86
 <!--End of Table of Child-Links-->
89 87
 <BR><HR>
90 88
 <ADDRESS>
91 89
 Tomasz Kojm
92
-2003-06-21
90
+2003-11-11
93 91
 </ADDRESS>
94 92
 </BODY>
95 93
 </HTML>
... ...
@@ -27,30 +27,30 @@ original version by:  Nikos Drakos, CBLU, University of Leeds
27 27
 
28 28
 <BODY >
29 29
 <!--Navigation Panel-->
30
-<A NAME="tex2html217"
30
+<A NAME="tex2html259"
31 31
   HREF="node8.html">
32 32
 <IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next"
33 33
  SRC="/usr/share/latex2html/icons/next.png"></A> 
34
-<A NAME="tex2html213"
34
+<A NAME="tex2html255"
35 35
   HREF="node6.html">
36 36
 <IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up"
37 37
  SRC="/usr/share/latex2html/icons/up.png"></A> 
38
-<A NAME="tex2html207"
38
+<A NAME="tex2html249"
39 39
   HREF="node6.html">
40 40
 <IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous"
41 41
  SRC="/usr/share/latex2html/icons/prev.png"></A> 
42
-<A NAME="tex2html215"
42
+<A NAME="tex2html257"
43 43
   HREF="node1.html">
44 44
 <IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents"
45 45
  SRC="/usr/share/latex2html/icons/contents.png"></A>  
46 46
 <BR>
47
-<B> Next:</B> <A NAME="tex2html218"
47
+<B> Next:</B> <A NAME="tex2html260"
48 48
   HREF="node8.html">Supported platforms</A>
49
-<B> Up:</B> <A NAME="tex2html214"
49
+<B> Up:</B> <A NAME="tex2html256"
50 50
   HREF="node6.html">Installation</A>
51
-<B> Previous:</B> <A NAME="tex2html208"
51
+<B> Previous:</B> <A NAME="tex2html250"
52 52
   HREF="node6.html">Installation</A>
53
- &nbsp <B>  <A NAME="tex2html216"
53
+ &nbsp <B>  <A NAME="tex2html258"
54 54
   HREF="node1.html">Contents</A></B> 
55 55
 <BR>
56 56
 <BR>
... ...
@@ -62,13 +62,18 @@ Requirements</A>
62 62
     You will need the <I>zlib</I> and <I>zlib-devel</I> packages and the
63 63
     <I>gcc</I> compiler (both 2.9x and 3.x are supported). You can install
64 64
     the <I>bzip2</I> library (and its development files) to get bzip2
65
-    support, but this is not required.
66
-
65
+    support, but it's not required. <B>It's highly recommended to install
66
+    the GNU MP 3 library in order to enable support for a database digital
67
+    signatures.</B>
68
+<BR>    <I><B>SOLARIS TIP:</B> You should set the <I>ABI</I> system variable
69
+    to 32 (e.g. <B>setenv ABI 32</B>) before running GMP's configure.</I>
70
+    <A NAME="tex2html5"
71
+  HREF="footnode.html#foot113"><SUP>2</SUP></A>
67 72
 <P>
68 73
 <BR><HR>
69 74
 <ADDRESS>
70 75
 Tomasz Kojm
71
-2003-06-21
76
+2003-11-11
72 77
 </ADDRESS>
73 78
 </BODY>
74 79
 </HTML>
... ...
@@ -27,30 +27,30 @@ original version by:  Nikos Drakos, CBLU, University of Leeds
27 27
 
28 28
 <BODY >
29 29
 <!--Navigation Panel-->
30
-<A NAME="tex2html229"
30
+<A NAME="tex2html271"
31 31
   HREF="node9.html">
32 32
 <IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next"
33 33
  SRC="/usr/share/latex2html/icons/next.png"></A> 
34
-<A NAME="tex2html225"
34
+<A NAME="tex2html267"
35 35
   HREF="node6.html">
36 36
 <IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up"
37 37
  SRC="/usr/share/latex2html/icons/up.png"></A> 
38
-<A NAME="tex2html219"
38
+<A NAME="tex2html261"
39 39
   HREF="node7.html">
40 40
 <IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous"
41 41
  SRC="/usr/share/latex2html/icons/prev.png"></A> 
42
-<A NAME="tex2html227"
42
+<A NAME="tex2html269"
43 43
   HREF="node1.html">
44 44
 <IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents"
45 45
  SRC="/usr/share/latex2html/icons/contents.png"></A>  
46 46
 <BR>
47
-<B> Next:</B> <A NAME="tex2html230"
48
-  HREF="node9.html">Actual versions</A>
49
-<B> Up:</B> <A NAME="tex2html226"
47
+<B> Next:</B> <A NAME="tex2html272"
48
+  HREF="node9.html">Binary packages</A>
49
+<B> Up:</B> <A NAME="tex2html268"
50 50
   HREF="node6.html">Installation</A>
51
-<B> Previous:</B> <A NAME="tex2html220"
51
+<B> Previous:</B> <A NAME="tex2html262"
52 52
   HREF="node7.html">Requirements</A>
53
- &nbsp <B>  <A NAME="tex2html228"
53
+ &nbsp <B>  <A NAME="tex2html270"
54 54
   HREF="node1.html">Contents</A></B> 
55 55
 <BR>
56 56
 <BR>
... ...
@@ -89,14 +89,14 @@ Supported platforms</A>
89 89
 </UL>
90 90
 
91 91
 <P>
92
-Some features may not be available with your operating system. If you have
92
+Some features may not be available on your operating system. If you have
93 93
     run Clam AntiVirus on the system not listed above, please let us know.
94 94
 
95 95
 <P>
96 96
 <BR><HR>
97 97
 <ADDRESS>
98 98
 Tomasz Kojm
99
-2003-06-21
99
+2003-11-11
100 100
 </ADDRESS>
101 101
 </BODY>
102 102
 </HTML>
... ...
@@ -7,8 +7,8 @@ original version by:  Nikos Drakos, CBLU, University of Leeds
7 7
   Jens Lippmann, Marek Rouchal, Martin Wilck and others -->
8 8
 <HTML>
9 9
 <HEAD>
10
-<TITLE>Actual versions</TITLE>
11
-<META NAME="description" CONTENT="Actual versions">
10
+<TITLE>Binary packages</TITLE>
11
+<META NAME="description" CONTENT="Binary packages">
12 12
 <META NAME="keywords" CONTENT="clamdoc">
13 13
 <META NAME="resource-type" CONTENT="document">
14 14
 <META NAME="distribution" CONTENT="global">
... ...
@@ -27,54 +27,61 @@ original version by:  Nikos Drakos, CBLU, University of Leeds
27 27
 
28 28
 <BODY >
29 29
 <!--Navigation Panel-->
30
-<A NAME="tex2html241"
30
+<A NAME="tex2html283"
31 31
   HREF="node10.html">
32 32
 <IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next"
33 33
  SRC="/usr/share/latex2html/icons/next.png"></A> 
34
-<A NAME="tex2html237"
34
+<A NAME="tex2html279"
35 35
   HREF="node6.html">
36 36
 <IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up"
37 37
  SRC="/usr/share/latex2html/icons/up.png"></A> 
38
-<A NAME="tex2html231"
38
+<A NAME="tex2html273"
39 39
   HREF="node8.html">
40 40
 <IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous"
41 41
  SRC="/usr/share/latex2html/icons/prev.png"></A> 
42
-<A NAME="tex2html239"
42
+<A NAME="tex2html281"
43 43
   HREF="node1.html">
44 44
 <IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents"
45 45
  SRC="/usr/share/latex2html/icons/contents.png"></A>  
46 46
 <BR>
47
-<B> Next:</B> <A NAME="tex2html242"
48
-  HREF="node10.html">Binary packages</A>
49
-<B> Up:</B> <A NAME="tex2html238"
47
+<B> Next:</B> <A NAME="tex2html284"
48
+  HREF="node10.html">Installation</A>
49
+<B> Up:</B> <A NAME="tex2html280"
50 50
   HREF="node6.html">Installation</A>
51
-<B> Previous:</B> <A NAME="tex2html232"
51
+<B> Previous:</B> <A NAME="tex2html274"
52 52
   HREF="node8.html">Supported platforms</A>
53
- &nbsp <B>  <A NAME="tex2html240"
53
+ &nbsp <B>  <A NAME="tex2html282"
54 54
   HREF="node1.html">Contents</A></B> 
55 55
 <BR>
56 56
 <BR>
57 57
 <!--End of Navigation Panel-->
58 58
 
59 59
 <H2><A NAME="SECTION00033000000000000000">
60
-Actual versions</A>
60
+Binary packages</A>
61 61
 </H2>
62
-    Clam AntiVirus can be obtained from: <BR>    <DIV ALIGN="CENTER">
63
-<TT><A NAME="tex2html5"
64
-  HREF="http://clamav.elektrapro.com">http://clamav.elektrapro.com</A></TT>
65
-<BR>
66
-<BR>
67
-    
68
-</DIV>
69
-
70
-<P>
71
-The site is sponsored by ElektraPro.com
62
+    There are high quality <I>deb</I> and <I>rpm</I> packages available
63
+    for Linux. The Debian package is maintained by Magnus Ekdahl and you will
64
+    find it on debian mirrors, <TT><A NAME="tex2html6"
65
+  HREF="http://www.debian.org">http://www.debian.org</A></TT>.
66
+    The RPM package is maintained by Arkadiusz Miskiewicz and is distributed
67
+    with Polish(ed) Linux Distribution (<TT><A NAME="tex2html7"
68
+  HREF="ftp://ftp.pld.org.pl">ftp://ftp.pld.org.pl</A></TT>). There is
69
+    also available an official RPM package for Mandrake (maintained by Oden
70
+    Eriksson) and binary package for AIX in AIX PDSLIB, UCLA
71
+    <TT><A NAME="tex2html8"
72
+  HREF="http://aixpdslib.seas.ucla.edu/packages/clamav.html">http://aixpdslib.seas.ucla.edu/packages/clamav.html</A></TT>. BSD ports are
73
+    available for Free, Net and OpenBSD. The official FreeBSD port is
74
+    maintained by Masahiro Teramoto. The official port for NetBSD is maintained
75
+    by UNKNOWN. The unofficial port for OpenBSD (maintained by Flinn Mueller)
76
+    is available at:
77
+<BR>    <TT><A NAME="tex2html9"
78
+  HREF="http://www.activeintra.net/openbsd/article.php?id=5">http://www.activeintra.net/openbsd/article.php?id=5</A></TT>.
72 79
 
73 80
 <P>
74 81
 <BR><HR>
75 82
 <ADDRESS>
76 83
 Tomasz Kojm
77
-2003-06-21
84
+2003-11-11
78 85
 </ADDRESS>
79 86
 </BODY>
80 87
 </HTML>
... ...
@@ -1,14 +1,14 @@
1
-.\" Manual page created by Tomasz Kojm, 29.06.2002
2
-.TH "sigtool" "1" "October 1, 2002" "Tomasz Kojm" "Clam Antivirus"
1
+.\" Manual page created by Tomasz Kojm, 20020629
2
+.TH "sigtool" "1" "November 11, 2003" "Tomasz Kojm" "Clam AntiVirus"
3 3
 .SH "NAME"
4 4
 .LP 
5
-sigtool \- generate virus signature
5
+sigtool \- generate a virus signature
6 6
 .SH "SYNOPSIS"
7 7
 .LP 
8 8
 sigtool [options]
9 9
 .SH "DESCRIPTION"
10 10
 .LP 
11
-sigtool generates virus signature using an external anti\-virus scanner, which is able to detect the virus. It's a part of the Clam AntiVirus package. Its purpose is the simplification of signature creation process when infected file and console scanner which recognizes it are available. Its speed depends on scanner, and file and signature sizes. sigtool may generate hexadecimal strings from input data, also.
11
+sigtool generates a virus signature using an external anti\-virus scanner which is able to detect the virus. It can also create a hexadecimal dump and build and unpack a CVD database.
12 12
 .SH "OPTIONS"
13 13
 .LP 
14 14
 
... ...
@@ -17,7 +17,7 @@ sigtool generates virus signature using an external anti\-virus scanner, which i
17 17
 Output help information and exit.
18 18
 .TP 
19 19
 \fB\-V, \-\-version\fR
20
-Print the version number and exit.
20
+Print version number and exit.
21 21
 .TP 
22 22
 \fB\-\-quiet\fR
23 23
 Be quiet \- output only error messages.
... ...
@@ -29,13 +29,28 @@ Write all messages to standard output (stdout), instead of standard error output
29 29
 Read data from stdin and write hex string to stdout.
30 30
 .TP 
31 31
 \fB\-c, \-\-command\fR
32
-Scanner command with options. Remember about quotes, if the argument string contains spaces. Command should contain everything except infected file.
32
+Anti\-virus scanner command with options. Remember about quotes if the argument string contains white characters. Command should contain everything except infected file name.
33 33
 .TP 
34 34
 \fB\-f, \-\-file\fR
35
-Infected file.
35
+Infected file name.
36 36
 .TP 
37 37
 \fB\-s, \-\-string\fR
38
-Unique string from anti\-virus scanner's output when it detects the virus. In most cases it should be the virus name.
38
+Unique string from anti\-virus scanner's output when it detects the virus. In most cases it should be a virus name.
39
+.TP 
40
+\fB\-i, \-\-info\fR
41
+Print a CVD information and verify MD5 and a digital signature.
42
+.TP 
43
+\fB\-b, \-\-build\fR
44
+Build a CVD file. \-s, \-\-server is required.
45
+.TP 
46
+\fB\-\-server\fR
47
+ClamAV Signing Service address (for virus database developers only).
48
+.TP 
49
+\fB\-\-unpack, \-u\fR
50
+Unpack a selected CVD file to a current directory.
51
+.TP 
52
+\fB\-\-unpack\-current\fR
53
+Unpack a local CVD file to a current directory.
39 54
 .SH "EXAMPLES"
40 55
 .LP 
41 56
 .TP 
... ...
@@ -43,12 +58,12 @@ Unique string from anti\-virus scanner's output when it detects the virus. In mo
43 43
 
44 44
 \fBcat testfile | sigtool \-\-hex\-dump > testfile.hex\fR
45 45
 .TP 
46
-(1) Please check clamdoc for example of usage.
46
+(1) Please check clamdoc.pdf and signatures.pdf for more example of usage.
47 47
 .SH "CREDITS"
48 48
 Please check the full documentation for credits.
49 49
 .SH "AUTHOR"
50 50
 .LP 
51
-Tomasz Kojm <zolw@konarski.edu.pl>
51
+Tomasz Kojm <tkojm@clamav.net>
52 52
 .SH "SEE ALSO"
53 53
 .LP 
54
-clamd(8), clamdscan(1), clamscan(1), freshclam(1), clamav.conf(5)
54
+clamd(8), clamdscan(1), clamscan(1), freshclam(1), clamav.conf(5), clamav\-milter(8)
... ...
@@ -55,15 +55,15 @@ LocalSocket /tmp/clamd
55 55
 # Remove stale socket after unclean shutdown.
56 56
 #FixStaleSocket
57 57
 
58
+# TCP port address.
59
+#TCPSocket 3310
60
+
58 61
 # TCP address.
59 62
 # By default we bind to INADDR_ANY, probably not wise.
60 63
 # Enable the following to provide some degree of protection
61 64
 # from the outside world.
62 65
 #TCPAddr 127.0.0.1
63 66
 
64
-# TCP port address.
65
-#TCPSocket 3310
66
-
67 67
 # Maximum length the queue of pending connections may grow to.
68 68
 # Default is 15.
69 69
 #MaxConnectionQueueLength 30
... ...
@@ -139,7 +139,7 @@ MaxDirectoryRecursion 15
139 139
 ScanArchive
140 140
 
141 141
 
142
-# By default the built-in RAR unpacker is disabled because the code
142
+# By default the built-in RAR unpacker is disabled by default because the code
143 143
 # terribly leaks, however it's probably a good idea to enable it.
144 144
 #ScanRAR
145 145
 
... ...
@@ -330,30 +330,30 @@ void help(void)
330 330
     mprintf_stdout = 1;
331 331
 
332 332
     mprintf("\n");
333
-    mprintf("		   Clam AntiVirus: freshclam  "VERSION"\n");
334
-    mprintf("		   (c) 2002, 2003 Tomasz Kojm <zolw@konarski.edu.pl>\n");
335
-    mprintf("	  \n");
336
-    mprintf("    --help		    -h		show help\n");
337
-    mprintf("    --version		    -V		print version number and exit\n");
338
-    mprintf("    --verbose		    -v		be verbose\n");
339
-    mprintf("    --debug		    		enable debug messages\n");
340
-    mprintf("    --quiet				be quiet, output only error messages\n");
341
-    mprintf("    --stdout				write to stdout instead of stderr\n");
342
-    mprintf("					(this help is always written to stdout)\n");
333
+    mprintf("                          Clam AntiVirus: freshclam  "VERSION"\n");
334
+    mprintf("                (c) 2002, 2003 Tomasz Kojm <zolw@konarski.edu.pl>\n\n");
335
+
336
+    mprintf("    --help               -h              show help\n");
337
+    mprintf("    --version            -V              print version number and exit\n");
338
+    mprintf("    --verbose            -v              be verbose\n");
339
+    mprintf("    --debug                              enable debug messages\n");
340
+    mprintf("    --quiet                              be quiet, output only error messages\n");
341
+    mprintf("    --stdout                             write to stdout instead of stderr\n");
342
+    mprintf("                                         (this help is always written to stdout)\n");
343 343
     mprintf("\n");
344
-    mprintf("    --user=USER		    -u USER	run as USER\n");
345
-    mprintf("    --daemon		    -d		run in daemon mode\n");
346
-    mprintf("    --checks=#n             -c #n       #n checks by day, 1 <= n <= 50\n");
347
-    mprintf("    --datadir=DIRECTORY                 download new database in DIRECTORY\n");
348
-    mprintf("    --log=FILE		    -l FILE	save download report in FILE\n");
349
-    mprintf("    --log-verbose			save additional informations\n");
350
-    mprintf("    --http-proxy=hostname[:port]	use proxy server hostname\n");
351
-    mprintf("    --proxy-user=username:passwd	use username/password for proxy auth\n");
344
+    mprintf("    --user=USER          -u USER         run as USER\n");
345
+    mprintf("    --daemon             -d              run in daemon mode\n");
346
+    mprintf("    --checks=#n          -c #n           #n checks by day, 1 <= n <= 50\n");
347
+    mprintf("    --datadir=DIRECTORY                  download new database in DIRECTORY\n");
348
+    mprintf("    --log=FILE           -l FILE         save download report in FILE\n");
349
+    mprintf("    --log-verbose                        save additional informations\n");
350
+    mprintf("    --http-proxy=hostname[:port]         use proxy server hostname\n");
351
+    mprintf("    --proxy-user=username:passwd         use username/password for proxy auth\n");
352 352
 #ifdef BUILD_CLAMD
353
-    mprintf("    --daemon-notify[=/path/clamav.conf] send RELOAD command to clamd\n");
353
+    mprintf("    --daemon-notify[=/path/clamav.conf]  send RELOAD command to clamd\n");
354 354
 #endif
355
-    mprintf("    --on-update-execute=[COMMAND]	execute the COMMAND after successful update\n");
356
-    mprintf("    --on-error-execute=[COMMAND]	execute the COMMAND if errors occured\n");
355
+    mprintf("    --on-update-execute=COMMAND          execute COMMAND after successful update\n");
356
+    mprintf("    --on-error-execute=COMMAND           execute COMMAND if errors occured\n");
357 357
     mprintf("\n");
358 358
     exit(0);
359 359
 }
... ...
@@ -72,8 +72,13 @@ int downloadmanager(const struct optstruct *opt, const char *hostname)
72 72
 	updated = 1;
73 73
 
74 74
     if(updated) {
75
-	mprintf("Database updated (%d signatures) from %s (%s).\n", signo, hostname, ipaddr);
76
-	logg("Database updated (%d signatures) from %s (%s).\n", signo, hostname, ipaddr);
75
+	if(optl(opt, "http-proxy")) {
76
+	    mprintf("Database updated (%d signatures) from %s.\n", signo, hostname);
77
+	    logg("Database updated (%d signatures) from %s.\n", signo, hostname);
78
+	} else {
79
+	    mprintf("Database updated (%d signatures) from %s (%s).\n", signo, hostname, ipaddr);
80
+	    logg("Database updated (%d signatures) from %s (%s).\n", signo, hostname, ipaddr);
81
+	}
77 82
 
78 83
 #ifdef BUILD_CLAMD
79 84
 	if(optl(opt, "daemon-notify")) {
... ...
@@ -210,8 +210,6 @@ md5_process_bytes (buffer, len, ctx)
210 210
      size_t len;
211 211
      struct md5_ctx *ctx;
212 212
 {
213
-  //const void aligned_buffer = buffer;
214
-
215 213
   /* When we already have some bits in our internal buffer concatenate
216 214
      both inputs first.  */
217 215
   if (ctx->buflen != 0)
... ...
@@ -38,7 +38,7 @@ int main(int argc, char **argv)
38 38
 	int ret, opt_index, i, len;
39 39
 	struct optstruct *opt;
40 40
 
41
-	const char *getopt_parameters = "hvVc:s:f:b:i:s:u:";
41
+	const char *getopt_parameters = "hvVc:s:f:b:i:u:";
42 42
 
43 43
 	static struct option long_options[] = {
44 44
 	    {"help", 0, 0, 'h'},
... ...
@@ -53,7 +53,7 @@ int main(int argc, char **argv)
53 53
 	    {"string", 1, 0, 's'},
54 54
 	    {"file", 1, 0, 'f'},
55 55
 	    {"build", 1, 0, 'b'},
56
-	    {"server", 1, 0, 's'},
56
+	    {"server", 1, 0, 0},
57 57
 	    {"unpack", 1, 0, 'u'},
58 58
 	    {"unpack-current", 1, 0, 0},
59 59
 	    {"info", 1, 0, 'i'},
... ...
@@ -568,7 +568,7 @@ int build(struct optstruct *opt)
568 568
     time(&timet);
569 569
     brokent = localtime(&timet);
570 570
     setlocale(LC_TIME, "C");
571
-    strftime(smbuff, 24, "%b-%d %H-%M %Z %Y:", brokent);
571
+    strftime(smbuff, 24, "%d %b %Y %H-%M %z:", brokent);
572 572
     strcat(header, smbuff);
573 573
 
574 574
     /* version number */
... ...
@@ -697,25 +697,25 @@ void cvdinfo(struct optstruct *opt)
697 697
 void help(void)
698 698
 {
699 699
     mprintf("\n");
700
-    mprintf("		Clam AntiVirus: Signature Tool (sigtool)  "VERSION"\n");
701
-    mprintf("	       (c) 2002, 2003 Tomasz Kojm <zolw@konarski.edu.pl>\n");
702
-    mprintf("\n");
703
-    mprintf("   --help		    -h		show help\n");
704
-    mprintf("   --version		    -V		print version number and exit\n");
705
-    mprintf("   --quiet				be quiet, output only error messages\n");
706
-    mprintf("   --debug				enable debug messages\n");
707
-    mprintf("   --stdout				write to stdout instead of stderr\n");
708
-    mprintf("					(this help is always written to stdout)\n");
709
-    mprintf("   --hex-dump				convert data from stdin to hex\n");
710
-    mprintf("					string and send it to stdout\n");
711
-    mprintf("   --command		    -c		scanner command string, with options\n");
712
-    mprintf("   --string		    -s		'virus found' string in scan. output\n");
713
-    mprintf("   --file		    -f		infected file\n");
714
-    mprintf("   --info FILE		    -i FILE	print database information\n");
715
-    mprintf("   --build NAME		    -b NAME	Build a CVD file\n");
716
-    mprintf("   --server ADDR	    -s ADDR	ClamAV Signing Service address\n");
717
-    mprintf("   --unpack FILE	    -u FILE	Unpack a CVD file\n");
718
-    mprintf("   --unpack-current NAME		Unpack local CVD\n");
700
+    mprintf("                Clam AntiVirus: Signature Tool (sigtool)  "VERSION"\n");
701
+    mprintf("                (c) 2002, 2003 Tomasz Kojm <tkojm@clamav.net>\n\n");
702
+
703
+    mprintf("    --help                 -h              show help\n");
704
+    mprintf("    --version              -V              print version number and exit\n");
705
+    mprintf("    --quiet                                be quiet, output only error messages\n");
706
+    mprintf("    --debug                                enable debug messages\n");
707
+    mprintf("    --stdout                               write to stdout instead of stderr\n");
708
+    mprintf("                                           (this help is always written to stdout)\n");
709
+    mprintf("    --hex-dump                             convert data from stdin to a hex\n");
710
+    mprintf("                                           string and print it on stdout\n");
711
+    mprintf("    --command              -c              scanner command string, with options\n");
712
+    mprintf("    --string               -s              'virus found' string in scan. output\n");
713
+    mprintf("    --file                 -f              infected file\n");
714
+    mprintf("    --info=FILE            -i FILE         print database information\n");
715
+    mprintf("    --build=NAME           -b NAME         build a CVD file\n");
716
+    mprintf("    --server=ADDR                          ClamAV Signing Service address\n");
717
+    mprintf("    --unpack=FILE          -u FILE         Unpack a CVD file\n");
718
+    mprintf("    --unpack-current=NAME                  Unpack local CVD\n");
719 719
     mprintf("\n");
720 720
 
721 721
     exit(0);