Browse code

*** empty log message ***

git-svn: trunk@270

Tomasz Kojm authored on 2004/02/11 03:20:03
Showing 10 changed files
... ...
@@ -1,3 +1,9 @@
1
+Tue Feb 10 19:17:53 CET 2004 (tk)
2
+---------------------------------
3
+  * docs: complete clamdoc.pdf French translation by Stephane Jeannenot
4
+  * docs: Polish how-to on ClamAV and Sendmail integration (with clamav-milter)
5
+	  by  Przemyslaw Holowczyc
6
+
1 7
 Tue Feb 10 17:05:31 GMT 2004 (njh)
2 8
 ----------------------------------
3 9
   * libclamav:	Recognised new kind of bounce message
... ...
@@ -19,6 +25,7 @@ Tue Feb 10 10:21:02 GMT 2004 (njh)
19 19
 ----------------------------------
20 20
   * contrib:	The Windows client now recovers better from errors during
21 21
   	scanning
22
+
22 23
 Mon Feb  9 17:46:29 GMT 2004 (njh)
23 24
 ----------------------------------
24 25
   * contrib:	The Windows client now allows the port to be specified
... ...
@@ -44,7 +51,7 @@ Mon Feb  9 13:40:37 GMT 2004 (trog)
44 44
 Mon Feb  9 11:09:56 GMT 2004 (njh)
45 45
 ----------------------------------
46 46
   * clamav-milter:	Added --headers patch from "Leonid Zeitlin"
47
-	<lz@europe.com>, though a lot of people have requested it!
47
+	<lz*europe.com>, though a lot of people have requested it!
48 48
 
49 49
 Mon Feb  9 02:04:36 CET 2004 (tk)
50 50
 ---------------------------------
... ...
@@ -4,27 +4,30 @@ here may not be available in binary packages.
4 4
 
5 5
 0.66
6 6
 ----
7
-
8
-
9
-
10
-Noteworthy changes in this version:
7
+This version is a response to the "clamav 0.65 remote DOS exploit" information
8
+published on popular security-related mailing lists. Unfortunately we had
9
+not been contacted by the author before he published that and had to release
10
+this (unplanned) package very quickly (it should be mentioned that CVS version
11
+was not vulnerable to the exploit). Untested code has been disabled also
12
+the Dazuko support is temporarily not available (if you really need it please
13
+use a CVS version or wait for a next stable release). Other noteworthy changes:
11 14
 
12 15
 -) clamd:
13
-    + fixed a database timestamp handling (and a double reload problem reported
16
+    + fixed database timestamp handling (and a double reload problem reported
14 17
       by Alex Pleiner and Ole Stanstrup)
15
-    + UseProcesses (use processes instead of threads, warning: untested code)
16
-      Also please check James Stevens' nclamd (based on a similar architecture
17
-      to Apache) if you prefer processes over threads.
18
-    + new directive ArchiveMaxCompressionRatio
19
-    + fixed a segmentation fault after database update in on-access scanner
20

                
18
+    + new directive: ArchiveMaxCompressionRatio
19
+    + new command: SESSION (starts a clamd session and allows to do multiple
20
+      commands per TCP session)
21 21
 
22 22
 -) clamav-milter: (Nigel Horne)
23 23
     + added support for AllowSupplementaryGroups and ThreadTimeout
24 24
     + added --quarantine-dir (thanks to Michael Dankov)
25
+    + added --noreject (thanks to Vijay Sarvepalli)
26
+    + added --headers (thanks Leonid Zeitlin)
25 27
     + added --sign option
26 28
 
27 29
 -) libclamav:
30
+    + detect Worm.SCO.A bounces (Nigel)
28 31
     + prevent buffer overflow in broken uuencoded files (Nigel)
29 32
     + scan multipart alternatives that have no boundaries (Nigel)
30 33
     + better handling of encapsulated messages (Nigel)
... ...
@@ -41,12 +44,87 @@ Noteworthy changes in this version:
41 41
 
42 42
 -) clamscan:
43 43
     + support for multiple arguments on command line (Thomas Lamy)
44
-    + fixed a buffer overflow in --move (Denis De Messemacker)
44
+    + fixed buffer overflow in --move (Denis De Messemacker)
45 45
     + removed support for sendfile() under Linux
46
-    + added --bell
47 46
 
48 47
 -) freshclam:
49
-    + support for freshclam.conf
48
+    + support for freshclam.conf (that may be optionally merged with
49
+      clamav.conf, command line options overwrite config settings)
50
+    + work-around for potential database downgrade (subtle problem
51
+      in r-r dns handling) - reported by Daniel Mario Vega and patched
52
+      by Luca Gibelli
53
+
54
+-) contrib:
55
+    + clamdwatch (by Mike Cathey)
56
+    + windows clamd client with drag&drop support (Nigel Horne)
57
+
58
+-) documentation:
59
+    + complete clamdoc.pdf French translation by Stephane Jeannenot
60
+    + Polish how-to on ClamAV and Sendmail integration (with clamav-milter)
61
+      by Przemyslaw Holowczyc
62
+
63
+
64
+News:
65
+
66
+ClamAV was the first anti-virus protecting against Worm.SCO.A (aka MyDoom.A) !
67
+The signature was published by Diego d'Ambra in the daily update 105,
68
+26-Jan-2004 20:23 GMT and we were at least two hours faster than "big" AV
69
+vendors:
70
+http://sourceforge.net/mailarchive/forum.php?thread_id=3764826&forum_id=34654
71
+http://www.pcwelt.de/news/viren_bugs/37278/4.html
72
+
73
+
74
+clamav-devel is finally able to decode OLE2 (Microsoft Office) files and
75
+decompress VBA streams ! The code is developed by Trog, official ClamAV
76
+developer. Also we're testing new clamd implementation that will solve
77
+several important problems (especially that "Time out" related). Please
78
+help us and test the latest CVS version.
79
+
80
+
81
+The virus database now contains more than 20.000 signatures ! On January 8,
82
+Denis De Messemacker (who joined our team 3 months ago) added signatures for
83
+about 7700 new viruses. Also special thanks go to Tomasz Papszun for his
84
+hard work on daily submissions and forcing us to keep ClamAV quality on
85
+the highest possible level.
86
+
87
+
88
+New mirroring mechanisms. Luca Gibelli (ClamAV) and mirror administrators
89
+(22 sites, http://www.clamav.net/mirrors.html, please see clamdoc.pdf for
90
+a complete mirror information) are converting mirrors to new "push mirroring"
91
+method. It uses advanced techniques to ensure all the mirrors are up to date.
92
+More info: http://www.clamav.net/docs/mirrors
93
+
94
+
95
+"Newsworthy Hack of Kindness" - Affero.net is featuring ClamAV in its latest
96
+newsletter (Volume #9, January 2004: http://www.affero.net/nl/dec03.html).
97
+Affero is a great rate-donate systema and its mission is to bring a culture
98
+of patronage to the Internet. Currently we only accept donations via Affero.
99
+You can also help us and promote our project by adding the ClamAV logo to
100
+your home page. Look at http://www.clamav.net/donate.html for more information.
101
+
102
+
103
+We would like to thank our donors:
104
+
105
+    * Jeremy Garcia (http://www.linuxquestions.org)
106
+    * Andries Filmer (http://www.netexpo.nl)
107
+    * David Eriksson (http://www.2good.nu)
108
+    * Dynamic Network Services, Inc (http://www.dyndns.org)
109
+    * epublica
110
+    * Invisik Corporation (http://www.invisik.com)
111
+    * Keith (http://www.textpad.com)
112
+    * Explido Software USA Inc. (http://www.explido.us)
113
+    * cheahch from Singapore
114
+    * Electric Embers
115
+    * Stephane Rault
116
+    * Brad Koehn
117
+    * David Farrick
118
+    * ActiveIntra.net Inc. (http://www.activeintra.net)
119
+    * An anonymous donor from Colorado, US
120
+
121
+--
122
+Tomasz Kojm <tkojm*clamav.net>
123
+February 10, 2004
124
+
50 125
 
51 126
 0.65
52 127
 ----
53 128
new file mode 100644
54 129
Binary files /dev/null and b/clamav-devel/contrib/clamdwatch/clamdwatch.tar.gz differ
55 130
new file mode 100644
56 131
Binary files /dev/null and b/clamav-devel/docs/French/clamdoc-french.pdf differ
... ...
@@ -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 = clamdoc.pdf DMS Spanish Japanese html man FreeBSD-HowTo Portugese Turkish clamd_supervised clamav-mirror-howto.pdf signatures.pdf
18
+EXTRA_DIST = clamdoc.pdf DMS Spanish Japanese html man FreeBSD-HowTo Portugese Turkish clamd_supervised clamav-mirror-howto.pdf signatures.pdf French Polish
19 19
 man_MANS = man/clamscan.1 man/freshclam.1 man/sigtool.1 man/clamd.8 man/clamav.conf.5 man/clamdscan.1 man/clamav-milter.8
... ...
@@ -115,7 +115,7 @@ am__include = @am__include@
115 115
 am__quote = @am__quote@
116 116
 install_sh = @install_sh@
117 117
 
118
-EXTRA_DIST = clamdoc.pdf DMS Spanish Japanese html man FreeBSD-HowTo Portugese Turkish clamd_supervised clamav-mirror-howto.pdf signatures.pdf
118
+EXTRA_DIST = clamdoc.pdf DMS Spanish Japanese html man FreeBSD-HowTo Portugese Turkish clamd_supervised clamav-mirror-howto.pdf signatures.pdf French Polish
119 119
 man_MANS = man/clamscan.1 man/freshclam.1 man/sigtool.1 man/clamd.8 man/clamav.conf.5 man/clamdscan.1 man/clamav-milter.8
120 120
 subdir = docs
121 121
 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
122 122
new file mode 100644
123 123
Binary files /dev/null and b/clamav-devel/docs/Polish/clam.png differ
124 124
new file mode 100644
... ...
@@ -0,0 +1,338 @@
0
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
1
+
2
+<html>
3
+<head>
4
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-2">
5
+  <meta name="keywords" content="ClamAV, Sendmail, clamav-milter, AntyVir, Linux, UNIX">
6
+  <meta name="description" content="::: ClamAV / Sendmail / clamav-milter :::">
7
+  <meta name="author" content="doozer">
8
+  <title>::: ClamAV / Sendmail / clamav-milter :::</title>
9
+  <link rel="stylesheet" href="css/main.css">
10
+</head>
11
+
12
+<body bgcolor="#ffffff">
13
+ <center>
14
+ <a name="#begin"> </a>
15
+
16
+<table width="100%" align="center" cellpadding="0" cellspacing="0" border="0">
17
+ <tr>
18
+  <td  bgcolor="#dddddd" width="100%" align="left" height="20" class="rn"></td>
19
+ </tr>
20
+</table>
21
+ 
22
+<!-- LOGOTABLE -->
23
+<table width="100%" align="center" cellpadding="10" cellspacing="0" border="0">
24
+ <tr>
25
+  <td  bgcolor="#dddddd" width="8%" align="left" height="100" class="rt_dddddd"></td>
26
+  <td  bgcolor="#ffffff" width="24%" align="left" height="100" class="rlt"><img src="files/clam.png" alt="ClamAV Logo"></td>
27
+  <td  bgcolor="#ffffff" width="60%" align="left" height="100" class="rtr">
28

                
29

                
30

                
31
+  </td>
32
+  <td  bgcolor="#dddddd" width="8%" align="left" height="100" class="rt_dddddd"></td>
33
+ </tr>  
34
+</table>
35
+<!-- end LOGOTABLE -->
36
+
37
+<!-- TOPTABLE -->
38
+<table width="100%" align="center" cellpadding="10" cellspacing="0" border="0"> 
39
+ <tr>
40
+  <td bgcolor="#dddddd" colspan="1" valign="top" align="left" width="8%" height="200">
41
+   &nbsp;
42
+  </td>
43
+  
44
+  <td colspan="1" valign="top" align="left" width="84%" height="200" class="rlrb">
45
+   <br>Mon Sep 15 22:34:21 CEST 2003 <b>Pierwsza wersja HOWTO</b>
46
+   <br>Mon Feb  9 16:58:50 CET 2004 <b>Wersja aktualna</b>
47
+   
48

                
49
+   <br><b>1.</b>&nbsp;<a href="sendmail_clamav.html#a1">Wprowadzenie</a>
50

                
51
+   <br><b>3.</b>&nbsp;<a href="sendmail_clamav.html#a3">Zapotrzebowanie na oprogramowanie</a>
52
+   <br><b>4.</b>&nbsp;<a href="sendmail_clamav.html#a4">Konfiguracja serwera Sendmail</a>
53
+   <br><b>5.</b>&nbsp;<a href="sendmail_clamav.html#a5">Kompilacja ClamAV</a>
54
+   <br><b>6.</b>&nbsp;<a href="sendmail_clamav.html#a6">Uruchamianie</a>
55

                
56
+ 
57
+<br><br><br>
58

                
59

                
60

                
61
+
62
+<a name="a1"> </a>
63
+<br><br><br><b>1.&nbsp;&nbsp;&nbsp;Wprowadzenie</b>
64

                
65

                
66

                
67
+
68
+<a name="a2"> </a>
69

                
70

                
71

                
72

                
73

                
74
+
75

                
76

                
77

                
78

                
79
+
80

                
81
+
82
+<pre>
83

                
84

                
85

                
86

                
87
+</pre>
88

                
89

                
90

                
91
+
92

                
93
+
94

                
95
+
96
+<a name="a3"> </a>
97
+<br><br><br><b>3.&nbsp;&nbsp;&nbsp;Zapotrzebowanie na oprogramowanie</b>
98
+<br><br> - ClamAV v0.65 - <a href="http://prdownloads.sourceforge.net/clamav/">http://prdownloads.sourceforge.net/clamav/</a>
99
+<br> - Sendmail 8.12.10 - 
100
+ <a href="ftp://ftp.sendmail.org/pub/sendmail/sendmail.8.12.10.tar.gz">ftp://ftp.sendmail.org/pub/sendmail/sendmail.8.12.10.tar.gz</a>
101
+
102

                
103
+ 
104
+<br><br>&nbsp;<b>Skrypty startowe</b>
105

                
106
+<br>&nbsp;&nbsp;&nbsp;<a href="files/rc.sendmail">rc.sendmail</a>
107
+<br>&nbsp;&nbsp;&nbsp;<a href="files/rc.clamd">rc.clamd</a>
108
+<br>&nbsp;&nbsp;&nbsp;<a href="files/rc.clamav-milter">rc.clamav-milter</a>
109

                
110

                
111
+
112
+
113
+<!-- 
114
+<br><br><b>Uwaga Slackwareowcy i shtOSowcy :-)</b>
115

                
116
+<br> - clamav-clamav-i686-1.tgz - <a href="http://insidiae.eu.org/clamav-clamav-i686-1.tgz">http://insidiae.eu.org/clamav.tgz</a>
117
+<br> - rc.sendmail - <a href="http://insidiae.eu.org/rc.sendmail">http://insidiae.eu.org/rc.sendmail</a>
118
+<br> - rc.clamd - <a href="http://insidiae.eu.org/rc.clamd">http://insidiae.eu.org/rc.clamd</a>
119
+<br> - rc.clamav-milter - <a href="http://insidiae.eu.org/rc.clamav-milter">http://insidiae.eu.org/rc.clamav-milter</a>
120
+-->
121
+
122
+<a name="a4"> </a>
123
+<br><br><br><b>4.&nbsp;&nbsp;&nbsp;Konfiguracja serwera Sendmail</b>
124

                
125

                
126
+
127

                
128
+<pre>
129

                
130
+APPENDDEF(`conf_sendmail_ENVDEF', `-DMILTER')
131
+
132

                
133
+INPUT_MAIL_FILTER(`clmilter',`S=local:/var/run/clamav/clmilter.sock,F=, T=S:4m;R:4m')dnl
134
+define(`confINPUT_MAIL_FILTERS', `clmilter')
135
+</pre>
136
+
137

                
138

                
139

                
140
+<pre>
141
+define(`confAUTH_MECHANISMS',`LOGIN PLAIN')dnl
142
+TRUST_AUTH_MECH(`LOGIN PLAIN')dnl
143
+</pre>
144
+
145
+Teraz dokonujemy standardowej kompilacji Sendmaila:
146
+<pre>
147
+root@linux: killall -9 sendmail
148
+root@linux: cd sendmail_source/sendmail
149
+root@linux: sh Build -c
150
+root@linux: cd sendmail_source/cf/cf
151
+root@linux: sh Build sendmail.cf
152
+root@linux: cd sendmail_source/sendmail
153
+root@linux: sh Build install
154
+root@linux: cd sendmail_source/cf/cf
155
+root@linux: sh Build install-cf
156
+root@linux: cd sendmail_source
157
+root@linux: sh Build install
158
+</pre>
159

                
160
+
161
+<br><br>
162
+Teraz zainstalujemy libmilter:
163
+<pre>
164
+root@linux: cd sendmail_source/libmilter
165
+root@linux: sh Build install
166
+</pre>
167

                
168
+<br><br><b>UWAGA: Po instalacji libmiltera konieczna jest konfiguracja bibliotek dynamicznych, czyli:</b>
169
+<pre>
170
+root@linux: ldconfig
171
+</pre>
172
+
173

                
174

                
175
+
176
+<a name="a5"> </a>
177
+<br><br><br><b>5.&nbsp;&nbsp;&nbsp;Kompilacja ClamAV</b>
178

                
179
+<pre>
180
+root@linux: groupadd clamav
181
+root@linux: useradd -g clamav -s /bin/false -c "Clam AntiVirus" clamav
182
+</pre>
183
+
184

                
185
+<pre>
186
+user@linux: cd clamav_source
187
+user@linux: make clean
188
+user@linux: ./configure --prefix=/usr --sysconfdir=/etc/clamav --datadir=/etc/clamav \
189
+  --with-dbdir=/etc/clamav --enable-milter
190
+user@linux: make
191
+user@linux: make check
192
+user@linux: su
193
+root@linux: make install
194
+</pre>
195

                
196
+<pre>
197
+root@linux: ln -s /usr/sbin/sendmail /usr/lib/sendmail
198
+</pre>
199
+
200

                
201

                
202
+
203

                
204
+<pre>
205
+LocalSocket /var/run/clamav/clamd.sock
206
+ScanMail
207
+SaveStreamToDisk
208
+</pre>
209
+
210
+clamav-milter uruchamiamy poprzez wpisanie polecenia:
211
+<pre>
212
+root@linux: /usr/sbin/clamav-milter -c /etc/clamav/clamav.conf --max-children=15 -blo /var/run/clamav/clmilter.sock
213
+</pre>
214
+
215

                
216
+uruchomienia automagicznie :></i>
217
+
218

                
219
+<pre>
220

                
221

                
222

                
223

                
224
+</pre>
225

                
226

                
227

                
228

                
229

                
230
+
231

                
232

                
233
+<b>20673</b>
234

                
235
+<b>main.cvd:</b> 27 Jan 2004 12-31 +0100
236
+<br><b>daily.cvd:</b> 09 Feb 2004 23-44 +0100
237
+
238

                
239
+
240
+<br><br>
241

                
242
+
243

                
244
+
245
+<br><br><b>Uprawnienia</b>
246

                
247
+
248

                
249
+
250
+<a name="a6"> </a>
251
+<br><br><br><b>6.&nbsp;&nbsp;&nbsp;Uruchamianie</b>
252

                
253
+<pre>
254
+root@linux: chown -R clamav:clamav /etc/clamav
255
+root@linux: mkdir /var/run/clamav; chown -R clamav:clamav /var/run/clamav
256
+root@linux: mkdir /var/log/clamav; chown -R clamav:clamav /var/log/clamav
257
+</pre>
258
+
259

                
260
+<pre>
261
+root@linux: mkdir /var/clamav/quarantine; chown -R clamav:clamav /var/clamav/quarantine
262
+</pre>
263
+
264

                
265

                
266

                
267

                
268
+
269
+<a name="a7"> </a>
270

                
271
+<br><br>
272

                
273
+
274

                
275
+<br><br>
276

                
277
+<pre>
278
+root@linux: ps -A
279
+</pre>
280

                
281

                
282
+
283
+<br><br>
284

                
285

                
286
+
287
+<pre>
288
+clamav-milter[22068]: hit max-children limit (7 >= 3): waiting for some to exit
289
+clamav-milter[26826]: hit max-children limit (8 >= 3): waiting for some to exit
290
+clamav-milter[26515]: hit max-children limit (8 >= 3): waiting for some to exit
291
+clamav-milter[4360]: hit max-children limit (9 >= 3): waiting for some to exit
292
+</pre>
293
+
294

                
295
+
296
+<br><br>
297

                
298

                
299
+
300
+<br><br>
301
+<hr size="1" style="color: #aaa4a0;">
302

                
303
+e-mail: <b>doozer (at) skc (dot) com (dot) pl</b>
304
+
305
+<br><br>
306
+<font style="font-size: 12px; color: #aaaaaa">
307
+
308
+ 
309
+ # sendmail_clamav.html v1.1; Last modified:
310
+ Tue, 10 Feb, 2004 18:16:01 by
311
+ doozer #
312
+</font>
313
+
314
+
315
+ </td>
316
+ <td bgcolor="#dddddd" colspan="1" valign="top" align="left" width="8%" height="2000">
317
+    &nbsp;
318
+ </td>
319
+</tr> 
320
+</table>
321
+<!-- end CONTENTTABLE -->
322
+
323
+<table width="100%" align="center" cellpadding="0" cellspacing="0" border="0">
324
+ <tr>
325
+  <td  bgcolor="#dddddd" width="100%" align="center" height="60" class="rn">
326
+   <a href="http://validator.w3.org/check?uri=http://clamav.skc.com.pl/howtos/sendmail_clamav.html">
327
+        <img src="files/valid-html401.gif" alt="Valid HTML 4.01"></a>
328
+   <a href="http://jigsaw.w3.org/css-validator/validator?uri=http://clamav.skc.com.pl/howtos/css/main.css">
329
+        <img src="files/vcss.png" alt="Valid CSS!">
330
+ </a>	
331
+  </td>
332
+ </tr>
333
+</table>
334
+
335
+</center>
336
+</body>
337
+</html>
0 338
Binary files a/clamav-devel/docs/clamav-mirror-howto.pdf and b/clamav-devel/docs/clamav-mirror-howto.pdf differ
... ...
@@ -1,34 +1,48 @@
1 1
 ##
2 2
 ## Example config file for freshclam
3 3
 ## Please read the clamav.conf(5) manual before editing this file.
4
+## This file may be optionally merged with clamav.conf.
4 5
 ##
5 6
 
6 7
 # Comment or remove the line below.
7 8
 Example
8 9
 
9
-# Path to the database directory.
10
+# You can change the default database directory here.
10 11
 #DatabaseDirectory /var/lib/clamav
11 12
 
13
+# Path to the config file (make sure it has proper permissions)
12 14
 #UpdateLogFile /var/log/freshclam.log
13 15
 
14 16
 # Enable verbose logging.
15 17
 #LogVerbose
16 18
 
17
-# Freshclam must be able to write to the database directory.
19
+# By default when freshclam is started by root it drops privileges and
20
+# switches to the "clamav" user. You can change this behaviour here.
18 21
 #DatabaseOwner clamav
19 22
 
23
+# The main database mirror is database.clamav.net (this is a round-robin
24
+# DNS that points to many mirrors on the world) and in most cases you
25
+# SHOULD NOT change it.
20 26
 DatabaseMirror database.clamav.net
27
+
28
+# How many attempts to make before giving up.
21 29
 MaxAttempts 3
22 30
 
23
-#Checks 8
31
+# How often check for a new database. We suggest checking for it every
32
+# two hours.
33
+Checks 12
24 34
 
35
+# Proxy settings
25 36
 #HTTPProxyServer myproxy.com
26 37
 #HTTPProxyPort 1234
27 38
 #HTTPProxyUsername myusername
28 39
 #HTTPProxyPassword mypass
29 40
 
41
+# Send the RELOAD command to clamd.
30 42
 #NotifyClamd [/optional/config/file/path]
31 43
 
44
+# Run command after database update.
32 45
 #OnUpdateExecute command
33 46
 
47
+# Run command if database update failed.
34 48
 #OnErrorExecute command