clamav-devel/ChangeLog
ee039e40
 Sun Feb  1 02:12:50 CET 2004 (tk)
 ---------------------------------
   * libclamav: + use strcasecmp() instead of strcmp() when comparing
 		 "Return-path" (Nigel). It may cause compilation errors on
 		 some systems so please report potential problems.
 	       + small cleanup for Solaris (patch by Andy Igoshin <ai*vsu.ru>)
 	       + readdb: free resources in critical error conditions: (patch by
 	         Everton da Silva Marques <everton*lab.ipaccess.diveo.net.br>)
   * clamdscan: return 2 if clamd returns error messages (patch by Len Budney
 	       <lbudney*pobox.com>
   * clamd: + new directives: TemporaryDirectory, LogClean (patch by Andrey
 	     V. Malyshev" <amal*krasn.ru>)
 	   + UseProcesses has been temporarily disabled (the code is broken and
 	     must be updated for the new protocol)
   * sigtool: + fixed compilation error with Sun's compiler (reported by
 	       Alex S Moore <asmoore*edge.net>)
 	     + -l (short option for --list-sigs)
   * freshclam: reply to -h before parsing a config file (patch by Dustin Mollo
 	       <dustin.mollo*sonoma.edu>)
   * configure: + check for __attribute__((packed)) (Trog) 
 	       + use --disable-cr on OpenBSD 3.3 automatically (thanks to Nigel)
 
7f957c91
 Fri Jan 30 12:45:10 GMT 2004 (njh)
 ----------------------------------
   * contrib:	   Recursive scan into folders by the Windows client is now
   		optional (File->Options). Default=TRUE
 
8b422905
 Thu Jan 29 12:54:08 GMT 2004 (njh)
 ----------------------------------
   * clamav-milter: added --noreject flag, thanks to
ee039e40
 			"Vijay Sarvepalli" <vssarvep*office.uncg.edu>
8b422905
   * contrib:	   Added Windows client
 
337cb206
 Thu Jan 29 10:29:02 GMT 2004 (trog)
 -----------------------------------
   * libclamav: VBA decode - add big-endian support
 
952f2560
 Wed Jan 28 15:57:44 GMT 2004 (njh)
 ----------------------------------
   * clamav-milter: Fixed compilation error with --enable-debug
ee039e40
   		Thanks to "Serhiy V. Matveyev" <matveyev*uatele.com> for
952f2560
 		pointing this out to me
 
cca4efe4
 Wed Jan 28 10:16:49 GMT 2004 (njh)
 ----------------------------------
   * libclamav:	Added support to scan some bounce messages
ee039e40
   		Thanks to Jay <sysop-clamav*coronastreet.net> for
cca4efe4
 		letting me bounce ideas off him
 
c94097fe
 Tue Jan 27 22:36:31 CET 2004 (tk)
 ---------------------------------
   * clamd: clamuko: support VirusEvent (requested by Matt Butt
 		    <mattb*cre8tiv.com>)
 
c83b8845
 Tue Jan 27 14:04:51 GMT 2004 (trog)
 -----------------------------------
   * libclamav:  OLE2 unpacker - add big-endian support
 
77e42428
 Mon Jan 26 22:09:19 CET 2004 (tk)
 ---------------------------------
   * libclamav: Makefile: do not remove clamav.h with make distclean (problem
 	       reported by Thomas Lamy)
 
9d0ee50b
 Mon Jan 26 20:56:30 CET 2004 (tk)
 ---------------------------------
   * libclamav: cli_scanole2 fixes from Trog
 
349e0502
 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.
 
e576bf42
 Mon Jan 26 14:14:27 GMT 2004 (njh)
 ----------------------------------
   * clamav-milter: Corrected endian problem (ntohs instead of htons)
 
44d08756
 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
 
f893c0f3
 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)
 
62a7660f
 Sat Jan 24 18:17:51 GMT 2004 (njh)
 ----------------------------------
   * clamav-milter: Allow clamd server name as well as IPaddress in -s option
 
6b8999f0
 Sat Jan 24 17:45:40 GMT 2004 (njh)
 ----------------------------------
   * libclamav: Removed (incorrect) warning about uninitialised variable
 
47bbbc56
 Fri Jan 23 12:12:30 CET 2004 (tk)
 ---------------------------------
   * libclamav: added support for OLE2 / VBA streams scanning (!!), based on
ee039e40
 	       code written by Trog <trog*uncon.org>. It may be enabled
47bbbc56
 	       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
 
4d74431d
 Fri Jan 23 10:50:51 GMT 2004 (njh)
 ----------------------------------
   * libclamav: Fixed memory leak in handling some multipart messages
 
ab74690c
 Fri Jan 23 08:52:49 GMT 2004 (njh)
 ----------------------------------
   * libclamav: Add detection of uuencoded viruses in single part
 	multipart/mixed files
 
9d2797b6
 Thu Jan 22 22:14:13 GMT 2004 (njh)
 ----------------------------------
   * libclamav: Prevent infinite recursion on broken uuencoded files
 
0a2ad257
 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)
 
81131381
 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>.
 
938504c7
 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>.
 
e44b9ae9
 Thu Jan 15 15:31:13 CET 2004 (tk)
 ---------------------------------
   * clamd: "ThreadTimeout 0" now properly disables the limit (thanks to
 	   Trog <trog*uncon.org>)
 
d45d184a
 Wed Jan 14 18:03:17 GMT 2004 (njh)
 ----------------------------------
   * libclamav: added definition of binhexBegin
 
2a4b5c6e
 Wed Jan 14 10:09:30 GMT 2004 (njh)
 ----------------------------------
   * libclamav: blobGetData now allows contents to be changed - tuttut
 
a3ee0766
4c60b74f
 Tue Jan 13 10:12:36 GMT 2004 (njh)
 ----------------------------------
   * libclamav: Remove duplicate code when handling multipart messages
 
fa2c672a
 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
 
a8c7f876
 Mon Jan 12 08:58:59 GMT 2004 (njh)
 ----------------------------------
   * docs:	Note that clamav-milter requires clamd
 
fe3d8be8
 Sat Jan 10 16:23:54 GMT 2004 (njh)
 ----------------------------------
ee039e40
   * clamav-milter: Added OpenBSD instructions from <peo_s*incedo.org>
fe3d8be8
 	and --signature-file option
 
85828dda
 Sat Jan 10 14:52:00 GMT 2004 (njh)
fe3d8be8
 ----------------------------------
85828dda
   * docs:	Note that clamav-milter debugging option requires
 	reconfiguration
 
e7f806cd
 Sat Jan 10 13:02:43 GMT 2004 (njh)
 ----------------------------------
   * libclamav: Added BinHex compression support
 
3f07cba4
 Fri Jan  9 18:27:19 GMT 2004 (njh)
 ----------------------------------
   * libclamav: ParseMimeHeader could corrupt arg
 
130bc08c
 Fri Jan  9 18:01:28 GMT 2004 (njh)
 ----------------------------------
   * libclamav: Started handling BinHex code. For now only works with
4c60b74f
 	"inline" messages where the BinHex is in the main body of the plain
130bc08c
 	text portion.
 
11cbbeb3
 Fri Jan  9 15:08:01 GMT 2004 (njh)
 ----------------------------------
4c60b74f
   * libclamav: Re-engineered handling of
11cbbeb3
 	Handle Content-Type: /; name="eicar.com"
 	which was lost in recent code change. Should now apply to more
 	cases
 
303f9be9
 Fri Jan  9 14:46:29 GMT 2004 (njh)
 ----------------------------------
   * libclamav: Removed duplicated code in multipart handler in mbox.c
 
d110fe1c
 Fri Jan  9 10:21:27 GMT 2004 (njh)
 ----------------------------------
   * libclamav: Locate uuencoded viruses hidden in text poritions of
4c60b74f
 	multipart/mixed mime messages
d110fe1c
 
af22ece1
 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
 
53e696e7
 Wed Jan  7 21:50:28 CET 2004 (tk)
 ---------------------------------
   * clamscan: removed support for sendfile() under Linux
 
d2a47316
 Tue Jan  6 14:42:00 GMT 2004 (njh)
 ----------------------------------
   * libclamav: Handle headers which do not not have a space after the ':'
ee039e40
 	Example mail submitted by "Diego d'Ambra" <da*softcom.dk>
d2a47316
 
8105f365
 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)
 
72194835
2a2f7ff3
 Wed Dec 31 14:47:13 GMT 2003 (njh)
 ----------------------------------
   * clamav-milter: Included the sendmail queue ID in the log, from an
ee039e40
 		idea by Andy Fiddaman <af*jeamland.org>
2a2f7ff3
 
77be7ea9
 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>)
 
95d401c4
 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.
 
51b03ecb
 Sat Dec 27 17:29:30 GMT 2003 (njh)
 ----------------------------------
   * clamav-devel: Moved --sign data to private area
ee039e40
 		(suggestion by Michael Dankov <misha*btrc.ru>)
51b03ecb
 
200e3f74
 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>)
 
e1e5b905
 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.
 
fa9628f2
 Mon Dec 22 14:06:09 GMT 2003 (njh)
e1e5b905
 ----------------------------------
fa9628f2
   * clamav-milter: Added --sign option
 
5920e217
 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>.
 
89670d69
 Sat Dec 20 13:56:27 GMT 2003 (njh)
 ----------------------------------
   * libclamav: Ensure multipart just save the bodies of attachments
 
e1e5b905
 Sat Dec 20 13:25:23 CET 2003 (tk)
 ---------------------------------
68b96877
   * 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)
 
e06d34dc
 Sun Dec 14 18:07:44 GMT 2003 (njh)
 ----------------------------------
   * libclamav: not all viruses were being found in embedded RFC822 messages
 
8a45a511
 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
 
486fa0d3
 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>)
 
46c2e927
98135801
 Fri Dec 12 13:43:50 GMT 2003 (njh)
 ----------------------------------
   * clamav-milter: A couple of calls to clamfi_cleanup were missing before
 	return cl_error
 
7e577f26
 Thu Dec 11 14:36:32 GMT 2003 (njh)
 ----------------------------------
   * libclamav: better handling of encapsulated messages, i.e. emails
4c60b74f
 	within other emails such as forwarded messages
7e577f26
 
66ff992e
 Wed Dec 10 12:01:27 GMT 2003 (njh)
 ----------------------------------
   * clamav-milter: Timeout on waiting for data from clamd, by honouring
4c60b74f
 	ThreadTimeout in clamav.conf
66ff992e
 
c9af1776
 Tue Dec  9 09:22:46 GMT 2003 (njh)
 ----------------------------------
   * clamav-milter: Use the location of sendmail discovered by configure
 
a2262985
 Mon Dec  8 19:51:23 CET 2003 (tk)
 ---------------------------------
   * configure: locate the sendmail executable
 
a616f2de
 Sun Dec  7 22:46:15 CET 2003 (tk)
 ---------------------------------
   * freshclam: use the TCPAddr parameter (patch from David S. Madole)
 
98cb5cba
 Sat Dec  6 04:04:00 GMT 2003 (njh)
 ----------------------------------
   * libclamav: Handle hand crafted emails that incorrectly set multipart headers
ee039e40
 	Handcrafted examples sent by Michael Dankov <misha*btrc.ru>
98cb5cba
 
f8f80da9
 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
 
332e6334
 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
ee039e40
 	Thanks for Nicklaus Wicker <n.wicker*cnk-networks.de>
332e6334
 
 	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
ee039e40
 	Thanks to Michael Dankov <misha*btrc.ru>
332e6334
 
406b1800
 Fri Dec  5 09:34:44 GMT 2003 (njh)
 ----------------------------------
   * libclamav: Use cli_tok instead of strtok - replaced now by cli_strtok
 
cbb0e6c3
 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.
 
f0d72b10
 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>.
 
2d70a403
 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)
 
2defd014
 Tue Dec  2 06:38:13 GMT 2003 (njh)
 ----------------------------------
   * clamav-milter: use setsid if setpgrp not available
ee039e40
 	Thanks to Eugene Crosser <crosser*rol.ru> and Tomasz
2defd014
 
a6945b5d
 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>)
 
9e431a95
 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())
 
668c7570
 Sun Nov 30 06:13:28 GMT 2003 (njh)
 ----------------------------------
   * clamav-milter: Added --quarantine-dir
ee039e40
 		Thanks to Michael Dankov <misha*btrc.ru>.
668c7570
 
b312f172
 Sat Nov 29 12:52:21 GMT 2003 (njh)
 ----------------------------------
   * clamav-milter: Fix problem of possible confused pointers if large number of
ee039e40
 	recipients given. Fix by Michael Dankov <misha*btrc.ru>.
b312f172
 
8ac7b1ce
 Sat Nov 29 04:35:03 CET 2003 (tk)
 ---------------------------------
   * clamd: UseProcesses: use processes instead of threads (initial version)
 
6c3c779d
 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 ;-)]
 
a0977bfe
 Wed Nov 26 14:31:49 CET 2003 (tk)
 ---------------------------------
   * examples/ex1.c: fixed a compilation warning (thanks to Rainer Link)
 
2f5f8390
 Tue Nov 25 11:28:28 IST 2003 (njh)
 ----------------------------------
   * clamav-milter: Handle empty hostname or hostaddr
ee039e40
 	Thanks to Michael Dankov <misha*btrc.ru> for the idea
2f5f8390
 
976bcd2a
 Mon Nov 24 17:18:03 CET 2003 (tk)
 ---------------------------------
   * libclamav: cvd.c: small cleanups
   * included mbox testing tool (test/mbox/debugm.c) from Nigel
 
3aa15b4c
 Mon Nov 24 10:19:48 IST 2003 (njh)
 ----------------------------------
   * clamav-milter: Support AllowSupplementaryGroups
 
96b02502
 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
 
3e14836a
 Sat Nov 22 17:23:10 IST 2003 (njh)
 ----------------------------------
   * clamav-milter: Drop root privileges and support quarantine
 
e2e7ebf5
 Fri Nov 21 12:58:02 IST 2003 (njh)
 ---------------------------------
   * libclamav:	Scan multipart alternatives that have no boundaries, finds some
4c60b74f
 		uuencoded happy99
e2e7ebf5
 
dad136d5
 Wed Nov 19 16:34:04 GMT 2003 (njh)
 ---------------------------------
   * clamav-milter: Close cmdSocket earlier
 		Added setpgrp()
 
9b9fcfc5
 Mon Nov 17 13:28:16 IST 2003 (njh)
 ----------------------------------
7d34e010
   * libclamav:	Prevent buffer overflow in broken uuencoded files
 		Handle spaces at the end of lines of MIME headers
9b9fcfc5
 
4d0bd1f7
 Mon Nov 17 10:20:05 IST 2003 (njh)
 ----------------------------------
   * clamav-milter: changed version from 0.60 to 0.65
 
8adf0608
 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>)
 
a22e0cd4
 Sat Nov 15 03:54:39 CET 2003 (tk)
 ---------------------------------
   * sigtool: fixed --build problems introduced in 0.65
 
33f40ee5
 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
ee039e40
 	       <mark*mark.mielke.cc>)
33f40ee5
 
75326715
 Thu Nov 13 20:03:53 CET 2003 (tk)
 ---------------------------------
   * clamav-milter/Makefile: clamav-milter.8 manual path fixed
 
9f6cc5a3
 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
 
5def21ff
d3f8fcf7
 Tue Nov 11 13:51:23 IST 2003 (njh)
 ----------------------------------
   * clamav-milter: Fixed handling of % characters in e-mail addresses
ee039e40
 		pointed out by dotslash*snosoft.com
4c60b74f
 
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
ee039e40
 	(Fix by NJH, Bug notified by Laurent Wacrenier <lwa*teaser.fr>)
86c4e9d5
 
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
ee039e40
 	(Fix by NJH, Bug notified by Laurent Wacrenier <lwa*teaser.fr>)
294d0774
 
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
ee039e40
 		Patch by Bernd Kuhls <spiralvoice*hotmail.com>
c2b2d8af
 
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
4c60b74f
 		files are not yet handled
a4371160
   * clamav-milter: use VERSION info to talk to clamd not PING/PONG
4c60b74f
 		Only close fd 0/1/2 if !Foreground
a4371160
 		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
4c60b74f
 		Removed call to clamdscan to get version
9148ec6d
 
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
4c60b74f
 		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
4c60b74f
 		line
9ac9b49f
 
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
4c60b74f
 		max-children now overrides MaxThreads
e63af37c
 
2cd8b9d4
 Sun Sep 28 17:38:44 BST 2003 (njh)
 ----------------------------------
   * clamav-milter: added --force-scan flag
4c60b74f
 		Use MaxThreads if --max-children not set
ee039e40
 		(thanks to "Richard G. Roberto" <rgr*dedlegend.com>)
2cd8b9d4
 
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
4c60b74f
 		the text "begin <number>"
f6ded658
 
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
4c60b74f
 			DOS style filename suffixes
c130989f
 
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
 -----------------------------
ee039e40
   * clamav-milter: Some TODOs done by Nigel Kukard <nkukard*lbsd.net>
28e73e95
                    Should stop a couple of remote chances of crashes (Nigel)
 
 Thu Jul 10 17:16:32 CEST 2003
e4ae7726
 -----------------------------
28e73e95
   * clamd: fixed PidFile permissions (applied patch from Magnus Ekdahl, the
 	   bug was reported by Tomasz Papszun)
 
 Tue Jul  8 21:34:11 CEST 2003
 -----------------------------
   * libclamav: handling mail files broken by
 	       http://www.impsec.org/email-tools/sanitizer-intro.html
 	       not compiling with RFCs (Nigel)
 
 Sun Jul  6 22:17:13 CEST 2003
 -----------------------------
   * libclamav: fixed a problem that allowed some Exploit.IFrame infected
 	       files to get through (Nigel)
 
 Sat Jul  5 03:42:05 CEST 2003
 -----------------------------
   * sigtool: + fixed a bug in cut() (a typical cut&paste mistake) - it was
 	       causing random segfaults
 	     + improved algorithm - should generate proper (small) signatures
 	       (warning: will fail for macro and polymorphic viruses)
 	       with most virus scanners.
 	     + it now saves a binary signature in *.bsig
 
 Wed Jun 25 03:07:10 CEST 2003
 -----------------------------
   * freshclam: fixed a typo - missing 2 in "nodb" in (should be "nodb2") in
 	       one clause. That was causing a strange behaviour in some
ee039e40
 	       situations. Patch by Damien Curtain <damien*pagefault.org>.
28e73e95
   * freshclam: new option --user (-u) USER - run as USER instead of the
 	       default 'clamav' user. Patch by Damien Curtain.
   * freshclam: switch to a mirror when downloaded md5 check sum doesn't
 	       match the database (errno 54, man freshclam)
   * freshclam: mirrors.txt - added clamav.rulez.pl mirror managed by
ee039e40
28e73e95
   * clamd, libclamav, clamscan: fixed a bug introduced in 0.60 - closedir(dd)
 				was called even when dd was not correctly opened
   * libclamav: mbox - patch for a segfault with some nasty messages which
 	       break RFC1521 (Nigel).
 
 Sat Jun 21 04:10:26 CEST 2003
 -----------------------------
   * libclamav: mbox - small memory leak fixed (Nigel)
   * documentation updates
   V 0.60
 
 Thu Jun 19 23:42:32 CEST 2003
 -----------------------------
   * libclamav: updated mbox code (Nigel)
   * configure: --disable-cr (don't link with C reentrant library (needed on
 	       some newer versions of OpenBSD))
   * removed some outdated software from ./support (including amavis-perl
     patch)
   * libclamav: unrarlib - removed gcc warning with nested post-incrementation
   * clamd: removed ScannerDaemonOutputFormat directive (the implementation
 	   was broken)
 
 Wed Jun 18 05:33:15 CEST 2003
 -----------------------------
   * libclamav: cl_rmdirs(), cli_scandir()
     clamd: dirscan()
     clamscan: treewalk.c functions: fixed descriptor leak (missing closedir()
 				    in error conditions). Bug found thanks
ee039e40
 				    to Kristof Petr <Kristof.P*fce.vutbr.cz>
28e73e95
 				    bug report.
   * configure, libclamav: detect for bzip2 library type instead of using
 			  hardcoded change for Solaris (a conflict with
 			  previous method was reported by Mike Loewen).
 
 Fri Jun 13 14:46:13 CEST 2003
 -----------------------------
   * libclamav: mbox code - big update (Nigel)
 
 Thu Jun 12 05:20:27 CEST 2003
 -----------------------------
   * libclamav: zziplib updated to 0.10.81
 
 Thu Jun  5 14:38:20 CEST 2003
 -----------------------------
   * clamd: new directive - AllowSupplementaryGroups (feature requested by
 	   exiscan users)
   * freshclam: new options --on-error-execute, --on-update-execute (suggested
ee039e40
 	       by Douglas J Hunley <doug*hunley.homeip.net>).
28e73e95
 
 Fri May 30 06:06:28 CEST 2003
 -----------------------------
   * freshclam: fixed segfault with --proxy-user (patch by Damien Curtain
ee039e40
 	       <damien*pagefault.org> also independently submitted by
 		Nick Gazaloff <nick*sbin.org>)
28e73e95
   * libclamav: mbox code fixed to find the party virus (Nigel)
   * clamav-milter: wasn't thread safe - fixed (thanks to Krzysztof
ee039e40
 		   Oledzki <ole*ans.pl>) (Nigel)
28e73e95
   * clamd: fixed compilation problem when --enable-bigstack is used on a non
ee039e40
 	   BSD system (thanks to Mike Loewen <mcl8*psu.edu>)
28e73e95
 
 Thu May 22 05:18:56 CEST 2003
 -----------------------------
   * clamd:
       + fixed BSD problem introduced in -20030424.
       + bind()/socket errors will only be logged (no stderr messages!)
       + increased thread stack under BSD. Bigger thread stack may be
 	required on some other systems, too. It's now available with
 	the configure option --enable-bigstack
 
 Mon May 12 01:47:18 CEST 2003
 -----------------------------
   * clamd: added missing close(acceptd) in scanstream() which was causing
 	   a leak of socket descriptors when using clamav-milter. Bug fixed
ee039e40
 	   by Nick Gazaloff <nick*sbin.org>, also was earlier reported by
 	   Kristof Petr <Kristof.P*fce.vutbr.cz> and Nigel.
28e73e95
   * clamscan: use unzoo instead of non-free zoo (patch by Magnus Ekdahl)
   * libclamav: updated mbox code (Nigel)
 
 Wed Apr 30 22:23:50 CEST 2003
 -----------------------------
   * libclamav: use bzReadOpen instead of BZ2_bzReadOpen under Solaris
ee039e40
 	       (patch by Hrvoje Habjanic <hrvoje.habjanic*zg.hinet.hr>)
28e73e95
 
 Thu Apr 24 02:07:45 CEST 2003
 -----------------------------
   * freshclam: proxy authorization support (Gernot Tenchio
ee039e40
 	       <g.tenchio*telco-tech.de>)
28e73e95
   * clamav-milter: ported clamfi_envrcpt which fixes the bug reported by
ee039e40
 		   Joe Talbott <jtalbott*halifax.com> from 0.52 to 0.53.
28e73e95
 		   Nigel, please check it - there is a version problem with
 		   clamav-milter.
   * clamd: in some cases it was writing to stderr, which was already closed by
ee039e40
 	   daemonize(). Bug found by Brian May <bam*debian.org>.
28e73e95
   * freshclam: remove 'mirror' file (it remembers the last accessible mirror
 	       when the first one from the list is not working) only after
 	       next succesful database update
 
 Mon Apr 21 05:15:42 CEST 2003
 -----------------------------
ee039e40
   * freshclam: mirror list support (Damien Curtain <damien*pagefault.org>)
28e73e95
 
 Tue Apr 15 20:11:32 CEST 2003
 -----------------------------
   * libclamav: cl_md5sum: stream wasn't closed after reading (fixed by Damien
ee039e40
 	       Curtain <damien*pagefault.org>)
28e73e95
 
 Fri Apr  4 04:09:14 CEST 2003
 -----------------------------
   * clamav-milter: added manual page
 
 Thu Apr  3 15:39:05 CEST 2003
 -----------------------------
   * libclamav: mbox update (Nigel)
 		 + support for embedded rfc822 messages
 		 + fixed possible infinite loop
   * clamscan: support for sendfile() (Linux) for --move option (Nigel)
 
 Sat Mar 29 05:22:06 CET 2003
 ----------------------------
   * libclamav: rewind a mbox file after mbox-scanning (this was missing and
 	       file wasn't scanned in raw mode after an unsuccessful mbox
 	       scanning)
   * clamav-milter: 0.53 (Nigel)
 
 Mon Mar 24 23:07:34 CET 2003
 ----------------------------
   * clamd: increased thread stack size on BSD systems, this prevents
 	   clamd from crashing with Zip scanning (Nigel)
   * clamscan: fixed --mbox (was inactive since snapshot 20030312)
 
 Thu Mar 20 15:25:47 CET 2003
 ----------------------------
   * clamav-milter: v 0.51 (Nigel)
   * clamd: fixed compile problem on systems without /dev/urandom (AIX,
ee039e40
 	   Solaris) (bug reported some time ago by Mike Loewen <mcl8*psu.edu>,
 	   and recently by Piotr Kasztelowicz <pekasz*am.torun.pl>)
28e73e95
   * configure: --disable-bzip2 (disables automatic support for bzip2 library)
 
 Mon Mar 17 10:36:01 CET 2003
 ----------------------------
   * libclamav: updated mbox code - MacOSX fixes (Nigel)
 
 Mon Mar 17 00:58:28 CET 2003
 ----------------------------
   * clamd: fixed SelfCheck (was disabled in the code) it now also checks a
 	   timestamps of .db and .db2 files in the database directory and
 	   forces db reload if needed.
   * freshclam: mirror support (transparent for a user)
 
 Sun Mar 16 04:44:22 CET 2003
 ----------------------------
   * libclamav: cl_stat{inidir, chkdir, free} - functions for monitoring
 	       database changes
   * documentation updates
 
 Sat Mar 15 04:26:54 CET 2003
 ----------------------------
   * big documentation update
 
 Thu Mar 13 04:39:13 CET 2003
 ----------------------------
   * documentation updates
 
 Wed Mar 12 02:56:57 CET 2003
 ----------------------------
   * libclamav: fixed buffer overflow in unrarlib (patch by Robbert Kouprie
ee039e40
 	       <robbert*exx.nl>)
28e73e95
   * clamav-milter: 
 	+ v 0.3 (Nigel)
 	+ --enable-milter must be enabled with ./configure
   * clamscan:
 	+ use arj instead of non-free unarj (patch by Magnus Ekdahl)
 	+ removed thread support
 
 Wed Mar  5 04:05:37 CET 2003
 ----------------------------
ee039e40
   * clamscan: --move option (by Damien Curtain <damien*pagefault.org>)
28e73e95
 
 Thu Feb 27 02:51:32 CET 2003
 ----------------------------
   * clamd: StreamMaxLength
 
 Wed Feb 26 02:17:33 CET 2003
 ----------------------------
   * clamav-milter (by Nigel Horne): merged with the main tree
 				    FIXME: configure should detect libmilter
 				    directory and use it instead of the
 				    hardcoded -L/usr/lib/libmilter (on Debian)
   * libclamav: fixed strcasecmp() compile problem in zziplib on
 	       Free/NetBSD and others
   * clamd: disabled syslog support on AIX [it doesn't have vsyslog()]
ee039e40
 	   (thanks to Mike Loewen <mcl8*psu.edu>)
28e73e95
 
 Mon Feb 24 19:21:19 CET 2003
 ----------------------------
   * libclamav: mbox update (Nigel)
 
 Mon Feb 17 03:20:27 CET 2003
 ----------------------------
   * clamd:
 	+ implemented STREAM command - scanning on socket
 	+ StreamSaveToDisk option - save stream to disk before scanning
 	  (allows scanning within archives). StreamMaxLength is not yet
 	  implemented.
 	+ fixed CONTSCAN command - limits were disabled.
   * clamdscan:
 	+ stdin scanning (uses STREAM command)
 
 
 Thu Jan 23 23:51:58 CET 2003
 ----------------------------
   * clamd: 
 	+ fixed segfault with extra space between option and argument
ee039e40
 	  in config file (Magnus Ekdahl <magnus*debian.org>)
28e73e95
 	+ additional protection - timeouts for infinite (wait) loops
ee039e40
 	  (idea by Hrvoje Habjanic <hrvoje.habjanic*zg.hinet.hr>)
28e73e95
   * clamscan: enhanced -i option (Magnus Ekdahl)
   * libclamav: mbox update (detection of viruses that put their payloads
 	       after the end of message marker) (Nigel). Thanks to Stephen
ee039e40
 	       White <stephen*earth.li> for finding the bugs; test viruses
28e73e95
 	       and for the CGI infector :)
 
 Fri Jan 10 01:52:41 CET 2003
 ----------------------------
   * treat 'Zip of Death' as a virus (Malformed Zip FOUND), detection
     is now much faster.
 
 Thu Jan  9 01:06:35 CET 2003
 ----------------------------
   * clamd: syslog support (patch by Hrvoje Habjanic
ee039e40
 	   <hrvoje.habjanic*zg.hinet.hr>), slightly modified to use LogSyslog
28e73e95
   * clamscan: temporarily disabled thread autoconfiguration (few people
 	      reported problem on SMP systems), will be fixed soon.
 
 Tue Dec 31 13:25:27 CET 2002
 ----------------------------
   * mboxscan update from Nigel
   * clamscan: archive limits (for libclamav) enabled by default: 
 	      max-files = 500, max-size = 10M, max-recursion = 5. They
 	      might be disabled (with value of 0) or changed from a command
 	      line.
 
 Fri Dec 13 00:11:11 CET 2002
 ----------------------------
   * clamd: ArchiveLimitMemoryUsage
 
 Wed Dec 11 04:01:33 CET 2002
 ----------------------------
   * libclamav: bzip2 support (the library with development files must
 	       be installed before clamav configuration/compilation)
 
 Mon Dec  9 02:01:31 CET 2002
 ----------------------------
   * libclamav: updated mbox code (added support for decoding viruses sent in
 	       message bodies) (Nigel)
   * clamscan: logging (-l) of infected files was missing ! added
   * clamd: ScannerDaemonOutputFormat (patch by Andreas Piesk
ee039e40
 	   <Andreas.Piesk*heise.de>)
28e73e95
 
 Thu Dec  5 05:32:21 CET 2002
 ----------------------------
   * libclamav: scanners.c -> cli_scandesc() optimization (patch by
ee039e40
 	       Hendrik Muhs <Hendrik.Muhs*student.uni-magdeburg.de>)
28e73e95
 
 Wed Dec  4 01:31:24 CET 2002
 ----------------------------
   * clamd: fixed CONTSCAN command (archive support was by mistake disabled
 	   (that was hardcoded), so clamdscan wasn't able to scan within
 	   archives); ScanMail command
 
 Tue Dec  3 02:19:43 CET 2002
 ----------------------------
   * libclamav: CL_MAIL
   * clamscan: --mbox also enables direct support for scanning mbox/maildir files
 
 Mon Dec  2 01:21:14 CET 2002
 ----------------------------
   * included how-to in Portugese by MARCOLINO, Alexandre de Jesus
   * libclamav: initial support for direct scanning of mail files
 
 Fri Nov 29 23:18:36 CET 2002
 ----------------------------
   * configure: fixed --enable-id-check option (Jason Englander
ee039e40
 	       <jason*englanders.cc>)
28e73e95
   * clamscan: fixed --remove option in clamscan (it didn't work with internal
ee039e40
 	      archivers) (patch by Damien Curtain <damien*pagefault.org>)
   * AIX support (thanks to Mike Loewen <mloewen*sturgeon.cac.psu.edu>)
   * Tru64 support (thanks to Christophe Varoqui <ext.devoteam.varoqui*sncf.fr>)
28e73e95
   * libclamav: mbox: fixed memory leak (Nigel)
 
 Thu Nov 21 01:27:21 CET 2002
 ----------------------------
   * configure: do not overwrite existing clamav.conf file
   * clamd: disable logging of a unnecessary time stamps with LogTime when
ee039e40
 	   LogVerbose isn't used (patch by Ed Phillips <ed*UDel.Edu>)
28e73e95
   * freshclam: no-cache enabled by default; Cygwin support fix
   V 0.54
 
 Wed Nov 20 01:15:48 CET 2002
 ----------------------------
   * configure: --enable-id-check - it uses the check procedure from Jason
 	       Englander, currently it will fail on systems with getent,
 	       if it doesn't detect clamav group.
   * all tools: removed huge printf() in help() (there was a buffer overflow
 	       problem with --help option under Windows and SCO Unix
ee039e40
 	       (reported by Wojciech Noworyta <wnow*konarski.edu.pl> and
28e73e95
 	       Nigel respectively)
 
 Sun Nov 17 00:37:19 CET 2002
 ----------------------------
   * libclamav: mbox code protected with a mutex, support for NO_STRTOK_R
 
 Sat Nov 16 00:37:19 CET 2002
 ----------------------------
   * libclamav: zziplib updated to 0.10.66
   * libclamav: work-around for zziplib bug (segfault with some strange files)
ee039e40
 	       (thanks to Oliver Paukstadt <pstadt*stud.fh-heilbronn.de> for
28e73e95
 	       the bug ruport)
   * mbox code: updated and moved into libclamav (Nigel)
   * rewritten pattern matcher
 
 Tue Nov 12 23:51:46 CET 2002
 ----------------------------
   * engine improvement (added support for the ?? wildcard)
 
 Mon Nov 11 00:47:03 CET 2002
 ----------------------------
   * accept --threads even when threads are not supported, because some
     programs have this option hardcoded (eg. amavis-ng)
 
 Fri Nov  8 23:43:55 CET 2002
 ----------------------------
   * clamd: CONTSCAN, VERSION
   * clamdscan: initial version
 
 Thu Nov  7 12:14:54 CET 2002
 ----------------------------
   * clamscan: mbox code is thread-safe now (Nigel)
 
 Fri Nov  1 21:16:34 CET 2002
 ----------------------------
ee039e40
   * applied patch from Patrick Bihan-Faou <patrick*mindstep.com>, which
28e73e95
     allows configuration of the clamav user and group with --with-user and
     --with-group
 
 Thu Oct 31 23:17:00 CET 2002
 ----------------------------
   * clamscan:
     + removed limit for the file name length
     + mbox: - || -, enabled thread support (Nigel), reenabled directory cleaning
   * clamd: use dynamic file name allocation too (the file name buffer size
     size was ok, though)
   V 0.53
 
 Tue Oct 29 13:17:08 CET 2002
 ----------------------------
   * clamscan: mbox.c - temporarily disabled clamav_rmdirs()
   V 0.52
 
 Tue Oct 29 02:15:11 CET 2002
 ----------------------------
   * mboxscan: new version (Nigel Horne)
   * clamscan: mbox.c fixes for *BSD (including MacOSX) support (Nigel Horne)
   * clamscan: others.c - enable core dumping (Nigel Horne), it's enabled with
 	      --enable-debug
   * included "Installing qmail-scanner, Clam Antivirus and SpamAssassin under
     FreeBSD" how-to by Paul Hoadley and Eric Parsonage
ee039e40
   * HPUX support (thanks to Joe Oaks <joe.oaks*hp.com>)
   * freshclam: included patch from Ant La Porte <ant*dvere.net> - it forces
28e73e95
 	       'no-cache' option in proxy servers - you need to enable
 	       it with --disable-cache, though.
   * clamd is a system command (clamd.1 -> clamd.8, /usr/local/bin ->
     /usr/local/sbin) (Magnus Ekdahl)
 
 Sun Oct 27 00:22:59 CEST 2002
 -----------------------------
   * clamscan: mbox update from Nigel
   * disable clamd building on systems without pthread support
 
 Fri Oct 25 23:21:49 CEST 2002
 -----------------------------
   * clamd: SelfCheck
   * clamd: fixed problem with recursive scanning of the directories with
 	   st_size == 0 (the initial check in scan() was treating them like
 	   an empty files) (bug reported by Jason Englander
ee039e40
 	   <jason*englanders.cc>)
28e73e95
 
 Wed Oct 23 02:27:13 CEST 2002
 -----------------------------
   * clamd: check timeouts when waiting for threads in RELOAD mode
 
 Mon Oct 21 01:36:31 CEST 2002
 -----------------------------
   * freshclam: applied http-proxy patch from http://bugs.debian.org/clamav (by
ee039e40
     Martin Lesser <admin-debian*bettercom.de>)
28e73e95
   * clamd: drop supplementary groups (suggested by Enrico Scholz
ee039e40
     <enrico.scholz*informatik.tu-chemnitz.de>)
28e73e95
   * clamd: work-around for the segmentation fault at QUIT under FreeBSD
 
 Wed Oct 16 23:58:45 CEST 2002
 -----------------------------
ee039e40
   * included TrashScan 0.08 (from Trashware <trashware*gmx.de>)
28e73e95
 
 Sun Oct 13 20:23:43 CEST 2002
 -----------------------------
   * mbox update from Nigel
 
 Wed Oct  9 00:52:08 CEST 2002
 -----------------------------
ee039e40
   * clamd: fixed THREXIT (thanks to Piotr Gackiewicz <gacek*intertele.pl>)
28e73e95
   * clamd: fixed thread argument passing
   * clamscan: mbox: don't scan empty attachments (Nigel Horne)
   * configure: --with-db1, --with-db2 (suggested by Magnus Ekdahl)
 
 Mon Oct  7 19:47:21 CEST 2002
 -----------------------------
   * libclamav: OAV database support
   * libclamav: limited memory usage
   * clamscan: fixed compile error reported by Henk Kuipers
ee039e40
 	      <henk*opensourcesolutions.nl>.
28e73e95
 
 Fri Oct  4 23:41:18 CEST 2002
 -----------------------------
   * ln clamd/cfgfile.c freshclam/cfgfile.c -> after make dist, the actual
     cfgfile.c file will be copied to the freshclam dir, thus freshclam doesn't
     depend on clamd
   * removed Nigel's patch for scanning all files from argument list
     (strtok() problem, eg. clamscan --unzip /tmp)
 
 Thu Oct  3 20:32:23 CEST 2002
 -----------------------------
   * libclamav: remove (Clam) from virus names during the database loading
 
 Thu Oct  3 01:12:00 CEST 2002
 -----------------------------
   * freshclam: --daemon-notify option
   * clamscan: don't scan /proc files at all (st_dev comparing)
 
 Wed Oct  1 21:23:08 CEST 2002
 -----------------------------
   * clamscan: mbox code update from Nigel
   * docs: clamav.conf(5)
 
 Tue Oct  1 00:16:47 CEST 2002
 -----------------------------
   * freshclam: support for viruses.db2
 
 Mon Sep 30 02:39:13 CEST 2002
 -----------------------------
   * clamd: PidFile, clamd(1)
   * support/mboxscan: try create the temporary file in a safe manner
 
 Sun Sep 29 01:39:04 CEST 2002
 -----------------------------
   * big update of the documentation
   * freshclam: applied patch from Nigel; small clean-up (don't worry Nigel ;))
   * libclamav: zziplib: sys/inttypes.h support under FreeBSD;
   cli_scanrar_inuse changed to pthread_t type
 
 Thu Sep 26 23:47:26 CEST 2002
 -----------------------------
   * clamd: PING
   * libclamav: small API changes; disable zlib code, when zlib.h is not detected
   * documentation updates
 
 Wed Sep 25 00:38:09 CEST 2002
 -----------------------------
   * freshclam: http proxy support ($http_proxy, $no_proxy env.) (by Nigel Horne)
   * clamd: ClamukoScanOnOpen/Close/Exec, ClamukoIncludePath,
     ClamukoExcludePath, ClamukoMaxFileSize, ClamukoScanArchive
   * freshclam: --http-proxy option
 
 
 Tue Sep 24 03:27:03 CEST 2002
 -----------------------------
   * libclamav: enhanced virus searching engine - it's able to use partial
     signatures, what is useful in a case of polymorphic viruses. Because it's
     build on the top of the current pattern matching algorithm (which is not
     position sensitive), there's possibility that clean file will be classified
     as infected, but such situations are possible with standard signatures,
     too. Anyway, in my tests everything was fine. The change was needed for
     catching a really complex polymorphic virus called Magistr.
     The analysis of this virus (it's also a worm) took me 2 hours :-/
     Signatures in the new format are keeped in .db2 files (it doesn't conflict
     with old clamscan versions).
   * clamd: fixed Clamuko exiting
   * clamscan: mbox.c update from Nigel
 
 Mon Sep 23 03:16:14 CEST 2002
 -----------------------------
   * clamscan: message.c/mbox.c update from Nigel Horne
   * first updates of the documentation
 
 Sun Sep 22 01:53:34 CEST 2002
 -----------------------------
   * clamd: Clamuko (on-line virus scanning under Linux)
 
 Sat Sep 21 01:21:27 CEST 2002
 -----------------------------
   * clamd: LogFile requires full path
   * fixed compile problem under Linux
 
 Fri Sep 20 02:37:04 CEST 2002
 -----------------------------
   * clamd: stop directory scanning when virus found (it now stops immediately,
     not scanning higher directories)
   * Solaris support
   * libtool fix - now it allows old style -pthread BSD flag (you can find
     the changes by searching my name in ltmain.sh/libtool).
   * next libtool fix: allow -lc_r - it's required on my FreeBSD-CURRENT
   * partial FreeBSD support - everything compiles, but clamd segfaults when
     zlib is used (gzip/zip). clamscan works smoothly.
 
 Thu Sep 19 01:27:26 CEST 2002
 -----------------------------
   * clamscan/message.c patch (Nigel Horne)
   * removed trashscan (security problem reported by Magnus Ekdahl)
   * should be more portable now
 
 Tue Sep 17 02:50:23 CEST 2002
 -----------------------------
ee039e40
   * included Japanese documentation by Masaki Ogawa <proc*mac.com>
28e73e95
   * clamscan: included mbox code (--mbox) and few small fixes from
ee039e40
     Nigel Horne <njh*bandsman.co.uk>
28e73e95
   * clamd: LocalSocket, Foreground, User.
   * updated examples/ex1.c
 
 Sun Sep 15 17:22:01 CEST 2002
 -----------------------------
   * freshclam: log 'Database updated.' (thanks to Jeffrey Moskot
ee039e40
     <jef*math.miami.edu> for the bug report), log number of signatures
28e73e95
     in a downloaded database.
   * clamd: RAWSCAN, small cleanups
   * clamscan: thread support is disabled on non-Linux systems, due to
     some code, which utilizes process based threads model
 
 Sun Sep 15 02:18:58 CEST 2002
 -----------------------------
   * clamscan: 
     * applied patch for including and excluding multiple
ee039e40
       patterns (by Alejandro Dubrovsky <s328940*student.uq.edu.au>);
28e73e95
     * applied patch for processing all files/directories from argument list
ee039e40
       (by Nigel Horne <njh*smsltd.demon.co.uk>);
28e73e95
     * -d switch recognises directory and loads all .db files from
       (requested by debian user)
   * libclamav: better handling of malformed databases in cl_loaddb()
 
 Sat Sep 14 01:43:40 CEST 2002
 -----------------------------
   * clamd: LogFileMaxSize; testing
 
 Thu Sep 12 23:05:57 CEST 2002
 -----------------------------
   * clamd: mdprintf(), LogFileUnlock, LogTime
 
 Wed Sep 11 02:45:05 CEST 2002
 -----------------------------
   * clamd: RELOAD command for database reloading
 
 Tue Sep 10 01:25:32 CEST 2002
 -----------------------------
   * libclamav: rewritten database loaders; better error handling:
     new error codes: CL_EMALFDB, CL_EPATSHORT, CL_EHEX.
 
 Sun Sep  8 14:16:20 CEST 2002
 -----------------------------
   * clamd: SIGINT, SIGTERM handling; QUIT command (signal based)
 
 Fri Sep  6 03:37:09 CEST 2002
 -----------------------------
   * libclamav: fixed recursion counter bug, scanrar - cancellation
     cleanup handler
   * clamd: LogVerbose, checksymlink(), FollowDirectorySymlinks,
     FollowFileSymlinks, MaxDirectoryRecursion; intensive testing
 
 Thu Sep  5 03:31:40 CEST 2002
 -----------------------------
   * clamd: ThreadTimeout, threadwatcher()
 
 Wed Sep  4 03:57:59 CEST 2002
 -----------------------------
   * clamd: limits
 
 Tue Sep  3 03:25:34 CEST 2002
 -----------------------------
   * clamd: scanner.c [scan(), dirscan()], SCAN command
 
 Sat Aug 31 02:48:56 CEST 2002
 -----------------------------
   * clamd: tcpserver() and others
   * updated Sendmail+Amavis+ClamAv installation how-to, thanks to
ee039e40
     Erick I. Lopez Carreon <elopezc*technitrade.com>
28e73e95
 
 Fri Aug 30 03:32:37 CEST 2002
 -----------------------------
   * clamd: initial files; written config parser
 
 Thu Aug 29 02:05:53 CEST 2002
 -----------------------------
   * libclamav: Makefile.am cleanups
   * clamscan: tries to decompress file with built-in code, if it fails can
     use external unpacker; --disable-archive: it disables built-in archive
     code in libclamav
   * freshclam, sigtool: fixed compilation problems, removed others.c,
     shared.h, they're linked against libclamav
 
 Wed Aug 28 03:16:17 CEST 2002
 -----------------------------
   * libclamav: unrarlib and zziplib are configured during compilation with
     -D'efines
 
 Tue Aug 27 02:46:39 CEST 2002
 -----------------------------
   * libclamav: cl_freetrie(), cl_perror()
   * clamscan: fixed compile problem on Solaris 8 (#include <signal.h> lack
     in others.c), thanks to Mike Loewen
 
 Sun Aug 25 02:34:33 CEST 2002
 -----------------------------
   * libclamav: general cleanups, API changes, error codes, finished with
     the initial version ! :)
   * clamscan: adopted to the new API, cleanups, some code from libclamav
     was moved back to clamscan
 
 Sat Aug 24 01:16:06 CEST 2002
 -----------------------------
   * libclamav: RAR code can't be recursive, because it's protected with mutex
     (unrarlib isn't thread safe)
   * libclamav: implemented recursion limit
   * clamscan: --max-recursion
 
 Thu Aug 22 03:28:29 CEST 2002
 -----------------------------
   * implemented gzip support
   * fixed threads deadlock in critical error situations
   * fixed sigtool bug (negative seeking)
   * unpacker execution problem is no longer treated as critical
   * TrashScan 0.07
   * --exclude (regular expressions are not supported !)
   * included html documentation
   * fixed bug in sigtool (negative seeking)
 
 Tue Aug 20 02:43:29 CEST 2002
 -----------------------------
   * corrections in zip code
   * clamscan uses cl_limits structure
 
 Fri Aug 16 01:43:35 CEST 2002
 -----------------------------
   * implemented Zip support ! It uses ZZIPLIB and zlib library. ZZIPLIB is
     included in the sources, so only zlib is required.
 
 Thu Aug 15 02:40:01 CEST 2002
 -----------------------------
   * uhh, built in RAR support ! Archives are detected with a magic string,
     the scan process is transparent for cl_scandesc() user. Unrarlib was
     slightly modified: functions' arguments don't use an archive name but
     a descriptor. The library isn't thread safe, that's why all operations
     have to be protected with a mutex.
 
 Tue Aug 13 20:55:05 CEST 2002
 -----------------------------
   * all programs are statically linked against libclamav
 
 Tue Aug 12 00:38:45 CEST 2002
 -----------------------------
   * finished with the initial version of libclamav
 
 Fri Aug  2 14:32:38 CEST 2002
 -----------------------------
   * included trashscan (Trashware)
   * --remove
   * documentation updates
   V 0.23
 
 Tue Jul 30 14:18:27 CEST 2002
 -----------------------------
   * printusage() with DEBUG only
 
 Mon Jul 29 21:57:27 CEST 2002
 -----------------------------
   * --with-debug
   * changed timestamps due to problems with my system clock
 
 Mon Jul 29 02:19:55 CEST 2002
 -----------------------------
   * reads all .db files from DATADIR, viruses.db is still the main database !
 
 Fri Jul 26 03:19:12 CEST 2002
 -----------------------------
   * fixed isnumber() conflict on some unices
 
 Thu Jul 25 00:02:42 CEST 2002
 -----------------------------
   * .deb support (Magnus Ekdahl)
   * new clam logo (Michal Hajduczenia)
 
 Tue Jul 23 21:42:00 CEST 2002
 -----------------------------
   * included ClamAV-Test-Signature
   V 0.22
 
 Tue Jul 23 03:23:50 CEST 2002
 -----------------------------
   * fixed problem with unaccesible directories with archives
     (quite a big piece of code was added for this fix)
   * removed --strange-unzip
   * improved -i option, it shuts unpackers up too.
   * better error handling, new return codes: 58, 59, 63, 64
   * removed eicar-test-files from test directory due to the GPL
   * removed Qmail-Scanner patch
 
 Fri Jul 19 23:47:31 CEST 2002
 -----------------------------
   * removed --strange-unzip
 
 Fri Jul 19 00:34:11 CEST 2002
 -----------------------------
   * AC_DEFINE(THREADS) reorganization for better support
   * small clamscan cleanup
 
 Thu Jul 18 20:52:54 CEST 2002
 -----------------------------
   * fixed amavis-perl patch
   * fixed database download problem in freshclam
ee039e40
   * initial NetBSD support (thanks to Marc Baudoin <babafou*babafou.eu.org>
     and Jean-Edouard BABIN <Jeb*jeb.com.fr>)
28e73e95
   * --strange-unzip
   V 0.21
 
 Tue Jul 16 16:49:57 CEST 2002
 -----------------------------
ee039e40
   * applied patch from Masaki Ogawa <proc*mac.com>, it adds support
28e73e95
     for Mac OS X specific users database
   * additional check for options with numerical arguments
   * clamdoc fixes by Dennis Leeuw
 
 Mon Jul 15 01:52:34 CEST 2002
 -----------------------------
   * documentation updates
   * removed amavisd-patch
   V 0.20
 
 Sun Jul 14 02:40:17 CEST 2002
 -----------------------------
   * clamscan cleanups
   * 'Data scanned' added to the summary
   * freshclam cleanups
 
 Sat Jul 13 00:09:56 CEST 2002
 -----------------------------
   * implemented new pattern matching algorithm
   * removed -w (--whole-file), still supported by getopt().
 
 Thu Jul  4 13:23:00 CEST 2002
 -----------------------------
   * fixed mode_t data type problem in manager.c under Mac OS X (thanks
ee039e40
     to Peter N Lewis <peter*stairways.com.au>)
28e73e95
 
 Tue Jul  2 03:31:55 CEST 2002
 -----------------------------
   * DMS 0.2.0
   * first cleanups in matcher.c, file scanning is stopped when first virus
     is detected, --one-virus does nothing, but it must be supported
     by getopt(), because it was used in my amavis patches
   * --one-virus removed from patches
   * 'Found viruses' removed from the summary
   * -i, --infected prints infected files only
   * updated manual
   * database update
 
 Mon Jul  1 00:34:22 CEST 2002
 -----------------------------
   * new detectCpu() from Magnus Ekdahl, it detects number of processors
     on most Linux architectures. Great !
 
 Fri Jun 28 23:36:08 CEST 2002
 -----------------------------
   * finished writing initial version of sigtool
   * updated documentation
   * added sigtool(1) manual
 
 Thu Jun 27 16:02:44 CEST 2002
 -----------------------------
   * freshclam uses newer options.c from clamscan
   * started sigtool
 
 Tue Jun 25 10:36:41 CEST 2002
 -----------------------------
   * included Sendmail+Amavis+ClamAv installation how-to from
ee039e40
     Erick I. Lopez Carreon <elopezc*technitrade.com>
28e73e95
 
 Sun Jun 23 02:09:52 CEST 2002
 -----------------------------
ee039e40
   * applied gcc3 support patch from David Ford <david+cert*blue-labs.org>
28e73e95
   * fixed detectCpu() for systems without /proc/cpuinfo or without
ee039e40
     'processor' string in it (thanks to Stefan Martig <sm*officeco.ch> for
28e73e95
     info)
 
 Mon Jun 17 02:35:24 CEST 2002
 -----------------------------
   * --with-dbdir
 
 Sat Jun 15 00:53:54 CEST 2002
 -----------------------------
ee039e40
   * updated qmail-scanner patch (thanks to Kazuhiko <kazuhiko*fdiary.net>)
28e73e95
 
 Wed Jun 12 07:09:33 CEST 2002
 -----------------------------
   * included amavisd-snapshot-20020300 support patch
   V 0.15
 
 Sun Jun  9 01:50:30 CEST 2002
 -----------------------------
   * updated documentation
   * included qmail-scanner support patch
 
 Fri Jun  7 21:03:50 CEST 2002
 -----------------------------
ee039e40
   * applied OpenBSD support patch from Kamil Andrusz <wizz*mniam.net>
28e73e95
   * fixed problem with password protected archives (unpackers were waiting
     for password)
 
 Fri May 31 18:51:31 CEST 2002
 -----------------------------
   * fixed segfault in freshclam in some situations: return status in md5_file
ee039e40
     wasn't checked (thanks to Dennis Leeuv <leeuw*stone-it.com>)
28e73e95
   * other freshclam fixes
 
 Thu May 30 01:50:21 CEST 2002
 -----------------------------
ee039e40
   * applied freshclam patch from Arkadiusz Miskiewicz <misiek*pld.org.pl>
28e73e95
   * included "Debian GNU/Linux Mail Server v. 0.1.0" by Dennis Leeuw
ee039e40
     <leeuw*stone-it.com> to the documentation
28e73e95
   * removed CFLAGS from freshclam's Makefile.am
   V 0.14
 
 Mon May 27 03:10:20 CEST 2002
 -----------------------------
   * removed my favorites setreuid/gid (BSD) due to POSIX compliance,
     setuid/gid are used instead
   * updated documentation
   V 0.14-pre
 
 Sat May 25 18:13:58 CEST 2002
 -----------------------------
   * fixed crash during extracting when clamscan is started as non-root user
ee039e40
     (thanks to Andoni Zubimendi <andoni*lpsat.net>), this was included
28e73e95
     in 0.13
   * --max-files, --max-space
 
 Fri May 24 19:59:09 CEST 2002
 -----------------------------
   * improved automake-support - patch from
ee039e40
     Arkadiusz Miskiewicz <misiek*pld.org.pl>
   * support for Mac OS X (thanks to Masaki Ogawa <proc*mac.com>)
28e73e95
   * updated database
   * updated documentation
 
 Sun May 19 18:05:05 CEST 2002
 -----------------------------
   * updated documentation
   V 0.12
 
 Sun May 19 01:39:21 CEST 2002
 -----------------------------
ee039e40
   * Solaris 2.6 support (thanks to Thomas W. Holt Jr. <twh*cohesive.net>)
   * added threads autodetection code from Magnus Ekdahl <magnus*debian.org>
28e73e95
   * fixed probably-not-possible race condition with directory creating
     in clamscan (not a security problem) (thanks to Magnus Ekdahl)
   * removed this nasty N(x) macro (thanks to Martijn van Oosterhout
ee039e40
     <kleptog*svana.org>, who forced ;) me to do this)
28e73e95
 
 Sat May 18 01:20:29 CEST 2002
 -----------------------------
ee039e40
   * applied patch from Thomas Quinot <thomas*cuivre.fr.eu.org>
28e73e95
     WARNING: share/clamav is a new database directory
   * changed detection of lha extension -> lzh
   * fixed buffer overflow in option parser (not a security problem)
ee039e40
     (thanks to Dave Jones <dave*kalkbay.co.za>, who found it first)
28e73e95
   * updated documentation/Supported platforms, Credits
 
 Fri May 10 14:25:32 CEST 2002
 -----------------------------
   * added clam.eps to docs (I forgot about it)
 
 Thu May  9 21:52:54 CEST 2002
 -----------------------------
   * fixed problem with inaccessible directories in archives, which caused
ee039e40
     clamscan hangs (Thanks to Troy Wollenslegel <troy*intranet.org>)
28e73e95
   * fixed unwanted path completing when using compression and absolute
     pathname as argument
   * added support for lha
   * documentation updated
 
   V changed version to 0.11
 
 Wed May  8 01:03:26 CEST 2002
 -----------------------------
   * documentation, freshclam manual
   * last corrections
 
   V changed version to 0.10 - first public release
 
 Tue May  7 02:03:50 CEST 2002
 -----------------------------
   * fixed endian problems in freshclam
   * fixed mprintf() logging feature
   * small fix for Solaris
   * cleanups, documentation
   * first version of TODO is empty ;))
 
   V changed version to 0.06 (just for me, for backup purposes)
 
 Sun May  5 23:31:27 CEST 2002
 -----------------------------
   * freshclam
 
 Sat May  4 23:28:36 CEST 2002
 -----------------------------
   * some changes, cleanups
   * added stream mode
   * documentation
   * created initial files for freshclam
 
 Sat May  4 01:13:54 CEST 2002
 -----------------------------
   * uhhh, documentation
   * gentemp()
   * /dev/urandom detection
   * others
   V changed version to 0.05 (just for me, for backup purposes)
 
 Fri May  3 01:16:04 CEST 2002
 -----------------------------
   * finished with unpackers
 
 Thu May  2 01:08:46 CEST 2002
 -----------------------------
   * removed thread extracting, added standard fork()-setuid() model
 
 Wed May  1 00:32:38 CEST 2002
 -----------------------------
   * secure extracting with thread, rmdirs()
 
 Mon Apr 29 19:52:11 CEST 2002
 -----------------------------
   * added 'struct optstruct' to some functions' arguments
 
 Wed Apr 24 06:18:07 CEST 2002
 -----------------------------
   * fixed redetection of viruses in whole-file mode
   * sigtab is released
 
 Tue Apr 23 00:44:03 CEST 2002
 -----------------------------
   * added FunLove.4099, Lion worm, x.c worm, Adore worm,  patterns to database
 
 Mon Apr 22 01:37:12 CEST 2002
 -----------------------------
   * logger disabled by default (it's activated with -l)
   * "--stdout" option
   * support for AMaViS (version perl-11), patch in support/amavis
   * updated manual
   V changed version to 0.04
 
 Sun Apr 21 00:11:42 CEST 2002
 -----------------------------
   * added "one-virus" option
   * return codes
   * updated manual
 
 Fri Apr 19 23:43:11 CEST 2002
 -----------------------------
   * small changes in manual
   * removed memmem.c (and removed support for memmem due to new algorithm)
 
 Thu Apr 18 23:18:21 CEST 2002
 -----------------------------
   * huge optimisation
 
 Wed Apr 17 01:49:42 CEST 2002
 -----------------------------
   * added support for FreeBSD
   * seperated thread code, POSIX threads are not required now,
     if there are problems (detected pthread.h, but problems with linker)
     threads code may be disabled with --disable-pthreads
   * improved error handling in database parser
   * updated manual
   * added log mechanism
   V changed version to 0.03
 
 Mon Apr 15 21:17:23 CEST 2002
 -----------------------------
   * added support for Solaris and Cygwin (just one line)
   * fixed threads behavior
 
 Mon Apr 15 00:49:31 CEST 2002
 -----------------------------
   * multi-threading
   * improved autoconf support
   * initial version of manual page
   V changed version to 0.02
 
 Fri Apr 12 21:43:28 CEST 2002
 -----------------------------
   * implemented recursive treewalk()
   * summary
 
 Fri Apr 12 01:13:27 CEST 2002
 -----------------------------
   * added scanmanager()
   * cleanups && many others
 
 Thu Apr 11 00:15:27 CEST 2002
 -----------------------------
   * some improvements
 
 Wed Apr 10 01:28:50 CEST 2002
 -----------------------------
   * added scanfile()
   * general cleanups
   * first version of working scanner
   V changed version to 0.01
 
 Tue Apr  9 02:59:43 CEST 2002
 -----------------------------
   * added autoconf support
   * added new files, borrowed from moXar
 
 Mon Apr  8 01:08:47 CEST 2002
 -----------------------------
   * some rewrites in pattern matcher
   * signatures are parsed and loaded to memory into linked list
 
 Sat Apr  6 22:19:36 CEST 2002
 -----------------------------
   * implemented hexadecimal strings conversion function
   * impl. pattern matcher