summaryrefslogtreecommitdiff
path: root/mail/clamav/distinfo
AgeCommit message (Collapse)AuthorFilesLines
2006-04-07update clamav to 0.88.1.grant1-4/+4
changes since 0.88: * Bugfixes: - libclamav/matcher.c: properly handle partial reads in cli_scandesc() - libclamav/mbox.c: sync with CVS, fixes detection of Worm.Bagle.CT - freshclam: fix support for LocalIPAddress Patch by Anton Yuzhaninov <citrin*citrin.ru> - docs/man: multiple manpage typo fixes Patch by A. Costa <agcosta*gis.net>) - shared/output.c: properly handle return value of vsnprintf Thanks to Anton Yuzhaninov <citrin*rambler-co.ru> - libclamav/htmlnorm.c: fix typo spotted by Gianluigi Tiesi <sherpya*netfarm.it> - sigtool/sigtool.c: fix possible crash in build(), thanks to Sven - clamd/session.c: remove static timeout (5s) for SESSION Pointed out by Joseph Benden <joe*thrallingpenguin.com> - libclamav/pe.c: fix possible integer overflow reported by Damian Put Note: only exploitable if file size limit (ArchiveMaxFileSize) disabled - libclamav/scanners.c: properly report archive unpacking errors Problem spotted by David F. Skoll <dfs*roaringpenguin.com> - libclamav/others.c: fix possible crash in cli_bitset_test() Reported by David Luyer <david_luyer*pacific.net.au> - libclamav/zziplib: fix possible crash on FreeBSD Reported by Robert Rebbun <robert*desertsurf.com> - clamav-milter: fall back if sendfile() fails
2006-01-10Update to 0.88:xtraeme1-4/+4
A possible heap overflow in the UPX code has been fixed. General improvements include better zip and mail processing, and support for a self-protection mode. The security of the UPX, FSG and Petite modules has been improved, too.
2005-11-04update clamav to 0.87.1.grant1-5/+5
changes since 0.87: * Bugfixes: - libclamav/petite.c: fix boundary checks (acab) - libclamav/mbox.c: scan attachments that have no filename (njh) - libclamav/fsg.c: fix buffer size calculation in unfsg_133 Reported by Zero Day Initiative (ZDI-CAN-004) - libclamav/tnef.c: fix possible infinite loop Reported by iDEFENSE (IDEF1169). - libclamav/mspack/cabd.c: fix possible infinite loop in cabd_find (tk) Reported by iDEFENSE (IDEF1180). - clamd/others.c: fix compilation error on Cobalt Qube 1 (tk) - clamd: properly handle ReadTimeout in SESSION (tk) Bug reported by Kamil Kaczkowski <kamil*kamil.eisp.pl> - libclamav/others.c,h: Add generic bitset implementation (trog) - libclamav/ole2_extract.c: Make sure the property tree doesn't loop (trog) Fixes CAN-2005-3239. Installations with default settings were not affected by this bug.
2005-10-13Added a chunk to patch-ah that fixes one of the ubiquitousrillig1-2/+2
declaration-after-code occurences. Fixes PR #31576.
2005-09-27Update to 0.87, closes PR pkg/31339.xtraeme1-4/+4
This version fixes vulnerabilities in handling of UPX and FSG compressed executables. Support for PE files, Zip and Cabinet archives has been improved and other small bugfixes have been made. The new option "--on-outdated-execute" allows freshclam to run a command when system reports a new engine version.
2005-07-26update clamav to 0.86.2.grant1-4/+4
changes since 0.86.1: V 0.86.2 * Fixes backported from CVS: - configure.in: disable support for URLs downloading with libcurl (--with-libcurl) by default (tk) - libclamav/others.c: cli_rmdirs: fix possible infinite loop (tk) Patch by Mark Pizzolato <clamav-devel*subscriptions.pizzolato.net> - libclamav/mspack: Some cab archives were not properly decompressed (tk) Problem reported by Diego d'Ambra <diego*clamav.net> - libclamav/pe.c: cli_peheader: Sync entry point calculation with cli_scanpe (tk) Problem reported by Christoph Cordes <ccordes*clamav.net> - configure.in: fix compilation error when curl is installed in a non-standard location (tk) Reported by Serge van den Boom <svdb*stack.nl> - configure.in: Add support for DragonFly (tk) Thanks to Joerg Sonnenberger <joerg*britannica.bec.de> - clamscan/clamscan.c: Verify arguments passed to --max-dir-recursion and --max-ratio (tk) Problem reported by Jo Mills <Jonathan.Mills*frequentis.com> - libclamav/fsg.c: Fix possible integer overflow (acab) Reported by Alex Wheeler. - libclamav/mbox.c: Fix name clash with glibc library (njh) Reported by Brian Bruns <bruns at 2mbit.com> - libclamav/others.c: Check for 0 byte allocations in cli_(m|c|re)alloc (tk) - libclamav/chmunpack.c: Fix possible malloc overflow (trog) Reported by Alex Wheeler. - libclamav/tnef.c: Fix possible crash if the length field is 0 or negative in headers (njh) Reported by Alex Wheeler (alexbling at gmail.com) - clamav-milter: Honour LogClean. Only syslog once when storing email in quarantine (reported by Panagiotis Christias, christias at gmail.com). Log database reloads to the LogFile (njh) - clamav-milter: Changed the default child_timeout to 5 minutes. Keep a copy of the trie root in privdata. Removed trylock/unlock code in clamfi_abort (njh)
2005-07-01add DragonFly support.grant1-1/+2
from Joerg Sonnenberger.
2005-06-24update clamav to 0.86.1.grant1-4/+4
changes since 0.85.1: Thu Jun 23 23:13:41 CEST 2005 ----------------------------- V 0.86.1 - libclamav/mspack/qtmd.c: fix possible crash (tk) Reported by Andrew Toller <atoller*connectfree.co.uk> and Stefan Kanthak <stefan.kanthak*fujitsu-siemens.com> Sun Jun 19 21:37:07 CEST 2005 ----------------------------- V 0.86 - libclamav/mspack/cabd.c: fix possible infinite loop (tk) - libclamav/cvd.c: fix potential directory traversal in cvd unpacker (a low risk problem since all databases are digitally signed). Pointed out by Florian Weimer <fw*deneb.enyo.de> (tk) - libclamav/zziplib/zzip-file.c: add method id for AES encrypted archives (thanks to David Majorel <dm*lagoon.nc>) (tk) - clamscan/manager.c: better message on zip/rar unpacking error (tk) - libclamav/mbox.c: Fix mishandling of fast track uuencoded files (njh) - clamav-milter: Better error message if the white-list file can't be opened (njh) - clamav-milter: When loading a new database when not in external mode, keep scanning with the old one rather than hold up incoming mails while waiting for clamav-milter to become idle then reloading the database (njh) - libclamav/others.c: print warnings and errors in single call to write (thanks to Denis Vlasenko <vda*ilport.com.ua>) (tk) - clamscan/others.c: enable REG_EXTENDED in match_regex (tk) - libclamav/scanners.c: fix file descriptor leaks if cli_msexpand() returns an error in cli_scanszdd, patch by Mark Pizzolato (tk) - libclamav/scanners.c: fix file descriptor leak in error path (out of mem) in cli_scangzip(), patch by Mark Pizzolato (tk) - clamd/scanner.c: fix error path for a read timeout which logged messages indicating that both a timeout and a poll error occurred (patch by Mark Pizzolato <clamav-devel*subscriptions.pizzolato.net>) (tk) - libclamav: Extract TNEF files even when the filename isn't known, problem reported by John Miller (contact*glideslopesoftware.co.uk) (njh)
2005-05-23Update to 0.85.1.xtraeme1-4/+4
A problem where an email with more than one content-disposition type line, one or more of which was empty, could crash libclamav has been fixed. Other minor bugfixes have been made.
2005-05-18Update to 0.85, changes:xtraeme1-4/+4
- freshclam/manager.c: fix socket descriptor leak in --no-dns mode (patch by GertJan Spoelman <cav*gjs.cc>) (tk) - clamscan, freshclam: return with 62 (instead of 1) when logger can't be initialized (tk) - libclamav/matcher-ac.c, libclamav/matcher-bm.c: fix detection problem with *.ndb OLE2 signatures (problem reported by Trog) (tk) - fix signature offset calculation in large files (problem reported by Christoph) (tk) - clamav-milter: print segfault diagnostic, even if print_trace is not available (njh) - sigtool/sigtool.c: fix support for *.fp databases (tk) - clamav-milter: Better handling of log file errors. Always send 451 when loading a new database when --external is not set (njh) - libclamav/tnef.c: If a parse fails and debugging is on, the file being scanned is dumped to a temporary file (njh) - libclamav/scanners.c: do not report I/O error with encrypted zips (tk)
2005-05-05Update to 0.84, this closes PR pkg/30130.xtraeme1-5/+5
Changes: -) libclamav: + JPEG exploit detector now also checks embedded Photoshop thumbnail images + archive meta-data scanner (improves malware detection within encrypted archives) + support for TNEF (winmail.dat) decoding + support for all tar archive formats + MD5 implementation replaced with a slightly faster one + improved database reloading with reference counter + database updateable false positive eliminator + speed improvements + various bugfixes -) clamd: + VirusEvent now sets CLAM_VIRUSEVENT_FILENAME and CLAM_VIRUSEVENT_VIRUSNAME environment variables -) clamav-milter: + improved database update detection when not --external -) clamscan: + new options --include-dir and exclude-dir + new option --max-dir-recursion -) freshclam: + new directive LocalIPAddress
2005-02-24Add RMD160 digests.agc1-1/+2
2005-02-14update to 0.83.grant1-5/+5
changes since 0.82 (summarized): * clamd: change default value of StreamMaxPort to 2048 * freshclam: add support for Foreground (requested by Jeremy Kitchen <kitchen*scriptkitchen.com>) * clamav-milter: Added --whistlist-file and --sendmail-cf options When in SESSION mode, not all sessions would send END other changes are documentation and misc. bug fixes.
2005-02-13update clamav to 0.82. closes PR pkg/29139, PR pkg/29319.grant1-6/+5
changes since 0.80 (summarized to include only the significant changes. other changes are documentation updates and misc. bug fixes. see the full ChangeLog for details). Sat Feb 5 16:48:46 CET 2005 (tk) --------------------------------- * libclamav: activate RIFF code (patch by Trog) Sat Feb 5 16:17:41 CET 2005 (tk) --------------------------------- * libclamav/scanners.c: do not report Suspected.Zip on standard breaking zip archives created by ICEOWS (problem reported by Hamacker <sirhamacker*vidy.com.br> and Dirk Mueller <mueller*kde.org>) Sat Feb 5 09:39:48 GMT 2005 (trog) ----------------------------------- * libclamav/special.c: support for big-endian system in RIFF code. Fri Feb 4 10:02:08 GMT 2005 (trog) ----------------------------------- * libclamav/special.c: check RIFF files for MS05-002. Not yet activated. Thu Feb 3 21:09:34 GMT 2005 (njh) ---------------------------------- * libclamav/mbox.c: Speed improvements in the handling of bounce messages Wed Feb 2 08:32:46 GMT 2005 (njh) ---------------------------------- * clamav-milter: Call watchdog when neither SESSION nor --external is given Tue Feb 1 14:47:21 GMT 2005 (njh) ---------------------------------- * libclamav/blob.c: Sanitise tab characters in filenames ("Heinz Martin" <Martin*hemag.ch>) Decode encapsulated messages that have for some reason been base64 encoded (even though they're already 7 bit) Tue Feb 1 08:54:46 GMT 2005 (njh) ---------------------------------- * clamav-milter: Delete X-Virus-Status in clamfi_eom not in clamfi_header. Patch by Jef Poskanzer <jef*acme.com> X-Virus-Status now says that virus that it's infected with. Suggestion by "Hank Beatty" <hbeatty*starband.net> Mon Jan 31 11:05:20 GMT 2005 (njh) ---------------------------------- * libclamav/mbox.c: Empty lines should the end of the headers, but some base64 decoders, e.g. uudeview, are broken and will handle this type of entry, decoding the base64 content that's after the text that's after the header Sun Jan 30 15:18:02 GMT 2005 (njh) ---------------------------------- * clamav-milter: SESSION is on now by default, to test clamd PACKADDR is now uses unsinged to remove warning on Sun's C compiler, patch by "Dugal James P." <jpd*louisiana.edu> Don't check compatibility with sendmail.cf if sendmail is running on a different machine Fri Jan 28 08:51:08 GMT 2005 (njh) ---------------------------------- * clamav-milter: Some error messages still talked about --internal Scanmail not set warning is now only given if DisableDefaultScanOptions is set Thu Jan 27 14:11:13 GMT 2005 (njh) ---------------------------------- * libclamav/mbox.c: Scan sendmail queue df* files Thu Jan 27 10:55:35 GMT 2005 (njh) ---------------------------------- * clamav-milter: Don't scan emails intended for the --quarantine address, that stops scanning of emails generated with viruses if --outgoing has been set Downgraded scanmail not defined if --external isn't given from error to warning Added -i flag when calling sendmail, suggested by Michal Jaegermann <michal*harddata.com> Thu Jan 27 01:35:35 CET 2005 (tk) --------------------------------- * freshclam/manager.c: add support for HTTP/1.0 ansers in IMS (--no-dns) mode (patch by Sven Strickroth <sstrickroth*gym-oha.de>) Wed Jan 26 19:27:57 CET 2005 (tk) --------------------------------- V 0.81 Tue Jan 25 08:12:51 GMT 2005 (njh) ---------------------------------- * clamav-milter: Internal mode is now the default. Removed --internal option, added --external. Don't use clamd's SESSION mode, since that causes problems with clamd/freshclam when freshclam is run. SESSION mode can be enabled from the source code. Most people can use SESSION mode safely, but it has caused problems on BSD Mon Jan 24 13:56:19 GMT 2005 (njh) ---------------------------------- * libclamav/message.c: Some Exploit.IE.CrashSOS were not being caught, found by Carsten.Borchardt*drs-systemberatung.de Sat Jan 22 13:45:42 GMT 2005 (njh) ---------------------------------- * clamav-milter: If forwarding to a quarantine user fails log as LOG_ERR not LOG_DEBUG Try to santity check that the input socket name is the same as the same given to sendmail Redirect stdout and stderr to LogFile, if that is set --quarantine didn't redirect to the given email address if --internal was used (reported by N Fung <nsfung*yahoo.com>) Sun Jan 16 06:28:59 CET 2005 (tk) --------------------------------- * libclamav/pe.c: attempt to detect W32.Parite.B using cryptanalysis (thanks to aCaB for info on detection) Fri Jan 14 16:12:21 GMT 2005 (trog) ----------------------------------- * libclamav/filetypes.c: add a few more HTML filetype markers Fri Jan 14 14:53:59 GMT 2005 (trog) ----------------------------------- * libclamav/htmlnorm.c: RFC2397 ("data" URL scheme) support. * libclamav/scanner.c: scan RFC2397 data. Wed Jan 12 08:58:29 GMT 2005 (njh) ---------------------------------- * clamav-milter: Fixed DNS resolution error messages which could print the incorrect hostname that is not being resolved. Patch from Yar Tikhiy <yar*comp.chem.msu.su> Tue Jan 11 02:27:24 CET 2005 (tk) --------------------------------- * libclamav/scanners.c: Fix possible crash when handling file information in corrupted zip archives (problem reported by Reinhard Max <max*suse.de>) Sun Jan 9 21:24:58 GMT 2005 (njh) ---------------------------------- * libclamav/mbox.c: Some HTML.Phishing.Bank-41 were getting through Sun Jan 9 11:38:39 GMT 2005 (njh) ---------------------------------- * libclamav/mbox.c: Add support for messages that break RFC2047 Sat Jan 8 02:53:20 CET 2005 (tk) --------------------------------- * libclamav/filetypes.c: Add support for mail files parsed by CMU Sieve (samples provided by Stefan Kaltenbrunner <stefan*kaltenbrunner.cc>) Wed Jan 5 21:09:14 GMT 2005 (njh) ---------------------------------- * libclamav/message.c: Fix crash caused when looking for non-existant uuencoded files. This happens when the stated encoding method is wrong so we have to try all methods and including those which will fail Mon Dec 27 05:01:54 CET 2004 (tk) --------------------------------- * freshclam/manager.c: use If-Modified-Since in --no-dns mode (based on code by Reini Urban <rurban*x-ray.at>) Mon Dec 27 01:09:20 CET 2004 (tk) --------------------------------- * libclamav/scanners.c: Add missing ArchiveBlockMax rule for recursion limit (reported by HR <haavard*zyf.no-ip.org>) Sun Dec 19 17:01:56 GMT 2004 (njh) ---------------------------------- * clamav-milter: Correctly warn that --max_childen must be given in SESSION mode if LocalSocket is used and MaxThreads isn't given in clamd.conf. max_children is needed to know how many sessions to initiate to clamd(s) Tue Dec 14 11:36:43 GMT 2004 (trog) ----------------------------------- * libclamav/vba_extract.c: - Add signature for MacOffice 2004 - Guess endianness of unknown versions of MS Office. Tue Dec 14 11:15:22 GMT 2004 (trog) ----------------------------------- * sigtool/options.c sigtool/sigtool.c: New options: --vba and --vba-hex * sigtool/vba.c sigtool/vba.h: New files. Code to extract VBA/Word6 macros Tue Dec 7 23:40:30 CET 2004 (tk) --------------------------------- * configure: added --disable-zlib-vcheck (allows building on potentially buggy zlib versions (1.2.0 & 1.2.1)) Tue Dec 7 19:25:06 GMT 2004 (njh) ---------------------------------- * clamav-milter: Ensure that the daily quarantine directory is created Tue Dec 7 02:48:08 CET 2004 (tk) --------------------------------- * clamd: added support for file descriptor passing (patch by Richard Lyons <frob-clamav*webcentral.com.au>) Mon Dec 6 22:33:26 GMT 2004 (njh) ---------------------------------- * clamav-milter: Ensure the date is kept in the quarantine path Wed Dec 1 22:29:33 GMT 2004 (njh) ---------------------------------- * clamav-milter: Added --internal flag (some functionality to do) SESSIONS: Don't hang when StreamMaxLength is hit Wed Dec 1 13:14:33 GMT 2004 (njh) ---------------------------------- * libclamav/mbox.c: Decode text/plain parts marked as being encoded, reported by Trog Mon Nov 29 00:23:55 CET 2004 (tk) --------------------------------- * clamdscan: add support for --move and --remove options Sun Nov 28 16:30:18 GMT 2004 (njh) ---------------------------------- * libclamav/message.c: Allow lower case hex in quoted-printable messages Sat Nov 27 14:40:55 GMT 2004 (njh) ---------------------------------- * libclamav/mbox.c: Honour section 7.2.6 of RFC1521 Sat Nov 27 13:18:42 GMT 2004 (njh) ---------------------------------- * libclamav: Assume x-uue is the same as x-uuencode If uudecoding fails and other possibilities have been registered, don't take the failure as fatal, also try the other decoding methods Thu Nov 25 18:38:06 CET 2004 (tk) --------------------------------- * clamd: new directives StreamMinPort and StreamMaxPort (allow port range specification for stream mode). Patch by Alexander Marx <mad-ml*madness.at>) Thu Nov 18 20:28:13 CET 2004 (tk) --------------------------------- * libclamav: add support for Mac's HQX file format (patch by Nigel) Thu Nov 18 11:03:14 CET 2004 (tk) --------------------------------- * libclamav: try to detect (and mark as Suspected.Zip) zip archives with modified information in local header Fri Nov 12 09:44:23 GMT 2004 (njh) ---------------------------------- * libclamav/mbox.c: Draft of RFC1341 support is now on by default. Fragments arriving out of order are not scanned (yet). If you use clamav-milter to load balance clamd across servers you will need to ensure that the partial directory is on a shared directory (e.g. NFS) Mon Nov 8 15:24:18 CET 2004 (tk) --------------------------------- * clamd: new directive ExitOnOOM (stop deamon when libclamav reports out of memory condition) Wed Nov 3 12:47:41 GMT 2004 (njh) ---------------------------------- * libclamav/clamav-milter: Save the original subject as X-Original-Subject when running in advisory or qurantine mode SESSION mode: warn when no clamd can be reached Wed Oct 27 13:36:14 BST 2004 (njh) ---------------------------------- * clamav-milter: Remove X-VIRUS-STATUS on incoming messages Plug remote possibility of file descriptor leak Return EX_OSERR if fork fails, not EX_TEMPFAIL If clamav-milter points to more than one server, ensure that the version information for that server is added to the header Update version information in the watchdog. There may therefore be a delay between the server updating and this being reflected in the headers
2004-10-30apply patch from Koji Mori in PR pkg/27337 to fix bad fprintf()grant1-1/+2
format string.
2004-10-30Add missing NetBSD RCSID and regen.xtraeme1-3/+3
2004-10-19fix typo in #define used for backward compatibility. ride the 0.80grant1-1/+2
update.
2004-10-19update clamav to 0.80.grant1-5/+5
many changes since 0.75.1, most notably, the latest virus databases need at least 0.80. see the ChangeLog for full details.
2004-08-01Update mail/clamav to 0.75.1. Changes from verison 0.75 include:jlam1-5/+5
- Convert to use bsd.options.mk. - The virus database has been moved to ${VARBASE}/clamav. * freshclam/clamd: fix crash on PPC when LogFile was enabled together with LogSyslog * configure: improve gethostbyname_r check; cleanups * clamav-milter: Use GETHOSTBYNAME_R_6 Better load balancing if max_children = 0 Fixed warning message when building on FreeBSD4.9 Closed (small) memory leak Fix crash when the 1st remote service goes down Only use gethostbyname_r on LINUX for now Improved load balancing a bit * clamdscan: fix stdin scanning in local mode * clamav-milter: %v in the template file handling is now replaced only with the virus name, no "stream:" appears * libclamav/mbox.c: Fix crash when debugging on SPARC * libclamav/message.c: Fix occasional crash when scanning multipart within multipart e-mails
2004-07-27Update to version 0.75. Only change is:simonb1-3/+3
This release fixes detection of e-mails generated by Worm.Mydoom.I.
2004-07-21Update mail/clamav to 0.74.xtraeme1-5/+5
Bugfixes in this version include crashes with multipart/mixed messages and corrupted OLE2 and Zip files. Improvements include various optimisations of mail scanning and clamav-milter and clamdscan behaviour.
2004-06-21Updated clamav to 0.73martti1-4/+4
* Bug fixes
2004-06-04Update mail/clamav to 0.72 and enable pkgviews installation.xtraeme1-5/+5
Changes: 0.72 ---- Major bugfixes in this release include crashes with corrupted BinHex messages and some Excel documents. Protection against archive bombs (not fully functional since 0.70) was improved and a number of other improvements were made. 0.71 ---- This release fixes all bugs found in 0.70 and introduces a few new features - the noteworthy changes include: -) libclamav: + support nested OLE2 files + support Word6 macro code + ignore popular file types (media, graphics) + support compress.exe (SZDD) compression (test/test.msc) + improve virus detection in e-mails -) clamscan: + automatically decide (by comparing daily.cvd version numbers) which database directory (hardcoded or clamav.conf's one) to use + support compression ratio feature (--max-ratio) + allow regular expressions in --[in|ex]clude + do not overwrite old files in a quarantine directory but add a numerical extension to new files + respect --tempdir in libclamav + fix access problem when calling external unpackers in a superuser mode + fix file permission corruption with --deb in a superuser mode -) clamd + support log facility specification in syslog's style (LogFacility) + new directive LeaveTemporaryFiles (Debug no longer leaves temporary files not removed) -) clamav-milter: + include the virus name in the 550 rejection + support user defined template for virus notifications (--template-file) + sort quarantine messages by date + improve thread management + add X-Virus-Scanned and X-Infected-Received-From: headers + improve load balancing (when using remote servers with --server) + send 554 after DATA received, not 550 + save PID (--pidfile) -) documentation: + German clamdoc.pdf translation (Rupert Roesler-Schmidt and Karina Schwarz, uplink coherent solutions, http://www.uplink.at) + new Japanese documentation (Masaki Ogawa)
2004-04-25update to 0.70recht1-8/+6
0.70 ---- The two major changes in this version are new thread manager in clamd and support for decoding MS Office VBA macros. Both of them have been implemented by Trog. Besides, there are many improvements and bugfixes (all listed in ChangeLog), a short summary: -) clamd + new thread manager (with better SMP support) + on-access scanning now also available on FreeBSD (with Dazuko 2.0) + new directive ArchiveBlockEncrypted + new directive ReadTimeout (replaces ThreadTimeout) + handle SIGHUP (re-open logfile) and SIGUSR2 (reload database) + respect TCPAddr in stream scanner -) clamav-milter: + TCPWrappers support -) libclamav: + support MS Office documents (OLE2) and VBA macro decoding + support encrypted archive detection + new flags: CL_OLE2, CL_ENCRYPTED (see clamdoc.pdf, Section 6.1) + improve virus detection in big files + improve support for multipart, bounce and embedded RFC822 messages + improve RAR support + include backup snprintf implementation -) clamscan: + new option: --block-encrypted -) freshclam + new option: --pid, -p (write pid file if run as daemon) + handle SIGHUP (re-open logfile), SIGTERM (terminate with log message), SIGALRM and SIGUSR1 (wake up and check mirror) + fix bug with -u and -c handling -) contrib + windows clamd client now available with source code -) documentation: + new Polish documentation on ClamAV and Samba integration + official documentation updated
2004-04-16Fix strerror_r compile problem. PKGREVISION untouched since it didn't eventv1-1/+2
compile on platforms afflicted by this (and Solaris, where it compiled fine, already used the code path to which it was changed).
2004-04-14Update to 0.68-1, and reenable the milter (OK'd by recht). Changes:tv1-4/+4
0.68-1 ------ Fixed RAR support. 0.68 ---- This version fixes a crash with some RAR archives generated by the Bagle worm, also a few important fixes have been backported from CVS. We strongly encourage users to install the 0.70-rc version (released today). 0.67 ---- This release fixes a memory management problem (platform dependent; can lead to a DoS attack) with messages that only have attachments (reported by Oliver Brandmueller). It also contains patches for a few problems found in 0.66 and has better Cygwin support.
2004-02-29Fread(2)ing /dev/urandom is bad due to libc buffering.toshii1-1/+2
Use read(2) instead.
2004-02-11update to 0.66recht1-7/+6
This version is a response to the "clamav 0.65 remote DOS exploit" information published on popular security-related mailing lists. Other changes include: (see the README for a full list) -) clamd: + fixed database timestamp handling (and a double reload problem reported by Alex Pleiner and Ole Stanstrup) + new directive: ArchiveMaxCompressionRatio + new command: SESSION (starts a clamd session and allows to do multiple commands per TCP session) + new directives: TemporaryDirectory, LogClean (Andrey V. Malyshev) -) freshclam: + support for freshclam.conf (that may be optionally merged with clamav.conf, command line options overwrite config settings) + work-around for potential database downgrade (subtle problem in r-r dns handling) - reported by Daniel Mario Vega and patched by Luca Gibelli Fix build by rather patch "configure" directly instead of configure.in (autoconf failed). Tested on NetBSD-current and Linux (some kind of Debian).
2004-02-02Add clamd rc start script.recht1-2/+2
Somewhat based upon PR 24294 by Eric Schnoebelen. While at it also fix configure to always install the example config file to "examples". Bump PKGREVISION to 1.
2004-01-29Update to 0.65. clamav-milter is still disabled while the maintainer iscube1-4/+6
working on the issue. Changes: -) clamd: + fixed a race condition in database reloading code (random crashes under high load) + fixed a race condition with the improperly initialized session start time (thanks to Michael Dankov) + fixed PidFile permissions (Magnus Ekdahl, bug reported by Tomasz Papszun) + fixed LogFile permissions (Magnus Ekdahl) + new directive ScanRAR (bacause RAR support is now disabled by default) + new directive VirusEvent + new directive FixStaleSocket (Thomas Lamy and Mark Mielke) + new directive TCPAddr (Bernard Quatermass, fixed by Damien Curtain) + new directive Debug -) clamav-milter: (Nigel Horne <njh*clamav.net>) + new --force-scan flag + new -P and -q flags by Nicholas M. Kirsch WARNING: clamav-milter and our mail scanner are still in high development and may be unstable. You should always use the CVS version. -) libclamav: + support for a new database container format (CVD) - compressed and digitally signed + better protection against malformed zip archives (such as Mimail) + mail decoder fixes (thanks to Rene Bellora, Bernd Kuhls, Thomas Lamy, Tomasz Papszun) (Nigel Horne) + memory leak fixes (Thomas Lamy) + new scan option CL_DISABLERAR (disables built-in RAR unpacker) -) freshclam: + fixed --on-error-execute behaviour (David Woakes) + new option --user (-u) USER - run as USER instead of the default user. Patch by Damien Curtain. + rewritten to use database.clamav.net and CVD -) documentation: + new Spanish documentation on ClamAV and Sendmail integration by Erick Ivaan Lopez Carreon + included clamdoc.pdf Turkish translation by yavuz kaya and Ýbrahim erken + included clamav-mirror-howto.pdf by Luca Gibelli + included clamd+daemontools HOWTO by Jesse D. Guardiani + included signatures.pdf + man pages: updated + clamdoc.pdf: rewritten
2003-09-28Update clamav so that milter support is optional.chris1-2/+2
However currently milter support is disabled, as it requires strerror_r to be available, which it isn't on -current. Note this required the fixing of the milter tests in the configure.in file. It seemed if you used --disable-milter and the .h file was in the include path, eg on -current it's in /usr/include/libmilter it was found and used. We now have a want_milter for the --enable/disable-milter, which will trigger the tests to setup have_milter. Once I've sorted out the strerror_r problem in -current I'll enable the milter support (or if someone tells me it works with pth) Bump PKGREVISION.
2003-09-20Update clamav to 0.60. Note the new home is sourceforge.chris1-5/+5
Also fix pkg/22714, clamav not building, this was due to it rerunning configure due to dependancy updates, which built a new libtool, replacing the one we had given it from pkgsrc. The fix is to run autoconf and automake on the patches, I would have done diff's post autoconf/automake, but the diffs are much bigger. Known issue, if you run fetchclam to update the databases you'll find that pkg_install won't remove the db files as the MD5 checksum has changed, I may move the db files into etc/clamav and copy them in, then fetchclam can update as needed. However I thought that given the current spate of viruses hitting people they maybe wanting the latest version.
2003-06-07Avoid hardcoding /usr/pkg in patch files (CFLAGS and LDFLAGS contain thejmmv1-2/+3
right flags, so there is no need to add -I and -L flags by hand). Honour PKG_SYSCONFDIR. Bump PKGREVISION to 2.
2003-03-26Initial import of clamav-0.54 into the NetBSD Packages Collection.agc1-0/+5
Provided in PR 20662 by David Ferlier, modified to use pkgsrc libtool and to add users by myself. Clam AntiVirus is an anti-virus toolkit written from scratch. It is licensed under GNU GPL2 and uses the virus database from OpenAntiVirus, which is an another free anti-virus project. In contrast to OpenAntiVirus (which is written in Java), Clam AntiVirus is written entirely in C and its database is KEPT UP TO DATE. It also detects polymorphic viruses as well.