ChangeLog
6537bb75
 Tue Jan 27 14:04:51 GMT 2004 (trog)
 -----------------------------------
   * libclamav:  OLE2 unpacker - add big-endian support
 
e63f8827
 Mon Jan 26 22:09:19 CET 2004 (tk)
 ---------------------------------
   * libclamav: Makefile: do not remove clamav.h with make distclean (problem
 	       reported by Thomas Lamy)
 
804f9ba6
 Mon Jan 26 20:56:30 CET 2004 (tk)
 ---------------------------------
   * libclamav: cli_scanole2 fixes from Trog
 
ee5c926e
 Mon Jan 26 16:00:02 GMT 2004 (trog)
 -----------------------------------
   * libclamav:	VBA decoder - Fix malloc off-by-one. Add checking
                 for middle and end strings in VBA project file.
                 Fix compiler warnings.
 		OLE2 unpacker - Remove global variables. Fix for
 		nasty MacOffice docs.
 
6a914c6e
 Mon Jan 26 14:14:27 GMT 2004 (njh)
 ----------------------------------
   * clamav-milter: Corrected endian problem (ntohs instead of htons)
 
244be94f
 Sun Jan 25 14:27:26 GMT 2004 (njh)
 ----------------------------------
   * clamav-milter: Corrected usage message
 		Support multiple servers separated by colons
 		Started to honour --debug
 		Dump core on LINUX if CL_DEBUG set
 
1f301ecc
 Sun Jan 25 07:31:00 CET 2004 (tk)
 ---------------------------------
   * libclamav: VBA wrapper - fixed NULL dereference in new code (reported
 	       by Nigel)
   * clamscan: fixed possible crash with uninitialized filename variable
 	      (thanks to Nigel)
 
ad6cf094
 Sat Jan 24 18:17:51 GMT 2004 (njh)
 ----------------------------------
   * clamav-milter: Allow clamd server name as well as IPaddress in -s option
 
5c7cf3f1
 Sat Jan 24 17:45:40 GMT 2004 (njh)
 ----------------------------------
   * libclamav: Removed (incorrect) warning about uninitialised variable
 
c561d2a3
 Fri Jan 23 12:12:30 CET 2004 (tk)
 ---------------------------------
   * libclamav: added support for OLE2 / VBA streams scanning (!!), based on
 	       code written by Trog <trog@uncon.org>. It may be enabled
 	       with CL_OLE2 passed in options to cli_scandesc().
   * clamscan: support for OLE2 scanning is enabled by default and may be
 	      disabled with --no-ole2
   * clamd: support for OLE2 scanning is disabled by default and may be enabled
 	   with ScanOLE2 in clamav.conf.
   * clamd: included Darwin fix from Nigel
 
a12c8447
 Fri Jan 23 10:50:51 GMT 2004 (njh)
 ----------------------------------
   * libclamav: Fixed memory leak in handling some multipart messages
 
4e7ca2b1
 Fri Jan 23 08:52:49 GMT 2004 (njh)
 ----------------------------------
   * libclamav: Add detection of uuencoded viruses in single part
 	multipart/mixed files
 
9a35912c
 Thu Jan 22 22:14:13 GMT 2004 (njh)
 ----------------------------------
   * libclamav: Prevent infinite recursion on broken uuencoded files
 
d5314812
 Wed Jan 21 09:38:01 CET 2004 (tk)
 ---------------------------------
   * sigtool: --list-sigs: list virus signature names from all databases.
 	     Optionally it can list signatures from selected database
 	     (--list-sigs=/path/to/database)
 
ace125c7
 Tue Jan 20 11:34:38 CET 2004 (tk)
 ---------------------------------
   * clamd: new commands: SESSION, END: SESSION starts a clamd session and
 	   allows to do multiple commands per TCP session. END closes the
 	   session. Requested by Jim Ramsay <i.am*jimramsay.com>.
 
8b1cee14
 Fri Jan 16 07:39:55 CET 2004 (tk)
 ---------------------------------
   * freshclam: removed -c for --config-file (conflicted with -c for --checks).
 	       Problem reported by Richard Stevenson <richard*endace.com>.
 
c0dc4de2
 Thu Jan 15 15:31:13 CET 2004 (tk)
 ---------------------------------
   * clamd: "ThreadTimeout 0" now properly disables the limit (thanks to
 	   Trog <trog*uncon.org>)
 
fbef387b
 Wed Jan 14 18:03:17 GMT 2004 (njh)
 ----------------------------------
   * libclamav: added definition of binhexBegin
 
6a91c55b
 Wed Jan 14 10:09:30 GMT 2004 (njh)
 ----------------------------------
   * libclamav: blobGetData now allows contents to be changed - tuttut
 
ead674a2
8c0250d5
 Tue Jan 13 10:12:36 GMT 2004 (njh)
 ----------------------------------
   * libclamav: Remove duplicate code when handling multipart messages
 
462b5251
 Mon Jan 12 15:31:32 GMT 2004 (njh)
 ----------------------------------
   * clamav-milter: FixStaleSocket: no longer complain if asked to remove
 	an old socket when there was none to remove
 
f10d1f91
 Mon Jan 12 08:58:59 GMT 2004 (njh)
 ----------------------------------
   * docs:	Note that clamav-milter requires clamd
 
cdbe607d
 Sat Jan 10 16:23:54 GMT 2004 (njh)
 ----------------------------------
   * clamav-milter: Added OpenBSD instructions from <peo_s@incedo.org>
 	and --signature-file option
 
6fc78535
 Sat Jan 10 14:52:00 GMT 2004 (njh)
cdbe607d
 ----------------------------------
6fc78535
   * docs:	Note that clamav-milter debugging option requires
 	reconfiguration
 
f14906ba
 Sat Jan 10 13:02:43 GMT 2004 (njh)
 ----------------------------------
   * libclamav: Added BinHex compression support
 
0ada8f3e
 Fri Jan  9 18:27:19 GMT 2004 (njh)
 ----------------------------------
   * libclamav: ParseMimeHeader could corrupt arg
 
a42dba7d
 Fri Jan  9 18:01:28 GMT 2004 (njh)
 ----------------------------------
   * libclamav: Started handling BinHex code. For now only works with
8c0250d5
 	"inline" messages where the BinHex is in the main body of the plain
a42dba7d
 	text portion.
 
7cf85c4d
 Fri Jan  9 15:08:01 GMT 2004 (njh)
 ----------------------------------
8c0250d5
   * libclamav: Re-engineered handling of
7cf85c4d
 	Handle Content-Type: /; name="eicar.com"
 	which was lost in recent code change. Should now apply to more
 	cases
 
68badbc1
 Fri Jan  9 14:46:29 GMT 2004 (njh)
 ----------------------------------
   * libclamav: Removed duplicated code in multipart handler in mbox.c
 
852e3ce4
 Fri Jan  9 10:21:27 GMT 2004 (njh)
 ----------------------------------
   * libclamav: Locate uuencoded viruses hidden in text poritions of
8c0250d5
 	multipart/mixed mime messages
852e3ce4
 
026ebd88
 Fri Jan  9 02:07:53 CET 2004 (tk)
 ---------------------------------
   * freshclam: restored old command line options (except for proxy settings) -
 	       if activated, they will overwrite settings from freshclam.conf
   * clamscan: --beep
 
28fe4276
 Wed Jan  7 21:50:28 CET 2004 (tk)
 ---------------------------------
   * clamscan: removed support for sendfile() under Linux
 
441992ed
 Tue Jan  6 14:42:00 GMT 2004 (njh)
 ----------------------------------
   * libclamav: Handle headers which do not not have a space after the ':'
8c0250d5
 	Example mail submitted by "Diego d'Ambra" <da@softcom.dk>
441992ed
 
d11fb38a
 Tue Jan  6 14:43:42 CET 2004 (tk)
 ---------------------------------
   * clamd: cfgfile.c: HTTPProxyPort is now OPT_NUM and not OPT_STR (the bug
 		      found by Nigel)
 
ca6008cc
e2bb746e
 Wed Dec 31 14:47:13 GMT 2003 (njh)
 ----------------------------------
   * clamav-milter: Included the sendmail queue ID in the log, from an
 		idea by Andy Fiddaman <af@jeamland.org>
 
10971328
 Tue Dec 30 04:33:29 CET 2003 (tk)
 ---------------------------------
   * libclamav: don't report an error with password protected zip (problem
 	       reported by Brian Bruns <bruns*2mbit.com>)
 
0d98d74c
 Mon Dec 29 06:19:54 CET 2003 (tk)
 ---------------------------------
   * freshclam: it's now configurable via freshclam.conf (which may be merged
 	       with clamav.conf). The old command line options are accepted
 	       but most of them will have no effect. WARNING: Some things
 	       may be temporary broken.
 
3166c010
 Sat Dec 27 17:29:30 GMT 2003 (njh)
 ----------------------------------
   * clamav-devel: Moved --sign data to private area
 		(suggestion by Michael Dankov <misha@btrc.ru>)
 
3a0e8a46
 Wed Dec 24 15:27:22 CET 2003 (tk)
 ---------------------------------
   * libclamav: zziplib - fixed a bus error when compiled with the Sun compiler
 			 on the 64 bit SPARC (patch by Marty Lee
 			 <marty*maui.co.uk>)
 
2e3769eb
 Wed Dec 24 02:28:42 CET 2003 (tk)
 ---------------------------------
   * libclamav: fixed my last patch (instead of a value, a pointer was compared)
 	       Thanks to Nigel.
 
e6bffccb
 Mon Dec 22 14:06:09 GMT 2003 (njh)
2e3769eb
 ----------------------------------
e6bffccb
   * clamav-milter: Added --sign option
 
a8aba90a
 Sun Dec 21 05:52:12 CET 2003 (tk)
 ---------------------------------
   * libclamav: fixed a mail recursion loop - problem reported by Alex Kah
 	       <alex*narfonix.com> (+ sample) and Kristof Petr
 	       <Kristof.P*fce.vutbr.cz>.
 
f54a8635
 Sat Dec 20 13:56:27 GMT 2003 (njh)
 ----------------------------------
   * libclamav: Ensure multipart just save the bodies of attachments
 
2e3769eb
 Sat Dec 20 13:25:23 CET 2003 (tk)
 ---------------------------------
61ff3bda
   * clamdscan: fixed a segmentation fault when invoked without arguments
 	       (patch by David Santinoli <david*santinoli.com>)
   * libclamav: the memory limit and verbosity arguments in bzReadOpen() were
 	       swapped due to a bug in the bzip2 documentation (problem
 	       found by Tomasz Klim <tomek*euroneto.pl>, bzip2 author notified)
 
68be129f
 Sun Dec 14 18:07:44 GMT 2003 (njh)
 ----------------------------------
   * libclamav: not all viruses were being found in embedded RFC822 messages
 
3731b724
 Sat Dec 13 16:45:44 GMT 2003 (njh)
 ----------------------------------
   * libclamav: use new cl_chomp() and fixed memory leak
   * clamav-milter: up issue to 0.66 ready for the new release
   * docs: Cover what happens if max-children not set in clamav-milter
 
86cbf9f8
 Fri Dec 12 21:07:49 CET 2003 (tk)
 ---------------------------------
   * libclamav: new cl_chomp() from Nigel
   * clamscan: fixed a buffer overflow in --move (patch by Denis De Messemacker
 	      <ddm*clamav.net>)
 
5aad47ca
85c1dbfd
 Fri Dec 12 13:43:50 GMT 2003 (njh)
 ----------------------------------
   * clamav-milter: A couple of calls to clamfi_cleanup were missing before
 	return cl_error
 
7fca6080
 Thu Dec 11 14:36:32 GMT 2003 (njh)
 ----------------------------------
   * libclamav: better handling of encapsulated messages, i.e. emails
8c0250d5
 	within other emails such as forwarded messages
7fca6080
 
d2efb3fa
 Wed Dec 10 12:01:27 GMT 2003 (njh)
 ----------------------------------
   * clamav-milter: Timeout on waiting for data from clamd, by honouring
8c0250d5
 	ThreadTimeout in clamav.conf
d2efb3fa
 
b696653a
 Tue Dec  9 09:22:46 GMT 2003 (njh)
 ----------------------------------
   * clamav-milter: Use the location of sendmail discovered by configure
 
bef39227
 Mon Dec  8 19:51:23 CET 2003 (tk)
 ---------------------------------
   * configure: locate the sendmail executable
 
350b59b2
 Sun Dec  7 22:46:15 CET 2003 (tk)
 ---------------------------------
   * freshclam: use the TCPAddr parameter (patch from David S. Madole)
 
f5e9abc8
 Sat Dec  6 04:04:00 GMT 2003 (njh)
 ----------------------------------
   * libclamav: Handle hand crafted emails that incorrectly set multipart headers
8c0250d5
 	Handcrafted examples sent by Michael Dankov <misha@btrc.ru>
f5e9abc8
 
d3472eb6
 Sat Dec  6 00:43:08 CET 2003 (tk)
 ---------------------------------
   * Applied a patch from David S. Madole <david*madole.net>:
     + clamd: accept a hostname for the "TCPAddr" parameter
     + clamdscan: use the "TCPAddr" parameter
 
709d1342
 Fri Dec  5 19:16:08 GMT 2003 (njh)
 ----------------------------------
   * clamav-milter: Added call to umask to ensure that the local socket
 	is not publically writeable. If it is sendmail
 	will (correctly!) refuse to start this program
 	Thanks for Nicklaus Wicker <n.wicker@cnk-networks.de>
 
 	Don't sent From as the first line since that means
 	clamd will think it is an mbox and not handle
 	unescaped From at the start of lines properly
 	Thanks to Michael Dankov <misha@btrc.ru>
 
dd8a7e90
 Fri Dec  5 09:34:44 GMT 2003 (njh)
 ----------------------------------
   * libclamav: Use cli_tok instead of strtok - replaced now by cli_strtok
 
a67c90ed
 Fri Dec  5 02:31:24 CET 2003 (tk)
 ---------------------------------
   * clamav-milter: Makefile: link against libclamav (needed for cli_strtok())
 		   Problem reported by Troy and solved by Thomas Lamy.
 
f1708da2
 Wed Dec  3 22:03:19 CET 2003 (tk)
 ---------------------------------
   * libclamav: cli_scandir(): fixed a recursive loop (a wrong file argument
 	       was passed to the recursive call but fortunately this function
 	       is only used with with one level directories). Bug found by
 	       Tomasz Klim <tomek*euroneto.pl>.
 
e8217f5a
 Tue Dec  2 23:41:04 CET 2003 (tk)
 ---------------------------------
   * New fixes from Thomas Lamy <Thomas.Lamy*in-online.net>:
     + configure.in: check for memcpy()
     + libclamav:
       + cli_strtok(): more generic replacement for tok() and cli_tok()
       + cli_enqueue(): return CL_EMEM on malloc problems
       + cli_maketrans(): return cli_enqueue()s result
       + cl_buildtrie(): same
     + clamd:
       + fixed memleaks in config file parsing
       + replaced tok() with new and more general cli_strtok() in libclamav
       + check return value of cl_buildtrie()
     + clamscan:
       + more than one filename may be given on cmdline
       + check return value of cl_buildtrie()
       + opt->filename cleanup
     + examples/ex1.c: check return value of cl_buildtrie()
     + other cosmetic fixes (removed unused variables, added missing includes)
 
   * configure.in: define _REENTRANT on pthread compliant systems only (thanks
 		  to Nigel)
   * clamd: usleep if there are no free sessions (thanks to Ed Phillips)
 
65a8d561
 Tue Dec  2 06:38:13 GMT 2003 (njh)
 ----------------------------------
   * clamav-milter: use setsid if setpgrp not available
 	Thanks to Eugene Crosser <crosser@rol.ru> and Tomasz
 
cf899a29
 Mon Dec  1 23:51:25 CET 2003 (tk)
 ---------------------------------
   * libclamav: maxratio added to cl_limits
   * clamd: new directive ArchiveMaxCompressionRatio
   * configure: detect the type of setpgrp() (thanks to Eugene Crosser
                <crosser*rol.ru>)
 
9c1c9007
 Mon Dec  1 20:26:45 CET 2003 (tk)
 ---------------------------------
   * A bunch of patches from Thomas Lamy <Thomas.Lamy*in-online.net>:
     + fixed on error descriptor leak in cli_untgz()
     + added missing mpz_clear() in cli_versig()
     + more error messages in scanners.c and others.c
     + properly free file stream in cli_scanbzip()
     + clamd: clean up resources on exit (added freecfg() and logg_close())
 
3454ad43
 Sun Nov 30 06:13:28 GMT 2003 (njh)
 ----------------------------------
   * clamav-milter: Added --quarantine-dir
 		Thanks to Michael Dankov <misha@btrc.ru>.
 
4ba69cb6
 Sat Nov 29 12:52:21 GMT 2003 (njh)
 ----------------------------------
   * clamav-milter: Fix problem of possible confused pointers if large number of
 	recipients given. Fix by Michael Dankov <misha@btrc.ru>.
 
3c572030
 Sat Nov 29 04:35:03 CET 2003 (tk)
 ---------------------------------
   * clamd: UseProcesses: use processes instead of threads (initial version)
 
3583091d
 Thu Nov 27 00:51:03 CET 2003 (tk)
 ---------------------------------
   * clamd: also update database timestamps after RELOAD and not only SelfCheck
 	   (problem with double reloading reported by Ole Stanstrup
 	   <ole*stanstrup.dk> and Alex Pleiner <pleiner*zeitform.de>)
   * examples/ex1.c: initialize the signature counter to 0 (thanks to Rainer
 		    Link) [I should read clamdoc.pdf more carefully ;-)]
 
1065f138
 Wed Nov 26 14:31:49 CET 2003 (tk)
 ---------------------------------
   * examples/ex1.c: fixed a compilation warning (thanks to Rainer Link)
 
2a1ff3e4
 Tue Nov 25 11:28:28 IST 2003 (njh)
 ----------------------------------
   * clamav-milter: Handle empty hostname or hostaddr
 	Thanks to Michael Dankov <misha@btrc.ru> for the idea
 
03186fe8
 Mon Nov 24 17:18:03 CET 2003 (tk)
 ---------------------------------
   * libclamav: cvd.c: small cleanups
   * included mbox testing tool (test/mbox/debugm.c) from Nigel
 
434012b8
 Mon Nov 24 10:19:48 IST 2003 (njh)
 ----------------------------------
   * clamav-milter: Support AllowSupplementaryGroups
 
e89a361a
 Sun Nov 23 23:40:53 CET 2003 (tk)
 ---------------------------------
   * clamd: redirect the descriptors 1 and 2 to /dev/null by default, to
 	   protect against a lock with Debug when Foreground is not enabled
 
5f2e7d7f
 Sat Nov 22 17:23:10 IST 2003 (njh)
 ----------------------------------
   * clamav-milter: Drop root privileges and support quarantine
 
2227f20e
 Fri Nov 21 12:58:02 IST 2003 (njh)
 ---------------------------------
   * libclamav:	Scan multipart alternatives that have no boundaries, finds some
8c0250d5
 		uuencoded happy99
2227f20e
 
0b6bce84
 Wed Nov 19 16:34:04 GMT 2003 (njh)
 ---------------------------------
   * clamav-milter: Close cmdSocket earlier
 		Added setpgrp()
 
eaacc2de
 Mon Nov 17 13:28:16 IST 2003 (njh)
 ----------------------------------
181c7548
   * libclamav:	Prevent buffer overflow in broken uuencoded files
 		Handle spaces at the end of lines of MIME headers
eaacc2de
 
c2ac5345
 Mon Nov 17 10:20:05 IST 2003 (njh)
 ----------------------------------
   * clamav-milter: changed version from 0.60 to 0.65
 
18a89742
 Sun Nov 16 02:34:12 CET 2003 (tk)
 ---------------------------------
   * libclamav, clamd: fixed limit initialization when ScanArchive is disabled
 		      (thanks to Igor Brezac <igor*ipass.net>)
 
6765b5df
 Sat Nov 15 03:54:39 CET 2003 (tk)
 ---------------------------------
   * sigtool: fixed --build problems introduced in 0.65
 
f5cd5991
 Sat Nov 15 01:17:29 CET 2003 (tk)
 ---------------------------------
   * libclamav: cli_scanzip: do malloc() outside of the zip scanning loop;
 	       handle properly write error condition (patches by Rudolph
 	       Pereira <r.pereira*isu.usyd.edu.au>)
   * libclamav: zziplib: fixed comp. problem under FreeBSD 5 (Rudolph Pereira)
   * freshclam: fixed compilation error under Cygwin (patch by Robert Hogan
 	       <robert*roberthogan.net>)
   * libclamav: cli_scanzip: increased oversize ratio
   * freshclam: always initialize the ipaddr variable (patch by Mark Mielke
 	       <mark@mark.mielke.cc>)
 
cd866e39
 Thu Nov 13 20:03:53 CET 2003 (tk)
 ---------------------------------
   * clamav-milter/Makefile: clamav-milter.8 manual path fixed
 
59970c62
 Wed Nov 12 02:34:56 CET 2003 (tk)
 ---------------------------------
   * docs: included clamav-mirror-howto.pdf by Luca Gibelli
   * docs: included clamd+daemontools HOWTO by Jesse D. Guardiani
   * docs: included signatures.pdf
   V 0.65
 
a0faaedf
a6f07599
 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
8c0250d5
 
97de3c9d
 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.
 
7b7b3ca5
 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).
 
089fbbbb
 Thu Nov  6 22:40:58 CET 2003 (tk)
7b7b3ca5
 ---------------------------------
089fbbbb
   * libclamav: zziplib: reverted to 0.12.83
 
04421a14
 Thu Nov  6 10:36:57 IST 2003 (njh)
 ----------------------------------
   * libclamav: Not all applications (those not sent as legal attachments)
 		were being scanned
 
f858fc54
 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)
 
a6935bfa
 Wed Nov  5 22:31:26 CET 2003 (tk)
 ---------------------------------
   * clamd: cl_scanfile() error message fixed (thanks to Ed Phillips)
 
3a805bfd
 Wed Nov  5 15:43:15 GMT 2003 (njh)
 ----------------------------------
   * clamav-milter: tidied up the calls to pthread_cond_timedwait
 
6ab9efc7
 Wed Nov  5 11:35:22 CET 2003 (tk)
 ---------------------------------
   * clamscan.1: fixed a typo (thanks to Damien Curtain)
 
8b04b4f6
 Wed Nov  5 12:34:34 IST 2003 (njh)
 ----------------------------------
   * libclamav: Handle spam that sends broken content-disposition
8c0250d5
 	(Fix by NJH, Bug notified by Laurent Wacrenier <lwa@teaser.fr>)
8b04b4f6
 
29ca066f
 Wed Nov  5 01:52:03 CET 2003 (tk)
 ---------------------------------
a6935bfa
   * libclamav: zziplib: a few files converted to UNIX format (thanks to
29ca066f
 	       Ed Phillips)
 
2bf7796a
 Tue Nov  4 13:37:21 CET 2003 (tk)
 ---------------------------------
   * clamd: yesterday's fix fixed (missing virno variable). Thanks to Nigel.
 
295e425f
 Tue Nov  4 08:27:00 GMT 2003 (njh)
 ----------------------------------
   * libclamav: Handle multipart messages that have no text portion
8c0250d5
 	(Fix by NJH, Bug notified by Laurent Wacrenier <lwa@teaser.fr>)
295e425f
 
62f6fc0e
 Tue Nov  4 00:37:03 CET 2003 (tk)
 ---------------------------------
   * clamd: fixed signature counter (thanks to Dirk Kraemer)
 
1f29c033
 Sun Nov  2 01:07:46 CET 2003 (tk)
 ---------------------------------
   * freshclam: do not use IP address in database request (thanks to Luca
 	       'NERvOus' Gibelli)
 
e1ef4066
 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)
 
b0a42ec6
 Fri Oct 31 13:34:18 GMT 2003 (njh)
 ----------------------------------
   * clamav-milter: added dont scan on error flag
 
42e6f5a6
 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
 
4be012e9
 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)
 
442d8407
 Sun Oct 26 06:26:14 CET 2003 (tk)
4be012e9
 ---------------------------------
442d8407
   * 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)
4be012e9
 ---------------------------------
e3f00f7e
   * clamd: initialize the virus-number variable (Igor Brezac)
   * sigtool: fixed compilation issue on Solaris (bug reported by
 	     Christopher X. Candreva)
 
390a7661
 Wed Oct 22 20:44:29 BST 2003 (njh)
 ---------------------------------
   * clamav-milter: more calls to pthread_cond_broadcast
 
4bf2cf8d
 Mon Oct 20 01:57:16 CEST 2003
 ----------------------------------
   * sigtool: receive digital signature from remote ClamAV Signing Service
   * libclamav: small cvd fixes
 
13847a2d
 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
 
07cbf822
 Sun Oct 12 21:14:21 BST 2003 (njh)
 ---------------------------------
   * libclamav: mbox.c now uses NO_STRTOK_R consistently with message.c
8c0250d5
 		Patch by Bernd Kuhls <spiralvoice@hotmail.com>
07cbf822
 
e789ccec
 Sun Oct 12 19:46:18 CEST 2003 (tk)
 ----------------------------------
   * libclamav: Makefile: do not overwrite CFLAGS
 
f0d6f5a1
 Sun Oct 12 09:37:44 BST 2003 (njh)
 ---------------------------------
07cbf822
   * libclamav: handles Eicar found in Appledouble files, though Appledouble
8c0250d5
 		files are not yet handled
f0d6f5a1
   * clamav-milter: use VERSION info to talk to clamd not PING/PONG
8c0250d5
 		Only close fd 0/1/2 if !Foreground
f0d6f5a1
 		Sanity checking now performed on LocalSocket as well as TCPSocket
 
dd0d5a8c
 Sat Oct 11 16:42:42 BST 2003 (njh)
f0d6f5a1
 ---------------------------------
dd0d5a8c
   * clamav-milter: fixed possible crash with long e-mail addresses
8c0250d5
 		Removed call to clamdscan to get version
dd0d5a8c
 
80dbbf08
 Thu Oct  9 15:18:44 CEST 2003 (tk)
 ----------------------------------
   * configure.in: added -lresolv to CLAMD_LIBS on Solaris
 
183ee7e7
 Wed Oct  8 14:49:40 CEST 2003 (tk)
 ----------------------------------
   * libclamav: CVS: commited missing files
 
c0eb3ceb
 Wed Oct  8 12:39:26 CEST 2003 (tk)
 ----------------------------------
442d8407
   * clamd: (!!!) fixed a race condition in database reloading code
c0eb3ceb
   * libclamav: finished support for cvd files
 
3a0b4e5b
 Sun Oct  5 18:30:40 BST 2003 (njh)
 ----------------------------------
   * clamav-milter: Used to always remove old UNIX domain sockets, now
8c0250d5
 		only does that if FixStaleSocket is set
442d8407
 
31268a5c
 Sun Oct  5 14:58:05 BST 2003 (njh)
 ----------------------------------
   * clamav-milter: s/atoi(cpt->strarg)/cpt->numarg for MaxThreads
 
29e957bf
 Sat Oct  4 20:04:39 CEST 2003 (tk)
 ----------------------------------
   * clamav.conf: s/RemoveStaleSocket/FixStaleSocket (thanks to Kristof Petr)
 
b14e9e77
 Fri Oct  3 12:55:46 BST 2003 (njh)
 ----------------------------------
   * clamav-milter: added list of recipients who's email is not scanned
 
5e27c1c2
 Thu Oct  2 19:43:57 CEST 2003 (tk)
 ----------------------------------
   * clamd: set umask also in Foreground mode (thanks to Kelsey Cummings)
 
6a416554
 Wed Oct  1 10:52:35 BST 2003 (njh)
 ----------------------------------
   * libclamav: mbox/message now handles content type definition on a new
8c0250d5
 		line
6a416554
 
ecb8e6b4
 Tue Sep 30 12:54:32 BST 2003 (njh)
 ----------------------------------
   * clamav-milter: clamfi_envfrom was returning EX_TEMPFAIL in some places
 	  rather than SMFIS_TEMPFAIL
 
6ecba059
 Mon Sep 29 18:10:39 BST 2003 (njh)
 ----------------------------------
   * libclamav: moved stub from heap to stack since its mazimum size is known
 
47ab99fa
 Mon Sep 29 13:59:13 BST 2003 (njh)
 ---------------------------------
   * libclamav:	Handle Content-Type: /; name="eicar.com"
 
4cd4319e
 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.
 
3bcfca74
 Mon Sep 29 07:15:30 BST 2003 (njh)
 ----------------------------------
   * clamav-milter: ensure remoteIP is initialised
8c0250d5
 		max-children now overrides MaxThreads
3bcfca74
 
b5d15e64
 Sun Sep 28 17:38:44 BST 2003 (njh)
 ----------------------------------
   * clamav-milter: added --force-scan flag
8c0250d5
 		Use MaxThreads if --max-children not set
b5d15e64
 		(thanks to "Richard G. Roberto" <rgr@dedlegend.com>)
 
7f334bf0
 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
 
3613bd91
 Fri Sep 26 17:08:31 BST 2003 (njh)
 ----------------------------------
   * clamav-milter: added --noxheader patch
 
5c1e8182
 Wed Sep 24 18:35:29 CEST 2003 (tk)
 ----------------------------------
   * libclamav: disabled support for news messages
 
3c52fb18
 Wed Sep 24 10:37:10 BST 2003 (njh)
 ----------------------------------
 
   * libclamav: fixed core dump when the plain text file contained just
8c0250d5
 		the text "begin <number>"
3c52fb18
 
ab3daec1
 Wed Sep 24 06:54:56 BST 2003 (njh)
3c52fb18
 ---------------------------------
ab3daec1
   * clamav-milter: redirect stdin/stdout/stderr
 
968a271e
 Sun Sep 21 22:03:13 CEST 2003 (tk)
 ----------------------------------
   * libclamav: enabled support for News messaged (thanks to
                Lars Magne Ingebrigtsen)
 
60286ab1
 Sun Sep 21 22:00:34 CEST 2003 (tk)
 ----------------------------------
   * libclamav: unrar: fixed potential infinite loop (thanks to
 	       Lars Magne Ingebrigtsen)
 
107ce6ed
 Sun Sep 21 21:19:36 CEST 2003 (tk)
 ----------------------------------
   * libclamav: increased MAGIC_BUFFER_SIZE to 14 bytes
 
77834024
 Tue Sep 16 19:34:56 CEST 2003 (tk)
 ----------------------------------
   * libclamav: scan messages that start with "Delivered-To"
 
4e2d1775
 Tue Sep 16 18:47:39 CEST 2003 (tk)
 ----------------------------------
   * clamd: fixed compilation error (missing sighup variable)
 
65c4d8bc
 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).
 
20accb8c
 Mon Sep 15 14:09:50 BST 2003
 ----------------------------
   * libclamav/mbox.c: Fixed potential buffer overrun files with long names
8c0250d5
 			DOS style filename suffixes
20accb8c
 
04ca3853
 Mon Sep 15 13:23:27 BST 2003
 ---------------------------
20accb8c
   * clamav-milter: Added defaults about 0.60e to INSTALL file
04ca3853
 
bdfbef16
 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)
 
e1257962
 Sun Sep  7 21:44:18 CEST 2003
 -----------------------------
   * libclamav: memory leak fixes by Thomas Lamy
 
8d9739ce
 Fri Sep  5 15:09:58 CEST 2003
 -----------------------------
   * clamd: crash gently
 
5bbc1a04
 Thu Sep  4 20:50:20 CEST 2003
 -----------------------------
   * libclamav: mbox: fix for OE messages (Nigel)
 
bd0c5ea2
 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)
 
f5550697
 Mon Sep  1 21:33:25 CEST 2003
 -----------------------------
   * libclamav: fixed zziplib compilation error under OS/X (Nigel)
   * libclamav: mbox cosmetic fix
 
cb584542
 Sat Aug 30 21:25:25 CEST 2003
 -----------------------------
   * libclamav: mbox code update - should be more stable (Nigel)
   * clamav.conf: RemoveStaleSocket -> FixStaleSocket
 
c6259ac5
 Fri Aug 29 06:00:01 CEST 2003
15c8cace
 -----------------------------
c6259ac5
   * 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)
cb584542
   * libclamav: fixed memory leak (Nigel)
c6259ac5
 
 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)
15c8cace
 
c72178a4
 Wed Aug  6 03:01:51 CEST 2003
 -----------------------------
442d8407
   * clamd: new directives: VirusEvent, Debug
c72178a4
   * libclamav: zziplib downgraded to the old version due to Zip handling
 	       problems
 
10ea669d
 Sun Aug  3 03:35:49 CEST 2003
 -----------------------------
   * libclamav: zziplib updated to 0.10.83-pre1
c72178a4
   * clamscan: --debug enables libclamav's debug messages without a need
 	      to recompile with --enable-debug
10ea669d
 
0bcad2b1
 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
c6259ac5
 	       by Rene Bellora); support for long file names (problem
0bcad2b1
 	       reported by Tomasz Papszun)
 
468b9e48
 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
442d8407
 -----------------------------
468b9e48
   * 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
442d8407
 -----------------------------
468b9e48