clamav-devel/ChangeLog
5def21ff
d3f8fcf7
 Tue Nov 11 13:51:23 IST 2003 (njh)
 ----------------------------------
   * clamav-milter: Fixed handling of % characters in e-mail addresses
 		pointed out by dotslash@snosoft.com
 		
fc56deed
 Sun Nov  9 20:25:11 CET 2003 (tk)
 ---------------------------------
   * libclamav: some functions were still using SCANBUFF instead of FILEBUFF,
 	       this is now finally fixed (bug reported by J.D. Bronson
 	       jeff_bronson*wixb.com). Also added more zip hardening checks
 	       to handle broken Mimail-like archives.
 
f7148839
 Sun Nov  9 03:21:48 CET 2003 (tk)
 ---------------------------------
   * libclamav: archive wrapper and database parsing functions were using a
 	       huge buffers of size BUFFSIZE instead of FBUFFSIZE. These
 	       defines have been renamed to SCANBUFF and FILEBUFF respectively.
 	       The bug was responsible (e.g.) for clamd lockups (due to a stack
 	       size overflow) with CVD under FreeBSD (reported by Tim Wilde
 	       twilde*dyndns.org). The fix also makes all that buffers
 	       dynamically allocable (this is a part of Rudolph Pereira's
 	       patch that will be included soon).
 
ba67725c
 Thu Nov  6 22:40:58 CET 2003 (tk)
f7148839
 ---------------------------------
ba67725c
   * libclamav: zziplib: reverted to 0.12.83
 
aa0210b6
 Thu Nov  6 10:36:57 IST 2003 (njh)
 ----------------------------------
   * libclamav: Not all applications (those not sent as legal attachments)
 		were being scanned
 
70eb49cb
 Thu Nov  6 03:00:44 CET 2003 (tk)
 ---------------------------------
   * database/Makefile: fixed an installation problem with unprivileged user
 		       (thanks to Tomasz Papszun)
   * configure: + _REENTRANT defined globally (thanks to Ed Phillips)
 	       + test for GMP 2 (and not only v3)
 
391916fd
 Wed Nov  5 22:31:26 CET 2003 (tk)
 ---------------------------------
   * clamd: cl_scanfile() error message fixed (thanks to Ed Phillips)
 
88f28d8c
 Wed Nov  5 15:43:15 GMT 2003 (njh)
 ----------------------------------
   * clamav-milter: tidied up the calls to pthread_cond_timedwait
 
26c51827
 Wed Nov  5 11:35:22 CET 2003 (tk)
 ---------------------------------
   * clamscan.1: fixed a typo (thanks to Damien Curtain)
 
86c4e9d5
 Wed Nov  5 12:34:34 IST 2003 (njh)
 ----------------------------------
   * libclamav: Handle spam that sends broken content-disposition
   	(Fix by NJH, Bug notified by Laurent Wacrenier <lwa@teaser.fr>)
 
5ca6034b
 Wed Nov  5 01:52:03 CET 2003 (tk)
 ---------------------------------
391916fd
   * libclamav: zziplib: a few files converted to UNIX format (thanks to
5ca6034b
 	       Ed Phillips)
 
b8f46e43
 Tue Nov  4 13:37:21 CET 2003 (tk)
 ---------------------------------
   * clamd: yesterday's fix fixed (missing virno variable). Thanks to Nigel.
 
294d0774
 Tue Nov  4 08:27:00 GMT 2003 (njh)
 ----------------------------------
   * libclamav: Handle multipart messages that have no text portion
   	(Fix by NJH, Bug notified by Laurent Wacrenier <lwa@teaser.fr>)
 
2a785df7
 Tue Nov  4 00:37:03 CET 2003 (tk)
 ---------------------------------
   * clamd: fixed signature counter (thanks to Dirk Kraemer)
 
448591fc
 Sun Nov  2 01:07:46 CET 2003 (tk)
 ---------------------------------
   * freshclam: do not use IP address in database request (thanks to Luca
 	       'NERvOus' Gibelli)
 
55216b6e
 Sat Nov  1 04:14:14 CET 2003 (tk)
 ---------------------------------
   * clamd: scanner: close a whole file stream and not only a file descriptor;
 	   fixed potential descriptor leaks on error situation (patches by
 	   Michael Dankov)
 
68d5a5f3
 Fri Oct 31 13:34:18 GMT 2003 (njh)
 ----------------------------------
   * clamav-milter: added dont scan on error flag
 
0f387b1b
 Fri Oct 31 02:51:59 CET 2003 (tk)
 ---------------------------------
   * clamd: initialize a session start-time in proper order (thanks to Michael
 	   Dankov). The fix eliminates potential termination (because of
 	   time out) of just started threads.
   * sigtool: fixes
 
0ee809e8
 Mon Oct 27 22:08:53 CET 2003 (tk)
 ---------------------------------
   * freshclam: fixed a segmentation fault (thanks to Graham Murray); only
 	       use a one mirror for a full update; display IP addresses
   * clamd: use SO_REUSEADDR in tcpserver (Laurent Wacrenier)
   * configure: set $sysconfdir with respect to --prefix (thanks NERvOus)
 
e4ae7726
 Sun Oct 26 06:26:14 CET 2003 (tk)
0ee809e8
 ---------------------------------
e4ae7726
   * clamd: report file errors with CONTSCAN (suggested by Daniel Fraga)
   * libclamav: cvd and general cleanups
   * freshclam: rewritten to use cvd, cleanups; --debug added
   * mirrors.txt: only use database.clamav.net
 
 Fri Oct 24 02:19:54 CEST 2003 (tk)
0ee809e8
 ---------------------------------
22801d05
   * clamd: initialize the virus-number variable (Igor Brezac)
   * sigtool: fixed compilation issue on Solaris (bug reported by
 	     Christopher X. Candreva)
 
198d714a
 Wed Oct 22 20:44:29 BST 2003 (njh)
 ---------------------------------
   * clamav-milter: more calls to pthread_cond_broadcast
 
ae307914
 Mon Oct 20 01:57:16 CEST 2003
 ----------------------------------
   * sigtool: receive digital signature from remote ClamAV Signing Service
   * libclamav: small cvd fixes
 
d71dd823
 Fri Oct 17 05:08:22 CEST 2003 (tk)
 ----------------------------------
   * new Spanish documentation on ClamAV + Sendmail integration by
     Erick Ivaan Lopez Carreon
   * freshclam: share cfgfile.o with clamd. Makefile conditions allow building
 	       without clamd (if pthread library is not available). The problem
 	       with outdated cfgfile.c in freshclam was reported by Jim C.
   * clamd: fixed a segmentation fault with TCPAddr. Problem reported by
 	   Stefan Kaltenbrunner and fixed by Damien Curtain.
   * libclamav: zziplib downgroaded to 0.10.81 with Martin Schitter's hardening
 	       patches
   * sigtool: major stability fixes
 
c2b2d8af
 Sun Oct 12 21:14:21 BST 2003 (njh)
 ---------------------------------
   * libclamav: mbox.c now uses NO_STRTOK_R consistently with message.c
   		Patch by Bernd Kuhls <spiralvoice@hotmail.com>
 
10f12d66
 Sun Oct 12 19:46:18 CEST 2003 (tk)
 ----------------------------------
   * libclamav: Makefile: do not overwrite CFLAGS
 
a4371160
 Sun Oct 12 09:37:44 BST 2003 (njh)
 ---------------------------------
c2b2d8af
   * libclamav: handles Eicar found in Appledouble files, though Appledouble
   		files are not yet handled
a4371160
   * clamav-milter: use VERSION info to talk to clamd not PING/PONG
   		Only close fd 0/1/2 if !Foreground
 		Sanity checking now performed on LocalSocket as well as TCPSocket
 
9148ec6d
 Sat Oct 11 16:42:42 BST 2003 (njh)
a4371160
 ---------------------------------
9148ec6d
   * clamav-milter: fixed possible crash with long e-mail addresses
   		Removed call to clamdscan to get version
 
55826072
 Thu Oct  9 15:18:44 CEST 2003 (tk)
 ----------------------------------
   * configure.in: added -lresolv to CLAMD_LIBS on Solaris
 
d9e258d5
 Wed Oct  8 14:49:40 CEST 2003 (tk)
 ----------------------------------
   * libclamav: CVS: commited missing files
 
6a2532ca
 Wed Oct  8 12:39:26 CEST 2003 (tk)
 ----------------------------------
e4ae7726
   * clamd: (!!!) fixed a race condition in database reloading code
6a2532ca
   * libclamav: finished support for cvd files
 
db035545
 Sun Oct  5 18:30:40 BST 2003 (njh)
 ----------------------------------
   * clamav-milter: Used to always remove old UNIX domain sockets, now
   		only does that if FixStaleSocket is set
e4ae7726
 
429f2e92
 Sun Oct  5 14:58:05 BST 2003 (njh)
 ----------------------------------
   * clamav-milter: s/atoi(cpt->strarg)/cpt->numarg for MaxThreads
 
eff5a283
 Sat Oct  4 20:04:39 CEST 2003 (tk)
 ----------------------------------
   * clamav.conf: s/RemoveStaleSocket/FixStaleSocket (thanks to Kristof Petr)
 
6909adb8
 Fri Oct  3 12:55:46 BST 2003 (njh)
 ----------------------------------
   * clamav-milter: added list of recipients who's email is not scanned
 
3ff40d08
 Thu Oct  2 19:43:57 CEST 2003 (tk)
 ----------------------------------
   * clamd: set umask also in Foreground mode (thanks to Kelsey Cummings)
 
9ac9b49f
 Wed Oct  1 10:52:35 BST 2003 (njh)
 ----------------------------------
   * libclamav: mbox/message now handles content type definition on a new
   		line
 
b9d3b885
 Tue Sep 30 12:54:32 BST 2003 (njh)
 ----------------------------------
   * clamav-milter: clamfi_envfrom was returning EX_TEMPFAIL in some places
 	  rather than SMFIS_TEMPFAIL
 
5f0d267f
 Mon Sep 29 18:10:39 BST 2003 (njh)
 ----------------------------------
   * libclamav: moved stub from heap to stack since its mazimum size is known
 
94b6160c
 Mon Sep 29 13:59:13 BST 2003 (njh)
 ---------------------------------
   * libclamav:	Handle Content-Type: /; name="eicar.com"
 
8139fd99
 Mon Sep 29 13:42:51 CEST 2003 (tk)
 ----------------------------------
   * libclamav: initial support for cvd file format (a database container file
 	       with support for digital signatures)
   * libclamav: fixed zip recursion problem introduced in -20030907 (bug
 	       reported by Tomasz Papszun)
   * libclamav: support for gzip and Maildir files was enabled if ScanMail _or_
 	       ScanArchive was defined. Fixed.
   * libclamav: zziplib updated to 0.12.83 (probably not the newest one but
 	       seems to be very stable)
   * sigtool: --build (builds a cvd file, not finished yet)
   * clamd: new directive TCPAddr by Bernard Quatermass
   * libclamav: new scan option CL_DISABLERAR (disables built-in rar unpacker)
   * clamd: rar scanning is now disabled by default and may be enabled with
 	   ScanRAR in clamav.conf.
 
e63af37c
 Mon Sep 29 07:15:30 BST 2003 (njh)
 ----------------------------------
   * clamav-milter: ensure remoteIP is initialised
9e7b0c12
   		max-children now overrides MaxThreads
e63af37c
 
2cd8b9d4
 Sun Sep 28 17:38:44 BST 2003 (njh)
 ----------------------------------
   * clamav-milter: added --force-scan flag
   		Use MaxThreads if --max-children not set
 		(thanks to "Richard G. Roberto" <rgr@dedlegend.com>)
 
e52f5154
 Sun Sep 28 11:07:49 BST 2003 (njh)
 ----------------------------------
   * libclamav: mbox.c now compiles on SCO5
   *		removed some duplicate code between mbox.c and message.c
   *		started to add RCS ident info
 
7418fb74
 Fri Sep 26 17:08:31 BST 2003 (njh)
 ----------------------------------
   * clamav-milter: added --noxheader patch
 
0de3db22
 Wed Sep 24 18:35:29 CEST 2003 (tk)
 ----------------------------------
   * libclamav: disabled support for news messages
 
f6ded658
 Wed Sep 24 10:37:10 BST 2003 (njh)
 ----------------------------------
 
   * libclamav: fixed core dump when the plain text file contained just
   		the text "begin <number>"
 
03f3ee78
 Wed Sep 24 06:54:56 BST 2003 (njh)
f6ded658
 ---------------------------------
03f3ee78
   * clamav-milter: redirect stdin/stdout/stderr
 
ab71ed4d
 Sun Sep 21 22:03:13 CEST 2003 (tk)
 ----------------------------------
   * libclamav: enabled support for News messaged (thanks to
                Lars Magne Ingebrigtsen)
 
27a3f44a
 Sun Sep 21 22:00:34 CEST 2003 (tk)
 ----------------------------------
   * libclamav: unrar: fixed potential infinite loop (thanks to
 	       Lars Magne Ingebrigtsen)
 
ed012c00
 Sun Sep 21 21:19:36 CEST 2003 (tk)
 ----------------------------------
   * libclamav: increased MAGIC_BUFFER_SIZE to 14 bytes
 
6b997684
 Tue Sep 16 19:34:56 CEST 2003 (tk)
 ----------------------------------
   * libclamav: scan messages that start with "Delivered-To"
 
dbfe6f8a
 Tue Sep 16 18:47:39 CEST 2003 (tk)
 ----------------------------------
   * clamd: fixed compilation error (missing sighup variable)
 
67940173
 Tue Sep 16 18:06:47 CEST 2003 (tk)
 ----------------------------------
   * libclamav: included patch from Thomas Lamy:
        > - a fix to my own fix (*ret was declared const -> gcc warning)
        > - antoher fix to my own code (double fclose() on malformed zip archive)
        > - global to local fix for unrarlib.c (BOOL FileFound).
 
c130989f
 Mon Sep 15 14:09:50 BST 2003
 ----------------------------
   * libclamav/mbox.c: Fixed potential buffer overrun files with long names
   			DOS style filename suffixes
 
21262452
 Mon Sep 15 13:23:27 BST 2003
 ---------------------------
c130989f
   * clamav-milter: Added defaults about 0.60e to INSTALL file
21262452
 
84bc12c3
 Sun Sep 14 21:11:00 CEST 2003
 -----------------------------
   * clamd: a fatal race condition fixed (only cvs versions were vulnerable)
 
 Fri Sep 12 06:39:30 CEST 2003
 -----------------------------
   * clamd: re-open log file on SIGHUP
 
 Thu Sep 11 05:55:42 CEST 2003
 -----------------------------
   * libclamav/Makefile.am: fix for VPATH building (patch by Eugene Crosser)
   * libclamav: mbox: + fix for empty field based on patch by Thomas Lamy (Nigel)
 		     + fix potential segfault on Solaris 9 (Nigel)
   * clamav-milter: 0.60e: added -P and -q flags by Nicholas M. Kirsch (Nigel)
 
434d18fd
 Sun Sep  7 21:44:18 CEST 2003
 -----------------------------
   * libclamav: memory leak fixes by Thomas Lamy
 
b4912e71
 Fri Sep  5 15:09:58 CEST 2003
 -----------------------------
   * clamd: crash gently
 
79fa3ac6
 Thu Sep  4 20:50:20 CEST 2003
 -----------------------------
   * libclamav: mbox: fix for OE messages (Nigel)
 
8fbe0cb1
 Mon Sep  1 21:45:48 CEST 2003
 -----------------------------
   * clamav.rulez.pl and clamav.linux-sxs.org removed from mirrors.txt
     (thanks to Tomasz Papszun and Benjamin Zwittnig for checking them)
 
10b963bd
 Mon Sep  1 21:33:25 CEST 2003
 -----------------------------
   * libclamav: fixed zziplib compilation error under OS/X (Nigel)
   * libclamav: mbox cosmetic fix
 
92385cfe
 Sat Aug 30 21:25:25 CEST 2003
 -----------------------------
   * libclamav: mbox code update - should be more stable (Nigel)
   * clamav.conf: RemoveStaleSocket -> FixStaleSocket
 
049a18b9
 Fri Aug 29 06:00:01 CEST 2003
f01bbfe8
 -----------------------------
049a18b9
   * clamav-milter: 0.60d: Removed superflous buffer and unneeded strerror
 		   call (Nigel)
   * libclamav: enabled support for Maildir files (thanks to Tomasz Papszun
 	       for samples and to Nigel for making his code so flexible)
92385cfe
   * libclamav: fixed memory leak (Nigel)
049a18b9
 
 Wed Aug 27 23:25:52 CEST 2003
 -----------------------------
   * libclamav: message.c/h - allow any number of arguments to mime
 	       commands (Nigel)
   * libclamav: mbox - parseMimeHeader() potential memory problem fixed (Nigel)
   * clamd, clamscan: removed duplicated rndnum() and switched to cl_rndnum()
   * clamd: new directive FixStaleSocket by Thomas Lamy and Mark Mielke
 
 Sat Aug 23 21:17:33 CEST 2003
 -----------------------------
   * freshclam: fixed --on-error-execute (don't run a command on "no update"
 	       event). Fixed by David Woakes.
 
 Wed Aug 20 02:30:37 CEST 2003
 -----------------------------
   * libclamav: mbox - support for "raw" messages (Nigel)
   * sigtool: fixed a segmentation fault when a signature reaches end
 	     of file (thanks to Tomasz Papszun for an example)
 
 Tue Aug 19 02:33:48 CEST 2003
 -----------------------------
   * clamav-milter: 0.60b - support for CC bounces to an e-mail address other
 		   than. Now compiles out of the box on FreeBSD 4.x (Nigel)
   * Various fixes for Tru64 support (5.1a tested) by Hrvoje Habjanic
 
 Wed Aug 13 16:07:39 CEST 2003
 -----------------------------
   * clamav-milter: 0.60a - tidied up message when sender is unknown (Nigel)
   * libclamav: mbox updates: fixed an assertion error with some mail
 	       files (Nigel)
f01bbfe8
 
0249f9d2
 Wed Aug  6 03:01:51 CEST 2003
 -----------------------------
e4ae7726
   * clamd: new directives: VirusEvent, Debug
0249f9d2
   * libclamav: zziplib downgraded to the old version due to Zip handling
 	       problems
 
9750dd75
 Sun Aug  3 03:35:49 CEST 2003
 -----------------------------
   * libclamav: zziplib updated to 0.10.83-pre1
0249f9d2
   * clamscan: --debug enables libclamav's debug messages without a need
 	      to recompile with --enable-debug
9750dd75
 
d4d14218
 Sat Jul 26 17:11:46 CEST 2003
 -----------------------------
   * libclamav: updated mbox code (Nigel)
 
 Thu Jul 24 13:29:39 CEST 2003
 -----------------------------
   * libclamav: mbox: fixed detection of the Gibe virus (bug reported
049a18b9
 	       by Rene Bellora); support for long file names (problem
d4d14218
 	       reported by Tomasz Papszun)
 
28e73e95
 Sun Jul 20 23:43:38 CEST 2003
 -----------------------------
   * libclamav: mbox: improved scanning of uuencoded files and other
 		     important fixes (Nigel)
   * libclamav: removed mutex for cl_mbox
   * mirrors.txt: added clamav.org mirror (maintained by Nicholas Chua)
 
 Sat Jul 19 02:31:27 CEST 2003
 -----------------------------
   * clamd: fixed LogFile permissions (applied patch from Magnus Ekdahl)
   * libclamav: mbox: mbox moved to scanmail(), support for cancellation
 	       (this should protect against a deadlock when cancelled
 	       after timeout).
   * added ./contrib/clamdb (author: Ted Fines, Macalester College)
 
 Wed Jul 17 23:33:17 CEST 2003
 -----------------------------
   * libclamav: mbox: Temporary fix to handle filenames that include the
 	       newline character (Nigel)
 
 Mon Jul 14 03:43:35 CEST 2003
e4ae7726
 -----------------------------
28e73e95
   * clamav-milter: Some TODOs done by Nigel Kukard <nkukard@lbsd.net>
                    Should stop a couple of remote chances of crashes (Nigel)
 
 Thu Jul 10 17:16:32 CEST 2003
e4ae7726
 -----------------------------
28e73e95